Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TwoStageDocModel Class Reference

Two stage smoothing : JM + DirichletPrior. More...

#include <SimpleKLDocModel.hpp>

Inheritance diagram for TwoStageDocModel:

SimpleKLDocModel DocumentRep List of all members.

Public Methods

 TwoStageDocModel (DOCID_T docID, int dl, const UnigramLM &collectLM, const double *docProbMass, double firstStageMu, double secondStageLambda, SimpleKLParameter::SmoothStrategy smthStrategy=SimpleKLParameter::INTERPOLATE)
virtual ~TwoStageDocModel ()
virtual double unseenCoeff () const
 a(d)

virtual double seenProb (double termFreq, TERMID_T termID) const
 p(w|d), w seen


Detailed Description

Two stage smoothing : JM + DirichletPrior.


Constructor & Destructor Documentation

TwoStageDocModel::TwoStageDocModel DOCID_T    docID,
int    dl,
const UnigramLM   collectLM,
const double *    docProbMass,
double    firstStageMu,
double    secondStageLambda,
SimpleKLParameter::SmoothStrategy    smthStrategy = SimpleKLParameter::INTERPOLATE
[inline]
 

virtual TwoStageDocModel::~TwoStageDocModel   [inline, virtual]
 


Member Function Documentation

virtual double TwoStageDocModel::seenProb double    termFreq,
TERMID_T    termID
const [inline, virtual]
 

p(w|d), w seen

Implements SimpleKLDocModel.

virtual double TwoStageDocModel::unseenCoeff   [inline, virtual]
 

a(d)

Implements SimpleKLDocModel.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 13:00:00 2004 for Lemur Toolkit by doxygen1.2.18