ImportError:无法导入名称“ IsolationForest”

希夫

执行导入时

from sklearn.ensemble import IsolationForest

遇到错误

Traceback (most recent call last):
File "<ipython-input-13-90a3d865c881>", line 1, in <module>
from sklearn.ensemble import IsolationForest

ImportError: cannot import name 'IsolationForest'

知道可能是什么问题吗?

功夫

您应该使用以下命令:

点安装-U sklearn

此步骤将您的sklearn(<0.18,也许是0.17)更新为sklearn(0.18)

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章