jmschrei / pomegranate

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

Transition matrix #1073

Closed Koenig128 closed 9 months ago

Koenig128 commented 10 months ago

Hi,

I again have a question and would be very happy if you could help once again.

1) How can I access the transition matrix? I saw that transmat_ does not exist as attribute of DenseHMM anymore... I checked the tutorial and examples but I did not find it.

Thank you very much for your help!

jmschrei commented 9 months ago

I'm not sure transmat_ was ever an attribute of pomegranate HMMs. Try edges? https://github.com/jmschrei/pomegranate/blob/master/pomegranate/hmm/dense_hmm.py#L104

Koenig128 commented 9 months ago

Thank you very much!