You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function make_future_dataframe() calls _check_dataframe(...)here which then calls df_utils.check_dataframe(...). This latter method returns lag_regressors_to_remove as part of the response which _check_dataframe(...) then uses to remove lagged regressors from the model here.
However, what this means is that if during inference a dataframe is passed to make_future_dataframe() has a regressor that is completely the same value, the model itself is unexpected mutated. Subsequent calls to the predict function will fail or have unexpected behavior because the model no longer knows about the lagged regressors.
I'm not sure if this was intended, but it's a confusing side effect of calling make_future_dataframe() - perhaps there should be a check so that the model regressors are not touched when calling this dataframe?
The text was updated successfully, but these errors were encountered:
The function
make_future_dataframe()
calls_check_dataframe(...)
here which then callsdf_utils.check_dataframe(...)
. This latter method returnslag_regressors_to_remove
as part of the response which_check_dataframe(...)
then uses to remove lagged regressors from the model here.However, what this means is that if during inference a dataframe is passed to
make_future_dataframe()
has a regressor that is completely the same value, the model itself is unexpected mutated. Subsequent calls to thepredict
function will fail or have unexpected behavior because the model no longer knows about the lagged regressors.I'm not sure if this was intended, but it's a confusing side effect of calling
make_future_dataframe()
- perhaps there should be a check so that the model regressors are not touched when calling this dataframe?The text was updated successfully, but these errors were encountered: