diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2013-09-17 21:18:27 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2013-09-17 21:18:27 +0200 |
commit | 7dd2effc2bb8bf702aee31bf6c1a9f3499a1e59f (patch) | |
tree | a3eba38c93132143c743d62c5906d2132049be4d /training/dtrain/dtrain.cc | |
parent | c171ea9c37bf170b91946e0f5d22e7fd0d2c5825 (diff) |
separate inis for shards
Diffstat (limited to 'training/dtrain/dtrain.cc')
-rw-r--r-- | training/dtrain/dtrain.cc | 2 |
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])); } } |