This error is raised when I try to call estimator.stationary_probability.
Here's the traceback:
/Users/sternc1/anaconda/lib/python2.7/site-packages/bhmm-0.6.1+22.gcc92643-py2.7-macosx-10.6-x86_64.egg/bhmm/estimators/maximum_likelihood.pyc in stationary_probability(self)
217 r""" Stationary probability, if the model is stationary """
218 assert self._stationary, 'Estimator is not stationary'
--> 219 return self._hmm.Pi
220
221 def _forward_backward(self, itraj):
AttributeError: 'HMM' object has no attribute 'Pi'
hmm.Pi doesn't exist but hmm._Pi does.
I can open a PR to fix this by changing return self._hmm.Pi to return self._hmm._Pi
This error is raised when I try to call
estimator.stationary_probability.Here's the traceback:
hmm.Pidoesn't exist buthmm._Pidoes.I can open a PR to fix this by changing
return self._hmm.Pitoreturn self._hmm._Pi