- 在http://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost网站上找到xgboost现成的whl文件
- 进入'C:\Users\hasee\AppData\Local\Programs\Python\Python35\Scripts'目录下执行
pip install "C:\Users\hasee\AppData\Local\Programs\Python\Python35\Scripts"
注意:安装包要用英文状态下的双引号括住
好了,这样就成功了!
运行import xgboost
出现警告,不知怎么回事,望见过此错误的能回答一下呀?:
DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
扩展阅读:
xgboost入门与实战(原理篇)
python xgboost 运行异常
在windows 10环境下安装xgboost
python xgboost 运行异常 | ZL
好看的人儿,点个喜欢❤ 你会更好看哦~~
网友评论