Reputation: 5911
I am trying to use the Batesian model in sklearn
but I get the following error when I try.
>>> from sklearn.mixture import BayesianGaussianMixture
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name BayesianGaussianMixture
I am on python 2.7.11
. I saw the documentation and I checked the spelling is correct. What should I do it import it?
Upvotes: 0
Views: 1382
Reputation: 66805
Update scikit-learn to 0.18, in previous versions it was called VBGMM
(Variational Bayesian Gaussian Mixture Model) - actually it was a bit different method, but it is the closest you will get in previous versions.
Upvotes: 1