diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-03 17:16:58 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-03 17:16:58 -0500 |
commit | 8f6006cabee490a956940765c30cdd720d2e9161 (patch) | |
tree | 432b2bbd9dfef28ccac8505732556dc8a95de4e3 /phrasinator | |
parent | b3c0b5e4a05019045e6a81209741b60e0f20b073 (diff) |
pyp lm, fixed hyperparameters inference
Diffstat (limited to 'phrasinator')
-rw-r--r-- | phrasinator/gibbs_train_plm.cc | 2 |
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_; |