Hello,
I get this warning when using XGBoost in TPOT Pipeline, any idea why? TPOT developers say they do not set reg:linear.
Fixed in master branch.
When I install XGBoost on Mac with:
pip install xgboost
I'm keep getting this message. @trivialfis, can you suggest what to do to remove it?
Use reg:squarederror
or build from master branch. See document about objective parameter.
I installed XGBoost Few days before and I was facing the same problem.
The answer is given in the error message. I changed Regressor model parameter: objective = 'reg:lineaqr' to 'reg:squarederror'.
example:
xg_reg = xgb.XGBRegressor(objective ='reg:squarederror', colsample_bytree = 0.3, learning_rate = 0.1, max_depth = 5, alpha = 10, n_estimators = 10)
And now its not giving any warning.
Most helpful comment
I installed XGBoost Few days before and I was facing the same problem.
The answer is given in the error message. I changed Regressor model parameter: objective = 'reg:lineaqr' to 'reg:squarederror'.
example:
xg_reg = xgb.XGBRegressor(objective ='reg:squarederror', colsample_bytree = 0.3, learning_rate = 0.1, max_depth = 5, alpha = 10, n_estimators = 10)
And now its not giving any warning.