-
I am trying to use statsforecast AutoArima for forecasting on below type of data:
I have two years data for training and forecasting for a 13 week horizon. I am calling model.fit like below:
But for AutoARIMA I am getting "ValueError: math domain error", stack trace below:
Looking at the code generating error, seems to be that nstar is coming out negative in below equation:
All these values are a result of forecast evaluation only. Is there any parameter I can pass to fix this error or is it a data issue like having smaller numbers? I am following this article to setup hierarchical forecasting on my data. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the problem. I was running hierarchical forecasting on multiple time series. Some of those time series had missing data points. For me those type of time series can be ignored, so I removed them. Alternatively, you can fill missing data points with some constant value. Thanks! |
Beta Was this translation helpful? Give feedback.
Found the problem.
I was running hierarchical forecasting on multiple time series.
Some of those time series had missing data points.
For me those type of time series can be ignored, so I removed them. Alternatively, you can fill missing data points with some constant value.
Thanks!