mlpack
master
|
Hidden Markov Models. More...
Classes | |
class | HMM |
A class that represents a Hidden Markov Model with an arbitrary type of emission distribution. More... | |
class | HMMModel |
A serializable HMM model that also stores the type. More... | |
class | HMMRegression |
A class that represents a Hidden Markov Model Regression (HMMR). More... | |
Enumerations | |
enum | HMMType : char { DiscreteHMM = 0, GaussianHMM, GaussianMixtureModelHMM, DiscreteHMM = 0, GaussianHMM, GaussianMixtureModelHMM } |
enum | HMMType : char { DiscreteHMM = 0, GaussianHMM, GaussianMixtureModelHMM, DiscreteHMM = 0, GaussianHMM, GaussianMixtureModelHMM } |
HMMType, to be stored on disk. More... | |
Functions | |
template<typename ActionType , typename ExtraInfoType = void> | |
void | LoadHMMAndPerformAction (const std::string &modelFile, ExtraInfoType *x=NULL) |
ActionType should implement static void Apply(HMMType&). More... | |
template<typename HMMType > | |
void | SaveHMM (HMMType &hmm, const std::string &modelFile) |
Save an HMM to a file. More... | |
Hidden Markov Models.
enum mlpack::hmm::HMMType : char |
Enumerator | |
---|---|
DiscreteHMM | |
GaussianHMM | |
GaussianMixtureModelHMM | |
DiscreteHMM | |
GaussianHMM | |
GaussianMixtureModelHMM |
Definition at line 16 of file hmm_model.hpp.
enum mlpack::hmm::HMMType : char |
HMMType, to be stored on disk.
This is of type char, which is one byte. (I'm not sure what will happen on systems where one byte is not eight bits.)
Enumerator | |
---|---|
DiscreteHMM | |
GaussianHMM | |
GaussianMixtureModelHMM | |
DiscreteHMM | |
GaussianHMM | |
GaussianMixtureModelHMM |
Definition at line 22 of file hmm_util.hpp.
void mlpack::hmm::LoadHMMAndPerformAction | ( | const std::string & | modelFile, |
ExtraInfoType * | x = NULL |
||
) |
ActionType should implement static void Apply(HMMType&).
void mlpack::hmm::SaveHMM | ( | HMMType & | hmm, |
const std::string & | modelFile | ||
) |