Skip to content

Instantly share code, notes, and snippets.

@ABourcevet
Forked from muneebhashmi7712/adv-14.r
Created January 11, 2022 10:24
Show Gist options
  • Select an option

  • Save ABourcevet/a0b2767399f0b86e1d464f01de72c37c to your computer and use it in GitHub Desktop.

Select an option

Save ABourcevet/a0b2767399f0b86e1d464f01de72c37c to your computer and use it in GitHub Desktop.
tbats_model = tbats(training)
tbats_forecast = forecast(tbats_model, h=length(validation))
MAPE(tbats_forecast$mean, validation) * 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment