site-packages/statsforecast/core.py", line 642, in predict
fcsts, cols = self.ga.predict(fm=self.fitted_, h=h, X=X, level=level)
AttributeError: 'StatsForecast' object has no attribute 'ga'
Versions / Dependencies
Name: statsforecast
Version: 1.5.0
Summary: Time series forecasting suite using statistical models
Home-page: https://github.com/Nixtla/statsforecast/
Author: Nixtla
Author-email: business@nixtla.io
License: Apache Software License 2.0
Location: /Users/leo/web3/LLM/langchain/venv/lib/python3.10/site-packages
Requires: fugue, matplotlib, numba, numpy, pandas, plotly, plotly-resampler, scipy, statsmodels, tqdm
Required-by:
What happened + What you expected to happen
site-packages/statsforecast/core.py", line 642, in predict fcsts, cols = self.ga.predict(fm=self.fitted_, h=h, X=X, level=level) AttributeError: 'StatsForecast' object has no attribute 'ga'
Versions / Dependencies
Name: statsforecast Version: 1.5.0 Summary: Time series forecasting suite using statistical models Home-page: https://github.com/Nixtla/statsforecast/ Author: Nixtla Author-email: business@nixtla.io License: Apache Software License 2.0 Location: /Users/leo/web3/LLM/langchain/venv/lib/python3.10/site-packages Requires: fugue, matplotlib, numba, numpy, pandas, plotly, plotly-resampler, scipy, statsmodels, tqdm Required-by:
Reproduction script
df = pd.read_csv('https://datasets-nixtla.s3.amazonaws.com/air-passengers.csv', parse_dates=['ds'])
sf = StatsForecast( models=[AutoARIMA(season_length=12)], freq='M', )
forecast_df = sf.predict(h=12, level=[90])
sf.plot(df, forecast_df, level=[90])
Issue Severity
High: It blocks me from completing my task.