-
-
Save amankharwal/cba893f7744ec28bf4e920845d3d008e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
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
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)