diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2013-09-17 21:18:42 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2013-09-17 21:18:42 +0200 |
commit | 0893b546617e39f818a001a061c6c6b9b57ae1a5 (patch) | |
tree | a41a00310611e7a4340df0ae332e2bf977f09aaf /training/dtrain/dtrain.cc | |
parent | 7dd2effc2bb8bf702aee31bf6c1a9f3499a1e59f (diff) | |
parent | d6265f937e60f53f228feda9934314de5d88f2d0 (diff) |
Merge branch 'master' of github.com:pks/cdec-dtrain
Diffstat (limited to 'training/dtrain/dtrain.cc')
-rw-r--r-- | training/dtrain/dtrain.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/training/dtrain/dtrain.cc b/training/dtrain/dtrain.cc index 4521e794..9d60a903 100644 --- a/training/dtrain/dtrain.cc +++ b/training/dtrain/dtrain.cc @@ -537,15 +537,6 @@ main(int argc, char** argv) Weights::WriteToFile(w_fn, dense_weights, true); } - WriteFile of("-"); - ostream& o = *of.stream(); - o << "<<<<<<<<<<<<<<<<<<<<<<<<\n"; - for (SparseVector<weight_t>::iterator it = learning_rates.begin(); it != learning_rates.end(); ++it) { - if (it->second == 0) continue; - o << FD::Convert(it->first) << '\t' << it->second << endl; - } - o << ">>>>>>>>>>>>>>>>>>>>>>>>>\n"; - } // outer loop if (average) w_average /= (weight_t)T; |