39 bool new_hmm(int32_t n, int32_t m);
41 bool load(
char* filename);
43 bool save(
char* filename,
bool is_binary=
false);
68 bool append_model(
char* filename, int32_t base1=-1, int32_t base2=-1);
77 int32_t num_iterations=100,
float64_t epsilon=0.001);
83 bool best_path(int32_t from=0, int32_t to=100);
87 bool normalize(
bool keep_dead_states=
false);
92 bool save_path(
char* filename,
bool is_binary=
false);
157 virtual const char*
get_name()
const {
return "GUIHMM"; }
float64_t one_class_classify_example(int32_t idx)
Real Labels are real-valued labels.
virtual const char * get_name() const
bool linear_train(char align='l')
bool permutation_entropy(int32_t width=0, int32_t seq_num=-1)
UI HMM (Hidden Markov Model)
bool append_model(char *filename, int32_t base1=-1, int32_t base2=-1)
bool viterbi_train_defined()
bool converge(float64_t x, float64_t y)
bool baum_welch_train_defined()
bool set_max_dim(char *param)
bool entropy(float64_t *&values, int32_t &len)
bool set_hmm_as(char *target)
Class SGObject is the base class of all shogun objects.
bool convergence_criteria(int32_t num_iterations=100, float64_t epsilon=0.001)
bool save_likelihood(char *filename, bool is_binary=false)
void switch_model(CHMM **m1, CHMM **m2)
float64_t classify_example(int32_t idx)
bool relative_entropy(float64_t *&values, int32_t &len)
CRegressionLabels * linear_one_class_classify(CRegressionLabels *output=NULL)
CRegressionLabels * one_class_classify(CRegressionLabels *output=NULL)
bool add_states(int32_t num_states=1, float64_t value=0)
all of classes and functions are contained in the shogun namespace
bool new_hmm(int32_t n, int32_t m)
bool load_definitions(char *filename, bool do_init=false)
bool set_num_hmm_tables(char *param)
bool linear_train_from_file(char *param)
bool load(char *filename)
bool baum_welch_trans_train()
CRegressionLabels * classify(CRegressionLabels *output=NULL)
void set_current(CHMM *h)
bool normalize(bool keep_dead_states=false)
bool chop(float64_t value)
bool save(char *filename, bool is_binary=false)
bool output_hmm_defined()
bool save_path(char *filename, bool is_binary=false)
bool set_pseudo(float64_t pseudo)
bool best_path(int32_t from=0, int32_t to=100)