Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xgboost 导入成功,但我无法导入 XGBClassifier。
检查是否xgboost正确安装。要xgboost在anaconda发行版中安装,您可以在 anaconda 命令行控制台中运行以下命令。
xgboost
anaconda
conda install -c conda-forge xgboost=0.6a2或者'conda install -c anaconda py-xgboost'
conda install -c conda-forge xgboost=0.6a2
'conda install -c anaconda py-xgboost'
安装后它将正常工作。