mlpack_hmm_loglik - hidden markov model (hmm) sequence log-likelihood
mlpack_hmm_loglik [-h] [-v]
This utility takes an already-trained HMM, specified with the ’--input_model_file (-m)’ parameter, and evaluates the log-likelihood of a sequence of observations, given with the ’--input_file (-i)’ parameter. The computed log-likelihood is given as output.
For example, to compute the log-likelihood of the sequence ’seq.csv’ with the pre-trained HMM ’hmm.bin’, the following command may be used:
$ hmm_loglik --input_file seq.csv --input_model_file hmm.bin
--input_file (-i) [string]
File containing observations, --input_model_file (-m) [unknown] File containing HMM.
--help (-h) [bool]
Default help info.
Get help on a specific module or option. Default value ’’.
--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.
Log-likelihood of the sequence. Default value
For further information, including relevant papers, citations, and theory, For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your consult the documentation found at http://www.mlpack.org or included with your DISTRIBUTION OF MLPACK. DISTRIBUTION OF MLPACK.