Synapse ML - TypeError: 'JavaPackage' object is not callable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 01:09 PM
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)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 07:22 PM - edited 01-31-2024 07:37 PM
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