diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-04-29 17:19:18 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-04-29 17:19:18 +0200 |
commit | eecf255ed7aaabb9ce2decd80dd115240e468327 (patch) | |
tree | 034c9c6ed440d80abc93ed81b472114827c26631 /dtrain | |
parent | 3607e00fec971d2a58a638ade53870aac0d31208 (diff) |
reverted changes in upstream
Diffstat (limited to 'dtrain')
-rw-r--r-- | dtrain/dtrain.cc | 2 | ||||
-rw-r--r-- | dtrain/test/example/dtrain.ini | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dtrain/dtrain.cc b/dtrain/dtrain.cc index b662cd26..8b1fc953 100644 --- a/dtrain/dtrain.cc +++ b/dtrain/dtrain.cc @@ -518,7 +518,7 @@ main(int argc, char** argv) } unsigned nonz = 0; - if (!quiet || hstreaming) nonz = (unsigned)lambdas.size_nonzero(); + if (!quiet || hstreaming) nonz = (unsigned)lambdas.num_nonzero(); if (!quiet) { cerr << _p5 << _p << "WEIGHTS" << endl; diff --git a/dtrain/test/example/dtrain.ini b/dtrain/test/example/dtrain.ini index e43d6b34..f87ee9cf 100644 --- a/dtrain/test/example/dtrain.ini +++ b/dtrain/test/example/dtrain.ini @@ -5,7 +5,7 @@ decoder_config=test/example/cdec.ini # config for cdec # weights for these features will be printed on each iteration print_weights=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4 PhraseModel_5 PhraseModel_6 PassThrough tmp=/tmp -stop_after=20 # stop epoch after 20 inputs +stop_after=10 # stop epoch after 20 inputs # interesting stuff epochs=3 # run over input 3 times |