Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. model = ARIMA(y_train, order=(3,1,4))
  2. model_fit = model.fit(disp=0)
  3. predictions = model_fit.predict(start=y_test.index.min(), end=y_test.index.max(), typ='levels')
  4.  
  5. predictions = model_fit.predict(start=y_train.index.min(), end=y_train.index.max(), typ='levels')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement