Man page - mlpack_hmm_train(1)
Packages contains this manual
- mlpack_fastmks(1)
- mlpack_mean_shift(1)
- mlpack_hmm_generate(1)
- mlpack_local_coordinate_coding(1)
- mlpack_sparse_coding(1)
- mlpack_preprocess_scale(1)
- mlpack_kmeans(1)
- mlpack_linear_svm(1)
- mlpack_preprocess_split(1)
- mlpack_softmax_regression(1)
- mlpack_hmm_train(1)
- mlpack_nca(1)
- mlpack_range_search(1)
- mlpack_radical(1)
- mlpack_gmm_generate(1)
- mlpack_cf(1)
- mlpack_random_forest(1)
- mlpack_lmnn(1)
- mlpack_gmm_probability(1)
- mlpack_emst(1)
- mlpack_dbscan(1)
- mlpack_nbc(1)
- mlpack_preprocess_one_hot_encoding(1)
- mlpack_lsh(1)
- mlpack_knn(1)
- mlpack_kde(1)
- mlpack_hoeffding_tree(1)
- mlpack_adaboost(1)
- mlpack_hmm_loglik(1)
- mlpack_nmf(1)
- mlpack_pca(1)
- mlpack_bayesian_linear_regression(1)
- mlpack_hmm_viterbi(1)
- mlpack_preprocess_describe(1)
- mlpack_decision_tree(1)
- mlpack_krann(1)
- mlpack_det(1)
- mlpack_lars(1)
- mlpack_preprocess_binarize(1)
- mlpack_logistic_regression(1)
- mlpack_gmm_train(1)
- mlpack_perceptron(1)
- mlpack_preprocess_imputer(1)
- mlpack_kernel_pca(1)
- mlpack_kfn(1)
- mlpack_linear_regression(1)
- mlpack_approx_kfn(1)
apt-get install mlpack-bin
Manual
mlpack_hmm_train
NAMESYNOPSIS
DESCRIPTION
REQUIRED INPUT OPTIONS
OPTIONAL INPUT OPTIONS
OPTIONAL OUTPUT OPTIONS
ADDITIONAL INFORMATION
NAME
mlpack_hmm_train - hidden markov model (hmm) training
SYNOPSIS
mlpack_hmm_train -i string [ -b bool ] [ -g int ] [ -m unknown ] [ -l string ] [ -s int ] [ -n int ] [ -T double ] [ -t string ] [ -V bool ] [ -M unknown ] [ -h -v ]
DESCRIPTION
This program allows a Hidden Markov Model to be trained on labeled or unlabeled data. It supports four types of HMMs: Discrete HMMs, Gaussian HMMs, GMM HMMs, or Diagonal GMM HMMs
Either one input sequence can be specified (with β --input_file ( -i )β), or, a file containing files in which input sequences can be found (when β --input_file ( -i )βandβ --batch ( -b )β are used together). In addition, labels can be provided in the file specified by β --labels_file ( -l )β, and if β --batch ( -b )β is used, the file given to β --labels_file ( -l )β should contain a list of files of labels corresponding to the sequences in the file given to β --input_file ( -i )β.
The HMM is trained with the Baum-Welch algorithm if no labels are provided. The tolerance of the Baum-Welch algorithm can be set with the β --tolerance ( -T )βoption. By default, the transition matrix is randomly initialized and the emission distributions are initialized to fit the extent of the data.
Optionally, a pre-created HMM model can be used as a guess for the transition matrix and emission probabilities; this is specifiable with β --output_model_file ( -M )β.
REQUIRED INPUT OPTIONS
--input_file (-i) [ string ]
File containing input observations.
OPTIONAL INPUT OPTIONS
--batch (-b) [ bool ]
If true, input_file (and if passed, labels_file) are expected to contain a list of files to use as input observation sequences (and label sequences).
--gaussians (-g) [ int ]
Number of gaussians in each GMM (necessary when type is βgmmβ). Default value 0.
--help (-h) [ bool ]
Default help info.
--info [ string ]
Print help on a specific option. Default value ββ.
--input_model_file (-m) [ unknown ]
Pre-existing HMM model to initialize training with.
--labels_file (-l) [ string ]
Optional file of hidden states, used for labeled training. Default value ββ.
--seed (-s) [ int ]
Random seed. If 0, βstd::time(NULL)β is used. Default value 0.
--states (-n) [ int ]
Number of hidden states in HMM (necessary, unless model_file is specified). Default value 0.
--tolerance (-T) [ double ]
Tolerance of the Baum-Welch algorithm. Default value 1e-05.
--type (-t) [ string ]
Type of HMM: discrete | gaussian | diag_gmm | gmm. Default value βgaussianβ.
--verbose (-v) [ bool ]
Display informational messages and the full list of parameters and timers at the end of execution.
--version (-V) [ bool ]
Display the version of mlpack.
OPTIONAL OUTPUT OPTIONS
--output_model_file (-M) [ unknown ]
Output for trained HMM.
ADDITIONAL INFORMATION
For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your distribution of mlpack.