jmschrei / pomegranate

Fast, flexible and easy to use probabilistic modelling in Python.
http://pomegranate.readthedocs.org/en/latest/
MIT License
3.38k stars 590 forks source link

[QUESTION] How to get access to model parameters like initial/transition/emission matrix #1120

Open runfeng22 opened 4 weeks ago

runfeng22 commented 4 weeks ago

I'm a beginner to HMM. Thanks for your effort on this amazing package. I fit data to the HMM model successfully, however, I want to ask how to get access to paramters like initial/transition/emission matrix.

I've found out that I can use self.starts/ends/edges to access some of it, but I didn't find how to get the emission matrix (or distributions in continuous data);

Another question is do you have any insights about why you use log value to describe the model rather than just the propablity?

Thank you!