mlpack_hmm_viterbi(1) | User Commands | mlpack_hmm_viterbi(1) |
mlpack_hmm_viterbi - hidden markov model (hmm) viterbi state prediction
mlpack_hmm_viterbi -i string -m unknown [-V bool] [-o string] [-h -v]
This utility takes an already-trained HMM, specified as '--input_model_file (-m)', and evaluates the most probable hidden state sequence of a given sequence of observations (specified as ''--input_file (-i)', using the Viterbi algorithm. The computed state sequence may be saved using the '--output_file (-o)' output parameter.
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:
$ mlpack_hmm_viterbi --input_file obs.csv --input_model_file hmm.bin --output_file states.csv
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.
12 December 2020 | mlpack-3.4.2 |