Skip to content

Instantly share code, notes, and snippets.

@hrzn
Created August 23, 2022 14:20
Show Gist options
  • Save hrzn/0f669c767af97431edfb4cee57189008 to your computer and use it in GitHub Desktop.
Save hrzn/0f669c767af97431edfb4cee57189008 to your computer and use it in GitHub Desktop.
model = LinearRegressionModel(lags=12)
model.fit(train)
pred = model.predict(n=len(val))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment