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: 

Prophet/PyStan compiling error in Runtime 10.4 LTS ML

cheng
New Contributor

We're upgrading our ML jobs from using Runtime 9.1 LTS ML to Runtime 10.4 LTS ML in Databricks. One of the libraries our jobs relying on is Prophet. From 9.1 to 10.4, both the versions of Prophet (1.0.1) and PyStan (2.19.1.1) haven't changed, however, Prophet in 10.4 LTS ML doesn't work properly. Is that possible to get the LTS runtime fixed for Prophet/PyStan or other recommendation in addressing the issue from our end? Many thanks!

Minimal example for testing:

import prophet
import pandas as pd
 
df = pd.DataFrame({"ds": [1.0, 2.0, 3.0, 4.0], "y": [0.1, 0.2, 0.3, 0.4]})
model = prophet.Prophet()
model.fit(df)

The example works with Runtime 9.1 LTS ML, however not with Runtime 10.4 LTS ML (error message --

AttributeError: 'StanModel' object has no attribute 'fit_class').

0 REPLIES 0

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