Slackbot
08/15/2023, 2:26 PMKevin Kho
08/15/2023, 6:04 PMsf.fitted_[0][0].model_
Kevin Kho
08/15/2023, 6:08 PMMariana Menchero
08/15/2023, 9:54 PMMariana Menchero
08/15/2023, 9:54 PMcrossvalidation_df = sf.cross_validation(
df = df,
h = 48,
step_size = 48,
n_windows = 3
)
With this, you are fitting a MSTL model using all the information up to the cutoff date. If you want to fit the whole historical data, just change the number of windows to include all possible values.
If this is not what you need/want, please elaborate so we can help you with that.Matej
08/16/2023, 12:37 PMMatej
08/16/2023, 12:39 PMMatej
08/16/2023, 12:46 PMsf.fitted_[0][0].model_
for MSTL this only returns the components:
data trend seasonal remainder
...
I assume I have to calculate the summary such as likelihood and R^2 by myself out of these numbers or out of
insample_forecasts = sf.forecast_fitted_values()
Sorry for asking dumb questions, some things are not obvious from the documentation.Brian Head
09/13/2023, 8:48 PM