Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2019 07:31 AM
Hi Folks,
We are working on production Databricks project using Mleap.
when run below code on databricks, it throws error like " 'JavaPackage' object is not callable"
code :
import mleap.pyspark from mleap.pyspark.spark_support import SimpleSparkSerializer model.serializeToBundle("jar:file:/databricks/mleap_python_model_export/20news_pipeline-json.zip", sparkTransformed)Error:
TypeError: 'JavaPackage' object is not callablePlease help me with this.
Thanks
Srinivas
Labels:
- Labels:
-
Data Ingestion & connectivity
-
Python