标签:distrib upd tar anaconda details encode href learn erro
解决办法:
更新sklearn库
具体方法:
1.打开anaconda下的anaconda的Promote
2.输入 pip list 可以查看当前已经安装的包和版本
3.更新sklearn:
输入”conda update scikit-learn”
参考:
AttributeError: 'OneHotEncoder' object has no attribute 'categories_'
标签:distrib upd tar anaconda details encode href learn erro
原文地址:https://www.cnblogs.com/shuangcao/p/12905939.html