close
0

how can I fix this WARNING in Xgboost?

avatar
asked 27-08-2022

2 Answers


0
xgboost = xgb.XGBRegressor(objective ='reg:linear', verbosity = 0, random_state=42)
avatar
answered 27-08-2022

0

Try

xgboost = xgb.XGBRegressor(objective ='reg:linear', verbosity = 0, silent=True, random_state=42)
avatar
answered 27-08-2022