.\" Text automatically generated by txt2man .TH mlpack_hmm_loglik 1 "12 December 2020" "mlpack-3.4.2" "User Commands" .SH NAME \fBmlpack_hmm_loglik \fP- hidden markov model (hmm) sequence log-likelihood .SH SYNOPSIS .nf .fam C \fBmlpack_hmm_loglik\fP \fB-i\fP \fIstring\fP \fB-m\fP \fIunknown\fP [\fB-V\fP \fIbool\fP] [\fB--log_likelihood\fP \fIdouble\fP] [\fB-h\fP \fB-v\fP] .fam T .fi .fam T .fi .SH DESCRIPTION This utility takes an already-trained HMM, specified with the \(cq\fB--input_model_file\fP (\fB-m\fP)' parameter, and evaluates the log-likelihood of a sequence of observations, given with the '\fB--input_file\fP (\fB-i\fP)' parameter. The computed log-likelihood is given as output. .PP 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: .PP $ \fBmlpack_hmm_loglik\fP \fB--input_file\fP seq.csv \fB--input_model_file\fP hmm.bin .RE .PP .SH REQUIRED INPUT OPTIONS .TP .B \fB--input_file\fP (\fB-i\fP) [\fIstring\fP] File containing observations, .TP .B \fB--input_model_file\fP (\fB-m\fP) [\fIunknown\fP] File containing HMM. .SH OPTIONAL INPUT OPTIONS .TP .B \fB--help\fP (\fB-h\fP) [\fIbool\fP] Default help info. .TP .B \fB--info\fP [\fIstring\fP] Print help on a specific option. Default value ''. .TP .B \fB--verbose\fP (\fB-v\fP) [\fIbool\fP] Display informational messages and the full list of parameters and timers at the end of execution. .TP .B \fB--version\fP (\fB-V\fP) [\fIbool\fP] Display the version of mlpack. .SH OPTIONAL OUTPUT OPTIONS .TP .B \fB--log_likelihood\fP [\fIdouble\fP] Log-likelihood of the sequence. Default value 0. .SH 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.