tidymodels / recipes

Pipeable steps for feature engineering and data preprocessing to prepare for modeling
https://recipes.tidymodels.org
Other
569 stars 112 forks source link

Add helper function to locate variables of specific types #1026

Closed EmilHvitfeldt closed 5 months ago

EmilHvitfeldt commented 2 years ago

Many of the themis steps needs to know which variables are predictors, steps like step_lencode_glm() needs to know what the outcome is.

There should be a function here in {recipes} that provides this information. Not super complicated, but it should work correctly and be able to handle the NA roles as well.

(After Conf)

github-actions[bot] commented 5 months ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex https://reprex.tidyverse.org) and link to this issue.