FFL*_*L75 3 anaconda jupyter xgboost
我在anaconda笔记本下.
我最近安装了xgboost但我无法访问XGBClassifier:
from xgboost import XGBClassifier
Run Code Online (Sandbox Code Playgroud)
当我只导入xgboost并写入xgboost时,它打印出模块在这里..
小智 17
在重命名我正在处理的py文件后,我的工作正常.我的情况,从'xgboost'到其他东西.
PS重启anaconda/spyder并不适合我
问题是我没有为 anaconda 安装 xgboost,所以写:
conda install -c conda-forge xgboost=0.6a2
Run Code Online (Sandbox Code Playgroud)
解决了我的问题,谢谢
| 归档时间: |
|
| 查看次数: |
6854 次 |
| 最近记录: |