未經(jīng)允許,不得擅自改動(dòng)和轉(zhuǎn)載
- 在http://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost網(wǎng)站上找到xgboost現(xiàn)成的whl文件
- 進(jìn)入'C:\Users\hasee\AppData\Local\Programs\Python\Python35\Scripts'目錄下執(zhí)行
pip install "C:\Users\hasee\AppData\Local\Programs\Python\Python35\Scripts"
注意:安裝包要用英文狀態(tài)下的雙引號(hào)括住
好了苛谷,這樣就成功了灰嫉!
運(yùn)行import xgboost
出現(xiàn)警告匿乃,不知怎么回事,望見過此錯(cuò)誤的能回答一下呀?:
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)
擴(kuò)展閱讀:
xgboost入門與實(shí)戰(zhàn)(原理篇)
python xgboost 運(yùn)行異常
在windows 10環(huán)境下安裝xgboost
python xgboost 運(yùn)行異常 | ZL
好看的人兒瞧柔,點(diǎn)個(gè)喜歡? 你會(huì)更好看哦~~