TRF Language Model
hrf::Model Member List

This is the complete list of members for hrf::Model, including all inherited members.

AISNormalize(int nLen, int nChain, int nInter)trf::Model
AISNormalize(int nLenMin, int nLenMax, int nChain, int nInter)trf::Model
BufMap(T *p, VecShell< T > &feat, Mat3dShell< T > &VH, Mat3dShell< T > &CH, Mat3dShell< T > &HH, MatShell< T > &Bias)hrf::Modelinline
ClusterSum(Seq &seq, int nPos, int nOrder)hrf::Model
trf::Model::ClusterSum(Seq &seq, int nPos, int nOrder)trf::Model
DecodeHidden(int n, VecShell< HValue > hi)hrf::Model
DecodeHidden(VecShell< int > &vn, Mat< HValue > &h, int nPos=0, int nDim=-1)hrf::Model
DecodeLayer(VecShell< int > &vn, Mat< HValue > &h, int layer, int nPos=0, int nDim=-1)hrf::Model
DecodeNode(int n, VocabID &xi, VocabID &ci, VecShell< HValue > &hi)hrf::Model
DecodeNode(VecShell< int > &vn, Seq &seq, int nPos=0, int nDim=-1)hrf::Model
EncodeHidden(VecShell< HValue > hi)hrf::Model
EncodeNode(VocabID xi, VocabID ci, VecShell< HValue > &hi)hrf::Model
EncodeNode(VecShell< int > &vn, Seq &seq, int nPos=0, int nDim=-1)hrf::Model
ExactNormalize(int nLen)hrf::Modelvirtual
ExactNormalize()hrf::Modelvirtual
FeatClusterSum(trf::Seq &x, int nPos, int nOrder)hrf::Model
FeatCount(Seq &seq, VecShell< double > featcount, Mat3dShell< double > VHcount, Mat3dShell< double > CHcount, Mat3dShell< double > HHcount, MatShell< double > Bcount, double dadd=1)hrf::Model
FeatCount(Seq &seq, VecShell< double > count, double dadd=1)hrf::Model
trf::Model::FeatCount(Seq &seq, double *pCount, double dadd=1.0)trf::Model
GetConditionalProbForH(VecShell< HValue > &hi, VecShell< Prob > &probs)hrf::Model
GetEncodeHiddenLimit() consthrf::Model
GetEncodeLayerLimit() consthrf::Model
GetEncodeNodeLimit() consthrf::Model
GetHiddenExp(VecShell< int > x, double *pExp)hrf::Model
GetHiddenOrder() consthrf::Modelinline
GetHnode() consthrf::Modelinline
GetLayerExp(AlgLayer &fb, int nLayer, Mat3dShell< double > &VHexp, Mat3dShell< double > &CHexp, Mat3dShell< double > &HHexp, MatShell< double > &Bexp, LogP logz=0)hrf::Model
GetLogProb(Seq &seq, bool bNorm=true)hrf::Model
GetLogProb(VecShell< VocabID > &x, bool bNorm=true)hrf::Model
trf::Model::GetLogProb(Seq &seq, bool bNorm=true)trf::Model
GetLogProb_AIS(VecShell< VocabID > &x, int nChain=10, int nIntermediate=10000)hrf::Model
GetLogProb_Gibbs(VecShell< VocabID > &x, int num=100)hrf::Model
GetMarginalLogProb(int nLen, int nPos, Seq &sub, bool bNorm=true)hrf::Model
GetMarginalProbOfC(Seq &seq, int nPos)hrf::Model
trf::Model::GetMarginalProbOfC(Seq &seq, int nPos)trf::Model
GetMaxLen() consttrf::Modelinline
GetMaxOrder() consttrf::Modelinline
GetNodeExp(double *pExp, Prob *pLenProb=NULL)hrf::Model
GetNodeExp(int nLen, double *pExp)hrf::Model
GetNodeExp(int nLen, VecShell< double > featexp, Mat3dShell< double > VHexp, Mat3dShell< double > CHexp, Mat3dShell< double > HHexp, MatShell< double > Bexp)hrf::Model
GetParam(PValue *pParam)hrf::Model
GetParamNum() consthrf::Modelinline
GetReducedModel(Seq &seq, int nPos)trf::Model
GetReducedModelForC(Seq &seq, int nPos)hrf::Model
trf::Model::GetReducedModelForC(Seq &seq, int nPos)trf::Model
GetReducedModelForH(Seq &seq, int nPos)hrf::Model
GetReducedModelForW(Seq &seq, int nPos)hrf::Model
trf::Model::GetReducedModelForW(Seq &seq, int nPos)trf::Model
GetVocab() consttrf::Modelinline
GetZeta(T *pzeta)trf::Modelinline
HiddenClusterSum(Seq &seq, int nPos, int nOrder)hrf::Model
HiddenFeatCount(Seq &seq, Mat3dShell< double > VHcount, Mat3dShell< double > CHcount, Mat3dShell< double > HHcount, MatShell< double > Bcount, double dadd=1)hrf::Model
LayerClusterSum(Seq &seq, int nlayer, int nPos, int nOrder)hrf::Model
LoadFromCorpus(const char *pcorpus, const char *pfeatstyle, int nOrder)trf::Model
LocalJump(Seq &seq)hrf::Model
trf::Model::LocalJump(Seq &seq)trf::Model
m_AlgNodetrf::Modelprotected
m_hlayerhrf::Model
m_hnodehrf::Model
m_logztrf::Model
m_m3dCHhrf::Model
m_m3dHHhrf::Model
m_m3dVHhrf::Model
m_matBiashrf::Model
m_matLenJumptrf::Model
m_maxlentrf::Model
m_maxSampleLentrf::Model
m_nLenJumpAccTimeshrf::Model
m_nLenJumpTotalTimehrf::Model
m_nodeCalhrf::Modelprotected
m_nSampleHAccTimeshrf::Model
m_nSampleHTotalTimeshrf::Model
m_pFeattrf::Model
m_pitrf::Model
m_pVocabtrf::Model
m_valuetrf::Model
m_zetatrf::Model
MarkovMove(Seq &seq)hrf::Model
trf::Model::MarkovMove(Seq &seq)trf::Modelvirtual
Model(Vocab *pv)hrf::Modelinline
Model(Vocab *pv, int hlayer, int hnode, int maxlen)hrf::Modelinline
trf::Model::Model(Vocab *pv, int maxlen)trf::Modelinline
PerformSAMS(int nMinibatch, int tmax, int t0, int beta, double zgap=10)hrf::Model
ProposeC0(VocabID &ci, Seq &seq, int nPos, bool bSample)hrf::Model
trf::Model::ProposeC0(VocabID &ci, Seq &seq, int nPos, bool bSample)trf::Model
ProposeCProbs(VecShell< LogP > &logps, Seq &seq, int nPos)hrf::Model
trf::Model::ProposeCProbs(VecShell< LogP > &logps, Seq &seq, int nPos)trf::Model
ProposeH0(VecShell< HValue > &hi, Seq &seq, int nPos, bool bSample)hrf::Model
ProposeHProbs(VecShell< LogP > &logps, Seq &seq, int nPos, bool bConsiderXandC=false)hrf::Model
ProposeLength(int nOld, int &nNew, bool bSample)hrf::Model
RandHidden(Seq &seq)hrf::Model
RandSeq(Seq &seq, int nLen=-1)hrf::Model
ReadT(const char *pfilename)hrf::Model
Reset(Vocab *pv, int hlayer, int hnode, int maxlen)hrf::Model
trf::Model::Reset(Vocab *pv, int maxlen)trf::Model
Sample(Seq &seq)hrf::Model
trf::Model::Sample(Seq &seq)trf::Model
SampleC(Seq &seq, int nPos)hrf::Model
trf::Model::SampleC(Seq &seq, int nPos)trf::Model
SampleHAndCGivenX(Seq &seq, MatShell< HValue > *tagH=NULL)hrf::Modelvirtual
SampleW(Seq &seq, int nPos, bool bSample=true)hrf::Model
SampleX(Seq &seq, int nPos, bool bSample=true)trf::Model
SetParam(PValue *pParam)hrf::Modelvirtual
SetPi(Prob *pPi)trf::Model
SetZeta(T *pzeta)trf::Modelinline
SumHHWeight(Mat3dShell< PValue > m, VecShell< HValue > h1, VecShell< HValue > h2)hrf::Model
SumHHWeight(Mat3dShell< PValue > m, VecShell< HValue > h1, VecShell< HValue > h2, int layer)hrf::Model
SumVHWeight(MatShell< PValue > m, VecShell< HValue > h)hrf::Model
SumVHWeight(MatShell< PValue > m, VecShell< HValue > h, int layer)hrf::Model
WriteT(const char *pfilename)hrf::Model
~Model()trf::Modelinline