facebookresearch / Kats

Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.
MIT License
4.9k stars 537 forks source link

AttributeError: 'StanModel' object has no attribute 'fit_class' #258

Open nodream007 opened 2 years ago

nodream007 commented 2 years ago

File "/opt/miniconda3/lib/python3.9/site-packages/kats/models/prophet.py", line 285, in fit self.model = prophet.fit(df=df) File "/opt/miniconda3/lib/python3.9/site-packages/fbprophet/forecaster.py", line 1166, in fit self.params = self.stan_backend.fit(stan_init, dat, kwargs) File "/opt/miniconda3/lib/python3.9/site-packages/fbprophet/models.py", line 245, in fit self.stan_fit = self.model.optimizing(args) File "/opt/miniconda3/lib/python3.9/site-packages/pystan/model.py", line 542, in optimizing fit = self.fit_class(data, seed) AttributeError: 'StanModel' object has no attribute 'fit_class'

michaelbrundage commented 2 years ago

This should go away with the update to Prophet 1.1