Skip to content

Instantly share code, notes, and snippets.

@alex-hse-repository
Created June 1, 2022 06:01
Show Gist options
  • Save alex-hse-repository/1a3cb690fb432a1819b5faafe3f702ef to your computer and use it in GitHub Desktop.
Save alex-hse-repository/1a3cb690fb432a1819b5faafe3f702ef to your computer and use it in GitHub Desktop.
from etna.analysis import plot_backtest
HORIZON = 365
pipeline = Pipeline(model=ProphetModel(), transforms=[], horizon=HORIZON)
metrics, forecasts, _ = 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