Feature types and the eight steps
Feature type and the eight positions are two groupings of the same steps: a feature type says what kind of column a step works on, a position says when it runs. Crossing them shows where each step lives, and that the two cut across each other rather than nesting.
Italicized steps are planned or not yet in this build.
| Position | Numeric | Categorical | Datetime | Missing data | Text | Dim. reduction |
|---|---|---|---|---|---|---|
| 1. Missing: impute | step_impute_mean step_impute_median step_impute_mode step_indicate_na |
|||||
| 2. Missing: category levels | step_unknown step_other step_novel |
step_unknown |
||||
| 3. Wrangle: transforms | step_log step_order_norm |
step_date_features step_datetime_features |
||||
| 4. Wrangle: discretize | none | |||||
| 5. Wrangle: dummy variables | step_dummy step_one_hot |
step_holiday |
||||
| 6. Model prep: interactions | step_polynomial step_interact step_spline_natural step_spline_monotone |
|||||
| 7. Model prep: normalize | step_normalize step_range |
|||||
| 8. Multivariate transforms | step_pca step_class_distance step_pls |
Reading the empty space is as useful as reading the cells:
- Text features has no entries at all: that feature type is handled at the recipe’s boundary today, not by steps.
- Position 4 (discretize) is empty by design: no step fills it, and R recipes itself discourages it.
- The filter steps don’t appear:
step_drop_zero_varianceandstep_drop_corrhold no position; see dropping columns.