Guest User

Untitled

a guest
Oct 15th, 2019
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Splitting 80/20
  2. index = round(len(bc)*.80)
  3. train = bc_log.iloc[:index]
  4. test = bc_log.iloc[index:]
  5.  
  6. # Fitting the model to the training set
  7. model = SARIMAX(train,
  8. order=(1, 0, 0),
  9. seasonal_order=(0,0,0,0),
  10. freq='D',
  11. enforce_stationarity=False,
  12. enforce_invertibility=False)
  13. output = model.fit()
RAW Paste Data