pangeo_fish.hmm.filter.forward#
- pangeo_fish.hmm.filter.forward(emission, predictor, initial_probability, mask=None)#
Single pass (forwards) of the spatial HMM filter
- Parameters:
emission (array-like) – probability density function of the observations (emission probabilities)
predictor (
Predictor) – Algorithm for predicting the next time step.initial_probability (array-like) – The probability of the first hidden state
mask (array-like, optional) – A mask to apply after each step. No shadowing yet.
- Returns:
score (
float) – A measure of how well the model parameter fits the data.