12 #ifndef MLPACK_METHODS_HMM_HMM_UTIL_HPP 13 #define MLPACK_METHODS_HMM_HMM_UTIL_HPP 30 template<
typename ActionType,
typename ExtraInfoType =
void>
32 ExtraInfoType* x = NULL);
36 template<
typename HMMType>
42 #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.
test cpp RESULT_VARIABLE MEX_RESULT_TRASH OUTPUT_VARIABLE MEX_OUTPUT ERROR_VARIABLE MEX_ERROR_TRASH string(REGEX MATCH"Warning: You are using"MEX_WARNING"${MEX_OUTPUT}") if(MEX_WARNING) string(REGEX REPLACE".*using [a-zA-Z]* version \"([0-9.]*)[^\"]*\".*""\\1"OTHER_COMPILER_VERSION"$