[英]How can I install “calibration” function from the sklearn package?
I'm get the following error when using calibration: 使用校准时出现以下错误:
from sklearn.calibration import CalibratedClassifierCV
clf_sigmoid = CalibratedClassifierCV(clf, cv=2, method='sigmoid')
ImportError: No module named calibration
calibration by default is not in sklearn package. 默认情况下,校准不在sklearn软件包中。 I am unsung anaconda on Mac with python 2.7 我在使用python 2.7的Mac上是未知的anaconda
Any help? 有什么帮助吗?
Rgds valerio 瓦格里奥
只需安装最新版本的scikit-learn。
sudo pip install -U scikit-learn
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.