summaryrefslogtreecommitdiff
path: root/gi/pf/pyp_word_model.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-03-09 23:13:09 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-03-09 23:13:09 -0500
commit5f9f400f4359bc14f7231d6eabd76b7ceee737aa (patch)
tree7e94ab9d1240183d713b0fbc58a99495ada5d5a7 /gi/pf/pyp_word_model.h
parente8f1e4e75dd8e27b81fd4e68116a38830547c2c4 (diff)
logging after alignment
Diffstat (limited to 'gi/pf/pyp_word_model.h')
-rw-r--r--gi/pf/pyp_word_model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pf/pyp_word_model.h b/gi/pf/pyp_word_model.h
index 800a4fd7..ff366865 100644
--- a/gi/pf/pyp_word_model.h
+++ b/gi/pf/pyp_word_model.h
@@ -12,7 +12,7 @@
// PYP(d,s,poisson-uniform) represented as a CRP
struct PYPWordModel {
- explicit PYPWordModel(const unsigned vocab_e_size, const double mean_len = 7.5) :
+ explicit PYPWordModel(const unsigned vocab_e_size, const double mean_len = 5) :
base(prob_t::One()), r(1,1,1,1,0.66,50.0), u0(-std::log(vocab_e_size)), mean_length(mean_len) {}
void ResampleHyperparameters(MT19937* rng);