伙计们
我正在尝试安装启用gpu的xgboost版本,我遵循了这个说明中的正确步骤。()
git clone https://github.com/dmlc/xgboost.git xgboost_install_dir copy libxgboost.dll (downloaded from this page) into the xgboost_install_dir\python-package\xgboost\ directory cd xgboost_install_dir\python-package\ python setup.py install
现在,在运行所有这些步骤之后,
您好,在尝试时遇到以下错误
`install.packages("xgboost")`
错误消息:
`In file included from amalgamation/xgboost-all0.cc:68:0:
amalgamation/../src/learner.cc: In member function ‘virtual void
xgboost::LearnerImpl::SaveModel(xgboost::Json*) const’:
amalgamation/../src/learner.cc:378:24: error: invalid i
安装xgboost库很痛苦,但现在Windows8.1 64位上发生了另一个错误
import xgboost as xgb
Traceback (most recent call last):
File "C:/Users/Пашка/PycharmProjects/kaggler bank santander/1.py", line 12, in <module>
import xgboost as xgb
File "C:\Python34\lib\site-packages\xgboost-0.4-py3.4.egg\xgboost
我正在使用新的xgboost-distribution module 我将以下内容输入到我的文件中 from sklearn.datasets import load_boston
from sklearn.model_selection import train_test_split
from xgboost_distribution import XGBDistribution
if __name__ == '__main__':
data = load_boston()
X, y = data.data, data.target
X_trai