summaryrefslogtreecommitdiff
path: root/training/dtrain/dtrain.cc
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-09-17 21:18:27 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-09-17 21:18:27 +0200
commit7dd2effc2bb8bf702aee31bf6c1a9f3499a1e59f (patch)
treea3eba38c93132143c743d62c5906d2132049be4d /training/dtrain/dtrain.cc
parentc171ea9c37bf170b91946e0f5d22e7fd0d2c5825 (diff)
separate inis for shards
Diffstat (limited to 'training/dtrain/dtrain.cc')
-rw-r--r--training/dtrain/dtrain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/dtrain/dtrain.cc b/training/dtrain/dtrain.cc
index 2d090666..4521e794 100644
--- a/training/dtrain/dtrain.cc
+++ b/training/dtrain/dtrain.cc
@@ -406,8 +406,8 @@ main(int argc, char** argv)
if (pclr) {
SparseVector<weight_t>::iterator it = sum_up.begin();
for (; it != lambdas.end(); ++it) {
- lambdas[it->first] += it->second * max(0.00000001, eta/(eta+learning_rates[it->first]));
learning_rates[it->first]++;
+ lambdas[it->first] += it->second / learning_rates[it->first]; //* max(0.00000001, eta/(eta+learning_rates[it->first]));
}
}