From ea3b87d6202e4db4cf9af2e7b580e9e2a51cba45 Mon Sep 17 00:00:00 2001
From: Franck Dary <franck.dary@lis-lab.fr>
Date: Mon, 4 May 2020 12:56:36 +0200
Subject: [PATCH] Increased default value for rarityThreshold

---
 trainer/src/MacaonTrain.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trainer/src/MacaonTrain.cpp b/trainer/src/MacaonTrain.cpp
index f9ded4f..2c9ef09 100644
--- a/trainer/src/MacaonTrain.cpp
+++ b/trainer/src/MacaonTrain.cpp
@@ -35,7 +35,7 @@ po::options_description MacaonTrain::getOptionsDescription()
       "Number of examples per batch")
     ("dynamicOracleInterval", po::value<int>()->default_value(-1),
       "Number of examples per batch")
-    ("rarityThreshold", po::value<float>()->default_value(20.0),
+    ("rarityThreshold", po::value<float>()->default_value(70.0),
       "During train, the X% rarest elements will be treated as unknown values")
     ("machine", po::value<std::string>()->default_value(""),
       "Reading machine file content")
-- 
GitLab