models package
Submodules
models.decoders module
- class models.decoders.ViterbiAlgorithm(hmm_object)[source]
Bases:
object
ViterbiAlgorithm Class
This will calculate the best hidden state sequence for a HiddenMarkovModel and its observed states
Returns the best hidden state sequence given a list of observations
- Args:
decode_observation_states (np.ndarray): a list of observations in order to decode the hidden state for
- Returns:
np.ndarray: an array with the hidden states most likely for generating the observations
models.hmm module
Module contents
UCSF BMI203: Biocomputing Algorithms Author: Date: Package: Description: