stevenpawley / recipeselectors

Additional recipes for supervised feature selection to be used with the tidymodels recipes package
https://stevenpawley.github.io/recipeselectors/
Other
55 stars 7 forks source link

Error at refit using modeltime_refit and modeltime_calibrate #12

Open rattyratster opened 1 year ago

rattyratster commented 1 year ago

Using recipe selectors with modeltime yields an error at modeltime_refit with new data and modeltime_calibrate with testing data even though the new data and testing data contain all predictor columns as the training data fed into the recipe.

Error: The following required columns are missing from new_data: "volume_lag88_roll_364", "event_holiday_thanksgiving". :information_source: These columns have one of the following roles, which are required at bake() time: "predictor".

stevenpawley commented 1 year ago

Hello, is it possible to provide a reproducible example? I don't use modeltime so it will be hard to figure out what the issue is. Also, the recipeselectors package is being transitioned to the colino package (https://github.com/stevenpawley/colino).

rattyratster commented 1 year ago

Thanks for responding.

I updated my script to use colino instead of recipeselectors and am seeing the same errors. Please see attached reprex. Included some notes/comments for your reference.

I appreciate your assistance with this!

reprex_error-with-colino-modeltime.zip