summaryrefslogtreecommitdiff
path: root/gi/clda
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 15:14:14 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 15:14:14 +0000
commit3b6381fd9859a710d0182fffb40ce312a56a3eee (patch)
treece3ac29ea92e57f1e237b586b0962dbc5cd21db9 /gi/clda
parent4da72b7fa566c09ced1394f0c7e7b2a39eda7689 (diff)
revert small change
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@110 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/clda')
-rw-r--r--gi/clda/src/clda.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/gi/clda/src/clda.cc b/gi/clda/src/clda.cc
index efe666e2..757a4691 100644
--- a/gi/clda/src/clda.cc
+++ b/gi/clda/src/clda.cc
@@ -6,8 +6,7 @@
#include "crp.h"
#include "sampler.h"
#include "tdict.h"
-const size_t MAX_DOC_LEN_CHARS = 1000000;
-#include <boost/math/distributions/beta.hpp>
+const size_t MAX_DOC_LEN_CHARS = 10000000;
using namespace std;
@@ -25,8 +24,6 @@ void ShowTopWordsForTopic(const map<WordID, int>& counts) {
}
int main(int argc, char** argv) {
- boost::math::beta_distribution<double> bd(2.0,5.0);
- cerr << pdf(bd, 0.2152132) << endl;
if (argc != 3) {
cerr << "Usage: " << argv[0] << " num-classes num-samples\n";
return 1;