summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 16:27:00 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 16:27:00 +0000
commitb01d148e294212a8f9014be9e6a65a5fa8a01cef (patch)
tree5f178c0d210bfe27985c3b39e36363a1972e61cd /gi
parent26da1f79020673498fd8d134d358c8b71fcf21e2 (diff)
log llh with more precision
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@114 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi')
-rw-r--r--gi/pyp-topics/src/pyp-topics.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gi/pyp-topics/src/pyp-topics.cc b/gi/pyp-topics/src/pyp-topics.cc
index 6f4a9169..56d49928 100644
--- a/gi/pyp-topics/src/pyp-topics.cc
+++ b/gi/pyp-topics/src/pyp-topics.cc
@@ -167,6 +167,7 @@ void PYPTopics::sample(const Corpus& corpus, int samples) {
log_p += m_topic_pyp.log_restaurant_prob();
}
+ std::cerr.precision(10);
std::cerr << " ||| LLH=" << log_p << " ||| resampling time=" << timer.Elapsed() << " sec" << std::endl;
timer.Reset();