-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
We have lots of examples of folks having trouble with all_nominal() and all_numeric() when they accidentally select outcomes or other non-predictors. Mine talked about running into this during teaching, and here is one example of many from the general user base. A significant challenge is that because of how/when these steps are evaluated, the error message is often opaque.
What would be a good way to reduce this friction?
- Should
all_nominal()andall_numeric()only select predictors? - Should these be replaced by new selectors like
all_nominal_preds()andall_numeric_preds()? - Some recipe steps are more prone to this problem, like
step_dummy(). Protections at the step level? - Something else?
kylegilde
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement