cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

xgboost.spark.core' has no attribute 'SparkXGBClassifierModel'

Geebigib
New Contributor

I got error: xgboost.spark.core' has no attribute 'SparkXGBClassifierModel' when attempting to load model. I have upgraded to xgboost-2.0.0.

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @GeebigibThe error you're experiencing is likely because the SparkXGBClassifierModel class is no longer available in the xgboost.spark.core module in xgboost-2.0.0. This could be due to changes or deprecations in the newer versions of the library. 

sparkdl.xgboost - It is deprecated starting with 12.0 ML and removed in 13.0 ML and above. Databricks recommends migrating your workloads to xgboost.spark.

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