Coder Social home page Coder Social logo

hlda-cpp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hlda-cpp's Issues

Where can i find the hierarchies of the topic?

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?

settings file

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.