Is there a way with `StatsForecast.cross_validate`...
# statsforecast
m
Is there a way with
StatsForecast.cross_validate
to pass along exogenous variables? `StatsForecast.forecast`` has the
X_df
parameter, but I'm not seeing an equivalent solution for cross validation.
1
m
yes, you can. If you take a closer look at the docs, the
df
parameter in the
cross_validation
method should include the exogenous.
just make sure
df
includes all the future values required for each cross-validation window.
gratitude thank you 1