Skip to content

Instantly share code, notes, and snippets.

@alexhallam
Created May 28, 2022 17:24
Show Gist options
  • Save alexhallam/dbda92912f100c67f73b9f6448214a47 to your computer and use it in GitHub Desktop.
Save alexhallam/dbda92912f100c67f73b9f6448214a47 to your computer and use it in GitHub Desktop.
seasonal naive
import tablespoon as tbsp
from tablespoon.data import SEAS
sn = tbsp.Snaive()
df_sn = sn.predict(
SEAS, horizon=7 * 4, frequency="D", lag=7, uncertainty_samples=800
).assign(model="snaive")
df_sn.head(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment