# mlpack_hmm_loglik

## NAME

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

## SYNOPSIS

mlpack_hmm_loglik [-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:

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

## REQUIRED INPUT OPTIONS

--input_file (-i) [string]

File containing observations, --input_model_file (-m) [string] File containing HMM.

## OPTIONAL INPUT OPTIONS

--help (-h) [bool]

Default help info.

--info [string]

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.

## OPTIONAL OUTPUT OPTIONS

--log_likelihood [double]

Log-likelihood of the sequence. Default value

0. |

## ADDITIONAL INFORMATION

## ADDITIONAL INFORMATION

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.