tidy models stacks referencing non-existent column when predicting on new data

I am creating a Plumber API that returns predictions from a stacked ensemble model made with stacks. I am hitting an error when trying to create the prediction though. I have a column called customer_800_club that is used in the model workflow. When the new data to be predicted is used by the predict function, it is somehow called customer_800_club_X0. I have the following code to make my prediction:

my_pred <- predict(right_model, new_data = to_predict)

where right_model is of class: "linear_stack" "model_stack" "list"

I have gone through every step of my workflow and cannot find where the column name would be getting changed. Thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.