From 8f12613b5430c8e02e23f7ac89ab9d3c0869d9b1 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Tue, 30 May 2017 14:20:22 +0200 Subject: [PATCH] update presentation --- Handler/Presentation.hs | 11 +++++- templates/presentation-datech-2017.hamlet | 46 ++++++++++++++++------- 2 files changed, 42 insertions(+), 15 deletions(-) diff --git a/Handler/Presentation.hs b/Handler/Presentation.hs index d9ba400..f406593 100644 --- a/Handler/Presentation.hs +++ b/Handler/Presentation.hs @@ -16,6 +16,12 @@ sampleChallengeName = "petite-difference-challenge" sampleChallengeName' :: Text sampleChallengeName' = "retroc" +retrocChallengeName :: Text +retrocChallengeName = "retroc" + +retroc2ChallengeName :: Text +retroc2ChallengeName = "retroc2" + sampleUserIdent :: Text sampleUserIdent = "ptlen@ceti.pl" @@ -37,8 +43,9 @@ getPresentation4RealR = do presentationLayout $(widgetFile "presentation-4real") getPresentationDATeCH2017R = do - readme <- challengeReadme sampleChallengeName' - sampleLeaderboard <- getSampleLeaderboard sampleChallengeName' + readme <- challengeReadme retrocChallengeName + retrocLeaderboard <- getSampleLeaderboard retrocChallengeName + retroc2Leaderboard <- getSampleLeaderboard retroc2ChallengeName presentationLayout $(widgetFile "presentation-datech-2017") diff --git a/templates/presentation-datech-2017.hamlet b/templates/presentation-datech-2017.hamlet index 021323d..265ead8 100644 --- a/templates/presentation-datech-2017.hamlet +++ b/templates/presentation-datech-2017.hamlet @@ -72,25 +72,45 @@
- train - dev-0 - dev-1 - test + train + dev-0 + dev-1 + test
RetroC - 40K - 9.9K - - - 10K + 40K + 9.9K + - + 10K
RetroC2 - 107.4K - 20K - 11.5K - 14.2K + 107.4K + 20K + 11.5K + 14.2K + +

RetroC2 train set contains more information (source is given for each entry), but this is not present in the test set.

Current status…
- ^{sampleLeaderboard} + ^{retrocLeaderboard} + +
+

The best solution so far… + +
    +
  • based on Vowpal Wabbit +
  • features: +
      +
    • character 1-, 2-, 3- and 4-grams +
    • tokens cut at 7th letter +
    • small NN (6 units) +
    • weights inversely proportional to (the root of) year frequency in the train set + +
      +

      Current status… + +
      + ^{retroc2Leaderboard}