#include <Model.h>
Public Member Functions | |
virtual double | get_eval ()=0 |
Model's contribution of log-likelihood. | |
virtual bool | save ()=0 |
Serialize to disk. | |
virtual void | write_statistics (WordIndexDictionary &)=0 |
Explain: word mixtures for the latent topics. | |
Static Public Attributes | |
static const int | UNIGRAM = 1 |
A marker interface for the LDA graphical model and its extensions. A model should be able to compute its contribution to the log-likelihood, serialize to disk & also explain itself by writing the word mixtures that represent the latent topics to disk
virtual double Model::get_eval | ( | ) | [pure virtual] |
Model's contribution of log-likelihood.
Implemented in Unigram_Model.
virtual bool Model::save | ( | ) | [pure virtual] |
Serialize to disk.
Implemented in Unigram_Model.
virtual void Model::write_statistics | ( | WordIndexDictionary & | ) | [pure virtual] |
Explain: word mixtures for the latent topics.
Implemented in Unigram_Model.
const int Model::UNIGRAM = 1 [static] |