1

我正在尝试在 Jupyter 上阅读此模块,但出现此错误:

    ---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-1a818208e4fd> in <module>()
----> 1 from sklearn.hmm import GaussianHMM
      2 
      3 
      4 def fit_hmm(depth_normed,  # normalised coverage array 
      5             transition_probability,  # probability of state transition

ImportError: No module named hmm

我想做的就是使用这个from sklearn.hmm import GaussianHMM

我有这些包:

Python >=2.7
numpy >= 1.9.3 
scipy >= 0.16.0 
scikit-learn >= 0.16

我安装了 pip3 并再次安装了模块,但它不起作用。

4

0 回答 0