Model Class Reference

#include <Model.h>

Inheritance diagram for Model:
Unigram_Model

List of all members.

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

Detailed Description

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


Member Function Documentation

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.


Member Data Documentation

const int Model::UNIGRAM = 1 [static]

The documentation for this class was generated from the following file:
Generated on Tue Jul 19 11:45:27 2011 for Y!LDA by  doxygen 1.6.3