alyoshark / hlda-cpp Goto Github PK
View Code? Open in Web Editor NEWA fork from https://code.google.com/p/hlda-cpp/
License: Apache License 2.0
A fork from https://code.google.com/p/hlda-cpp/
License: Apache License 2.0
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?
Hi,
"settings_file: a settings file. An example settings file can be found in the testdata directory. "
-- I can't find the testdata directory, and when trying to run the code with a few default values of parameters, I'm getting an error:
"Random seed = 1454955927
Number of documents in corpus: 116184
Number of distinct words in corpus: 36066
Number of words in corpus: 4462029
gsl: gamma.c:1138: ERROR: domain error
Default GSL error handler invoked.
Aborted (core dumped)"
Could you maybe provide a sample settings file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.