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:ย 

Synapse ML - TypeError: 'JavaPackage' object is not callable

VeereshKH
New Contributor II

from synapse.ml.lightgbm import *

LightGBMRegressor()

gives me TypeError: 'JavaPackage' object is not callable


DBR 8.2 (includes Apache Spark 3.1.1, Scala 2.12)

1 REPLY 1

feiyun0112
Honored Contributor

You need install Maven package `com.microsoft.azure:synapseml_2.12:1.0.2`

https://microsoft.github.io/SynapseML/docs/Get%20Started/Install%20SynapseML/#databricks