Reputation: 21
The kernel dies every time I run XGBoost on GPU with this code:
params = {'tree_method': 'gpu_exact', 'max_depth': 100, 'learning_rate': 0.1}
dtrain = xgb.DMatrix(X_train,y_train )
xgb.train(params, dtrain, evals=[(dtrain, "train")])
I get:
Kernel died - restarting
I am in Ubuntu.
Upvotes: 2
Views: 1088
Reputation: 1233
I think the main problem is max_depth=100, xgboost builds trees layer by layer so a full tree of depth 100 will be too large. Try using values up to 12 for example.
Upvotes: 2