Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created August 9, 2021 08:01
Show Gist options
  • Save amankharwal/7332108351e7c40e125de5fc27875f59 to your computer and use it in GitHub Desktop.
Save amankharwal/7332108351e7c40e125de5fc27875f59 to your computer and use it in GitHub Desktop.
from autots import AutoTS
model = AutoTS(forecast_length=4, frequency='infer', ensemble='simple')
model = model.fit(data, date_col='period_end', value_col='followers_gained', id_col=None)
prediction = model.predict()
forecast = prediction.forecast
print(forecast)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment