Ordering of Steps

In recipes, there are no constraints related to the order in which steps are added to the recipe. However, there are some general suggestions that you should consider:

While your project's needs may vary, here is a suggested order of potential steps that should work for most problems:

  1. Impute
  2. Individual transformations for skewness and other issues
  3. Discretize (if needed and if you have no other choice)
  4. Create dummy variables
  5. Create interactions
  6. Normalization steps (center, scale, range, etc)
  7. Multivariate transformation (e.g. PCA, spatial sign, etc)

Again, your milage may vary for your particular problem.



Try the recipes package in your browser

Any scripts or data that you put into this service are public.

recipes documentation built on July 2, 2020, 4:02 a.m.