Skip to content

Instantly share code, notes, and snippets.

@alex-hse-repository
Created June 1, 2022 06:08
Show Gist options
  • Save alex-hse-repository/cd2306f8f39c542acf25f7088047b57a to your computer and use it in GitHub Desktop.
Save alex-hse-repository/cd2306f8f39c542acf25f7088047b57a to your computer and use it in GitHub Desktop.
pipeline = Pipeline(
model=ProphetModel(yearly_seasonality=True, holidays=holidays_df),
transforms=[],
horizon=HORIZON
)
metrics, forecast, _ = pipeline.backtest(ts, metrics=[SMAPE()], n_folds=1)
plot_backtest(forecast, ts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment