You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2024. It is now read-only.
The function
check()
in HSMM class checks model parameters for errors before performing the main algorithms.For the HSMM (base) class, here are some of the properties to be checked:
HSMM.pi
,HSMM.tmat
, andHSMM.dur
should be greater than 0, because EM algorithm cannot update 0 probability.HSMM.pi
(start probabilities), numpy.shape = (n_states), and the sum should be 1.HSMM.tmat
(transition matrix), numpy.shape = (n_states, n_states), every diagonal is zero, and every row should add up to 1.HSMM.dur
(duration probabilities), numpy.shape = (n_states, n_durations), and every row should add up to 1.For Gaussian sub-class, here are the properties:
GaussianHSMM.means
, numpy.shape = (n_states).GaussianHSMM.sdev
, numpy.shape = (n_states), and all entries should be greater than 0.Just comment if some properties are not listed here.
The text was updated successfully, but these errors were encountered: