Xgboost error solution

problem

Anaconda uses xgboost1.3.3 package to generate the following error message:

Starting in XGBoost 1.3.0, the default evaluation metric used with the
objective ‘ binary:logistic ’ was changed from ‘error’ to ‘logloss’.
Explicitly set eval_ metric if you’d like to restore the old behavior.

Solution

View the versions of packages that can be installed in the xgboost history.
Change xgboost package to historical version:

pip install xgboost==1.2.0

Read More: