mlpack
3.1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
mlpack
methods
hmm
hmm_util.hpp
Go to the documentation of this file.
1
12
#ifndef MLPACK_METHODS_HMM_HMM_UTIL_HPP
13
#define MLPACK_METHODS_HMM_HMM_UTIL_HPP
14
15
#include <
mlpack/prereqs.hpp
>
16
17
namespace
mlpack {
18
namespace
hmm {
19
22
enum
HMMType
:
char
23
{
24
DiscreteHMM
= 0,
25
GaussianHMM
,
26
GaussianMixtureModelHMM
,
27
DiagonalGaussianMixtureModelHMM
28
};
29
31
template
<
typename
ActionType,
typename
ExtraInfoType =
void
>
32
void
LoadHMMAndPerformAction
(
const
std::string& modelFile,
33
ExtraInfoType* x = NULL);
34
37
template
<
typename
HMMType>
38
void
SaveHMM
(
HMMType
& hmm,
const
std::string& modelFile);
39
40
}
// namespace hmm
41
}
// namespace mlpack
42
43
#include "hmm_util_impl.hpp"
44
45
#endif
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
mlpack::hmm::LoadHMMAndPerformAction
void LoadHMMAndPerformAction(const std::string &modelFile, ExtraInfoType *x=NULL)
ActionType should implement static void Apply(HMMType&).
mlpack::hmm::GaussianMixtureModelHMM
Definition:
hmm_model.hpp:26
mlpack::hmm::GaussianHMM
Definition:
hmm_model.hpp:25
mlpack::hmm::DiagonalGaussianMixtureModelHMM
Definition:
hmm_model.hpp:27
mlpack::hmm::HMMType
HMMType
Definition:
hmm_model.hpp:22
mlpack::hmm::SaveHMM
void SaveHMM(HMMType &hmm, const std::string &modelFile)
Save an HMM to a file.
mlpack::hmm::DiscreteHMM
Definition:
hmm_model.hpp:24
Generated by
1.8.5