summaryrefslogtreecommitdiff
path: root/gi/clda/src
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
commit6543cc83cc9276aa229346379b65ec11861541ff (patch)
treef6cdb78284f735578aa715bd557e1151f69c8e25 /gi/clda/src
parent4af669e58b6da1db14f2a7c56677ab8b0f3cb6b5 (diff)
revert small change
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@110 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/clda/src')
-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;