Scroll to navigation

mlpack_hmm_loglik(1) User Commands mlpack_hmm_loglik(1)

NAME

mlpack_hmm_loglik - hidden markov model (hmm) sequence log-likelihood

SYNOPSIS


mlpack_hmm_loglik -i unknown -m unknown [-V bool] [--log_likelihood double] [-h -v]

DESCRIPTION

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:

$ mlpack_hmm_loglik --input_file seq.csv --input_model_file hmm.bin

REQUIRED INPUT OPTIONS

File containing observations,
File containing HMM.

OPTIONAL INPUT OPTIONS

Default help info.
Print help on a specific option. Default value ''.
Display informational messages and the full list of parameters and timers at the end of execution.
Display the version of mlpack.

OPTIONAL OUTPUT OPTIONS

Log-likelihood of the sequence. Default value 0.

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.

11 January 2024 mlpack-4.3.0