Skip to content

Instantly share code, notes, and snippets.

@alexhallam
Created May 31, 2022 19:50
Show Gist options
  • Select an option

  • Save alexhallam/ba5d5c1c99069ba2ba0e7df75ccaac1a to your computer and use it in GitHub Desktop.

Select an option

Save alexhallam/ba5d5c1c99069ba2ba0e7df75ccaac1a to your computer and use it in GitHub Desktop.

Revisions

  1. alexhallam created this gist May 31, 2022.
    3 changes: 3 additions & 0 deletions tbps_walmart_forecast.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    n = tbsp.Snaive()
    df_n = (n.predict(df_WALMART, horizon=7*4, frequency="D", lag = 7, uncertainty_samples = 1000).assign(model = 'snaive'))
    df_n.head(14)