Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created September 8, 2021 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/cba893f7744ec28bf4e920845d3d008e to your computer and use it in GitHub Desktop.
Save amankharwal/cba893f7744ec28bf4e920845d3d008e to your computer and use it in GitHub Desktop.
from autots import AutoTS
model = AutoTS(forecast_length=5, frequency='infer', ensemble='simple')
model = model.fit(data, date_col='Date', value_col='Close', id_col=None)
prediction = model.predict()
forecast = prediction.forecast
print(forecast)
@fadi1k
Copy link

fadi1k commented Apr 12, 2022

from autots import AutoTS
model = AutoTS(forecast_length=5, frequency='infer', ensemble='simple')
model = model.fit(data, date_col='Date', value_col='Close', id_col=None)
prediction = model.predict()
forecast = prediction.forecast
print(forecast)

@fadi1k
Copy link

fadi1k commented Apr 12, 2022

from autots import AutoTS
model = AutoTS(forecast_length=5, frequency='infer', ensemble='simple')
model = model.fit(data, date_col='Date', value_col='Close', id_col=None)
prediction = model.predict()
forecast = prediction.forecast
print(forecast)

can you explain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment