Closed rekado closed 1 year ago
Thanks for addressing this so quickly. I'm a little confused about the fix, though, as I'm still getting an error:
=================================== FAILURES ===================================
_______________________ [doctest] scregseg.hmm.DirMulHMM _______________________
219 Monitor object used to check the convergence of EM.
220 transmat\_ : array, shape (n_components, n_components)
221 Matrix of transition probabilities between states.
222 startprob\_ : array, shape (n_components, )
223 Initial state occupation distribution.
224 emissionprob\_ : array, shape (n_components, n_features)
225 Probability of emitting a given symbol when in each state.
226 Examples
227 --------
228 >>> from hmmlearn.hmm import DirMulHMM
UNEXPECTED EXCEPTION: ImportError("cannot import name 'DirMulHMM' from 'hmmlearn.hmm' (/gnu/store/xr4v0fccvv7ynhs9zp9wjhjq3g4gpqqa-python-hmmlearn-0.2.8/lib/python3.9/site-packages/hmmlearn/hmm.py)")
Traceback (most recent call last):
File "/gnu/store/65i3nhcwmz0p8rqbg48gaavyky4g4hwk-python-3.9.9/lib/python3.9/doctest.py", line 1334, in __run
exec(compile(example.source, filename, "single",
File "<doctest scregseg.hmm.DirMulHMM[0]>", line 1, in <module>
ImportError: cannot import name 'DirMulHMM' from 'hmmlearn.hmm' (/gnu/store/xr4v0fccvv7ynhs9zp9wjhjq3g4gpqqa-python-hmmlearn-0.2.8/lib/python3.9/site-packages/hmmlearn/hmm.py)
/tmp/guix-build-scregseg-0.1.2.drv-0/source/src/scregseg/hmm.py:228: UnexpectedException
DirMulHMM
is not defined in hmmlearn.hmm
--- why import it from there then?
My bad, the import should have been from scregseg.hmm
. I'll fix this.
Perfect, thank you! I updated the scregseg package in GNU Guix.
Thank you!
Hi, upon running the tests I get one failure:
We're using version 0.2.7 of hmmlearn.