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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

nodream007 opened this issue · comments

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'

This should go away with the update to Prophet 1.1