Darius Marginean
03/23/2023, 5:39 PMTrue
to False
?fede (nixtla) (they/them)
03/29/2023, 6:28 PMmodel = AutoARIMAProphet()
# "register" the external regressor
model.add_regressor('my_external_regressor')
# train df should have the external regressor
train_df = Y_df[['ds', 'y', 'my_external_regressor']]
# train the model
model.fit(train_df)
# create future dataframe
future_df = model.make_future_dataframe(7, freq='M')
# future_df only contains the ds column, you have to add
# the external regressor
future_df['my_external_regressor'] = ...
model.predict(future_df)