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 II

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 II

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 II

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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now