mlpack_hmm_loglik(1) | User Commands | mlpack_hmm_loglik(1) |
mlpack_hmm_loglik - hidden markov model (hmm) sequence log-likelihood
mlpack_hmm_loglik -i string -m unknown [-V bool] [--log_likelihood double] [-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
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.
18 November 2018 | mlpack-3.0.4 |