-
xgboost.dll Not GPU-enabled 2019最新版下载
资源介绍
Installing the Python Wrapper
Please follow these instructions to prepare XGBoost for use with Python. I am placing xgboost in a directory called xgboost_install_dir but this can be anything.
git clone https://github.com/dmlc/xgboost.git xgboost_install_dir
copy libxgboost.dll into the xgboost_install_dir\python-package\xgboost\ directory
cd xgboost_install_dir\python-package\
python setup.py install
Using the Python Library
import xgboost
xr = xgboost.XGBRegressor()
xr.fit(X, y)
xr.predict(X_test)
- 上一篇: xgboost源代码python
- 下一篇: python 3 xgboost