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
import hmmlearn as hmm
model = hmm.GaussianHMM(n_components = 2, covariance_type = "diag")
model.fit(train_df)
This is expected since "diag" implies that all observations are independent and simply individual emissions. The IOHMM model in this case treats it as 4 independent emissions so the results are not too different and are able to reconcile.
However, if I switch to a full multivariate covariate emission
model = hmm.GaussianHMM(n_components = 2, covariance_type = "full")
model.fit(train_df)
Where "full" means there would be a pxp covariance matrix under each state which is used as emissions to characterise the multivariate gaussian distribution. Is this expected or did I set-up the model incorrectly? Thanks
Best Regards,
The text was updated successfully, but these errors were encountered:
Hello,
I have blank inputs and am trying to reconcile the results between IOHMM and hmmlearn.GaussianHMM. Which I assume should be the standard HMM model.
The above gives me almost same results to
This is expected since "diag" implies that all observations are independent and simply individual emissions. The IOHMM model in this case treats it as 4 independent emissions so the results are not too different and are able to reconcile.
However, if I switch to a full multivariate covariate emission
The gives me very different results compared to
Where "full" means there would be a pxp covariance matrix under each state which is used as emissions to characterise the multivariate gaussian distribution. Is this expected or did I set-up the model incorrectly? Thanks
Best Regards,
The text was updated successfully, but these errors were encountered: