Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::retrieval::TwoStageDocModel Class Reference

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

#include <SimpleKLDocModel.hpp>

Inheritance diagram for lemur::retrieval::TwoStageDocModel:

lemur::retrieval::SimpleKLDocModel lemur::api::DocumentRep List of all members.

Public Member Functions

 TwoStageDocModel (lemur::api::DOCID_T docID, int dl, const lemur::langmod::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, lemur::api::TERMID_T termID) const
 p(w|d), w seen


Private Attributes

double mu
double lambda

Detailed Description

Two stage smoothing : JM + DirichletPrior.


Constructor & Destructor Documentation

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

virtual lemur::retrieval::TwoStageDocModel::~TwoStageDocModel  )  [inline, virtual]
 


Member Function Documentation

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

p(w|d), w seen

Implements lemur::retrieval::SimpleKLDocModel.

virtual double lemur::retrieval::TwoStageDocModel::unseenCoeff  )  const [inline, virtual]
 

a(d)

Implements lemur::retrieval::SimpleKLDocModel.


Member Data Documentation

double lemur::retrieval::TwoStageDocModel::lambda [private]
 

double lemur::retrieval::TwoStageDocModel::mu [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4