12 #ifndef MLPACK_METHODS_HMM_HMM_UTIL_HPP 13 #define MLPACK_METHODS_HMM_HMM_UTIL_HPP 31 template<
typename ActionType,
typename ExtraInfoType =
void>
33 ExtraInfoType* x = NULL);
37 template<
typename HMMType>
43 #include "hmm_util_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void LoadHMMAndPerformAction(const std::string &modelFile, ExtraInfoType *x=NULL)
ActionType should implement static void Apply(HMMType&).
void SaveHMM(HMMType &hmm, const std::string &modelFile)
Save an HMM to a file.