diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-02 16:27:00 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-02 16:27:00 +0000 |
commit | edd233c2030e53cbfa4f6817be14d559db70f094 (patch) | |
tree | b7eb9eda09de33de2b7f8d342f5b7659587fbd83 /gi/pyp-topics | |
parent | e75ebb84de721b1d0a29c81ea8192aa787ea9284 (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/pyp-topics')
-rw-r--r-- | gi/pyp-topics/src/pyp-topics.cc | 1 |
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(); |