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
commit8f6006cabee490a956940765c30cdd720d2e9161 (patch)
tree432b2bbd9dfef28ccac8505732556dc8a95de4e3 /phrasinator
parentb3c0b5e4a05019045e6a81209741b60e0f20b073 (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_;