hmm-ll {stochmod} | R Documentation |
Computes log-likelihood of new observation sequences given a previously trained model
HMM.ll( x, hmm )
x |
A matrix of a list of matrices containing one or more observation sequences |
hmm |
A hidden markov model created by functions like HMM.learn or HMM.make |
If x is a single matrix, the function returns the log-likelihood of that observation sequence as a single value. If x is a list of observation sequences, the log-likelihood values are computed for each sequence and returned together in a list.
Artem Sokolov Artem.Sokolov@gmail.com