From b01d148e294212a8f9014be9e6a65a5fa8a01cef Mon Sep 17 00:00:00 2001 From: redpony Date: Fri, 2 Jul 2010 16:27:00 +0000 Subject: log llh with more precision git-svn-id: https://ws10smt.googlecode.com/svn/trunk@114 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/pyp-topics.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gi/pyp-topics') 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(); -- cgit v1.2.3