cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

xgboost 1.5.1 gives 'XGBModel' object has no attribute 'enable_categorical' error

Direo
Contributor

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Direo
Contributor

Hi, @Kaniz Fatma​. No, I have found a solution. Needed to retrain models using new version of xgboost.

View solution in original post

1 REPLY 1

Direo
Contributor

Hi, @Kaniz Fatma​. No, I have found a solution. Needed to retrain models using new version of xgboost.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group