mlpack  1.0.12
Classes | Functions
mlpack::hmm Namespace Reference

Hidden Markov Models. More...

Classes

class  HMM
 A class that represents a Hidden Markov Model with an arbitrary type of emission distribution. More...
 

Functions

template<typename Distribution >
void LoadHMM (HMM< Distribution > &hmm, util::SaveRestoreUtility &sr)
 Load an HMM from file. More...
 
template<typename Distribution >
void SaveHMM (const HMM< Distribution > &hmm, util::SaveRestoreUtility &sr)
 Save an HMM to file. More...
 

Detailed Description

Hidden Markov Models.

Function Documentation

template<typename Distribution >
void mlpack::hmm::LoadHMM ( HMM< Distribution > &  hmm,
util::SaveRestoreUtility sr 
)

Load an HMM from file.

This only works for GMMs, DiscreteDistributions, and GaussianDistributions.

Template Parameters
DistributionDistribution type of HMM.
Parameters
srSaveRestoreUtility to use.
template<typename Distribution >
void mlpack::hmm::SaveHMM ( const HMM< Distribution > &  hmm,
util::SaveRestoreUtility sr 
)

Save an HMM to file.

This only works for GMMs, DiscreteDistributions, and GaussianDistributions.

Template Parameters
DistributionDistribution type of HMM.
Parameters
srSaveRestoreUtility to use.