Resolved! xgboost 1.5.1 gives 'XGBModel' object has no attribute 'enable_categorical' error
Should I pip install xgboost==1.4.2. (the last version it worked) or is there a better way to solve it having in mind that this solution might cause problems later if this version of xgboost is not supported on future python versions.
- 7480 Views
- 1 replies
- 1 kudos
Latest Reply
Hi, @Kaniz Fatma​. No, I have found a solution. Needed to retrain models using new version of xgboost.
- 1 kudos