文件名称:xgboost.dll Not GPU-enabled 2019最新版
文件大小:2.12MB
文件格式:DLL
更新时间:2023-03-05 15:39:38
xgboost
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)