.\" Text automatically generated by txt2man .TH mlpack_hmm_viterbi 1 "11 January 2024" "mlpack-4.3.0" "User Commands" .SH NAME \fBmlpack_hmm_viterbi \fP- hidden markov model (hmm) viterbi state prediction .SH SYNOPSIS .nf .fam C \fBmlpack_hmm_viterbi\fP \fB-i\fP \fIunknown\fP \fB-m\fP \fIunknown\fP [\fB-V\fP \fIbool\fP] [\fB-o\fP \fIunknown\fP] [\fB-h\fP \fB-v\fP] .fam T .fi .fam T .fi .SH DESCRIPTION This utility takes an already-trained HMM, specified as '\fB--input_model_file\fP (\fB-m\fP)', and evaluates the most probable hidden state sequence of a given sequence of observations (specified as ''\fB--input_file\fP (\fB-i\fP)', using the Viterbi algorithm. The computed state sequence may be saved using the '\fB--output_file\fP (\fB-o\fP)' output parameter. .PP For example, to predict the state sequence of the observations 'obs.csv' using the HMM 'hmm.bin', storing the predicted state sequence to 'states.csv', the following command could be used: .PP $ \fBmlpack_hmm_viterbi\fP \fB--input_file\fP obs.csv \fB--input_model_file\fP hmm.bin \fB--output_file\fP states.csv .RE .PP .SH REQUIRED INPUT OPTIONS .TP .B \fB--input_file\fP (\fB-i\fP) [\fIunknown\fP] Matrix containing observations, .TP .B \fB--input_model_file\fP (\fB-m\fP) [\fIunknown\fP] Trained HMM to use. .SH OPTIONAL INPUT OPTIONS .TP .B \fB--help\fP (\fB-h\fP) [\fIbool\fP] Default help info. .TP .B \fB--info\fP [string] 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 \fB--output_file\fP (\fB-o\fP) [\fIunknown\fP] File to save predicted state sequence to. .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.