osl_dynamics.models.hmm_poisson#
Hidden Markov Model (HMM) with a Poisson observation model.
An HMM for count data, e.g. the number of
spikes in each time bin. Each state has a rate, \(\lambda_{kc}\), for
each channel and the channels are independent given the state:
\[p(x_t | s_t = k) = \prod_c \mathrm{Poisson}(x_{tc} | \lambda_{kc}).\]
The temporal model (a transition probability matrix) and the training are the
same as the HMM’s. The rates are returned by
get_rates().
Classes#
Settings for HMM-Poisson. |
|
Keras model for HMM-Poisson. |
|
Hidden Markov Model with a Poisson observation model. |