summaryrefslogtreecommitdiff
path: root/phrasinator
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-03-03 17:16:58 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-03-03 17:16:58 -0500
commit2579dd24d3833823527e688196276c2fab381b37 (patch)
treedf25825f29db546549fc469f912cef5a7e32c08f /phrasinator
parente0507d1aa96c6b1348e6a202beb95f63d8662258 (diff)
pyp lm, fixed hyperparameters inference
Diffstat (limited to 'phrasinator')
-rw-r--r--phrasinator/gibbs_train_plm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/phrasinator/gibbs_train_plm.cc b/phrasinator/gibbs_train_plm.cc
index 66b46011..54861dcb 100644
--- a/phrasinator/gibbs_train_plm.cc
+++ b/phrasinator/gibbs_train_plm.cc
@@ -252,7 +252,7 @@ struct UniphraseLM {
void ResampleHyperparameters(MT19937* rng) {
phrases_.resample_hyperparameters(rng);
gen_.resample_hyperparameters(rng);
- cerr << " d=" << phrases_.discount() << ",c=" << phrases_.concentration();
+ cerr << " d=" << phrases_.discount() << ",a=" << phrases_.alpha();
}
CCRP<vector<int> > phrases_;