alyoshark / hlda-cpp

A fork from https://code.google.com/p/hlda-cpp/
Apache License 2.0
15 stars 11 forks source link

Where can i find the hierarchies of the topic? #1

Open yangzhou04 opened 10 years ago

yangzhou04 commented 10 years ago

I compiled and run hlda-cpp with a command "./hlda jacm.dat settings.txt" my settings.txt is: DEPTH 8 ETA 5e-4 5e-4 5e-4 5e-4 5e-4 5e-4 5e-4 5e-4 GAM 1.0 1.0 1.0 1.0 1.0 1.0 1.0 // not used in hlda-cpp, but i still put it there GEM_MEAN 0.5 GEM_SCALE 100 SCALING_SHAPE 1.0 SCALING_SCALE 0.5 SAMPLE_ETA 1 SAMPLE_GEM 1

The output of the program displayed the information like this: Random seed = 1394288024 Number of documents in corpus: 3 Number of distinct words in corpus: 1809 Number of words in corpus: 347 Gem_score: -374.284 Eta_score: -9276.18 Gamma_score: 0 Score: -9650.46 Gibbs score = -9650.46 Best initial state at iteration: 0 score -9650.46 Number of documents in corpus: 3 Number of distinct words in corpus: 1809 Number of words in corpus: 347 .....

However, none of them are about the hierarchies of the topic.
Where is the output containing the hierarchies of topics?

melifluos commented 10 years ago

try the mode file

alyoshark commented 10 years ago

Sorry man, I'm not maintaining it but just forked over for ease of browsing

gbosetti commented 8 years ago

What do you mean with "mode file". There is no parameter for that and there is no mode to be changed in the source. What am I missing? (I'm alsotrying to get any result)