Preprocessing and Feature Engineering Steps for Modeling

A recipe prepares your data for modeling. We provide an extensible framework for pipeable sequences of feature engineering steps provides preprocessing tools to be applied to data. Statistical parameters for the steps can be estimated from an initial data set and then applied to other data sets. The resulting processed output can then be used as inputs for statistical or machine learning models.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("recipes")

1.4.0 by Max Kuhn, 2 months ago


https://github.com/tidymodels/recipes, https://recipes.tidymodels.org/


Report a bug at https://github.com/tidymodels/recipes/issues


Browse source code at https://github.com/cran/recipes


Authors: Max Kuhn [aut, cre] , Hadley Wickham [aut] , Emil Hvitfeldt [aut] , Posit Software , PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, clock, generics, glue, gower, hardhat, ipred, lifecycle, lubridate, magrittr, Matrix, purrr, rlang, sparsevctrs, stats, tibble, tidyr, tidyselect, timeDate, utils, vctrs, withr

Depends on dplyr

Suggests covr, ddalpha, dials, dimRed, fastICA, ggplot2, igraph, kernlab, knitr, methods, mixOmics, modeldata, parsnip, quarto, RANN, RcppRoll, rmarkdown, rpart, rsample, RSpectra, splines2, survival, testthat, workflows, xml2


Imported by BioMoR, CSCNet, CimpleG, HTRX, LLMAgentR, MLDataR, MLwrap, MachineShop, OptimalBinningWoE, SimuRg, actxps, autostats, bestNormalize, caret, collinear, correlationfunnel, cvms, easyalluvial, fastml, finnts, h3sdm, healthyR.ai, healthyR.ts, kerasnip, ldmppr, manydist, misl, modeltime.ensemble, modeltime.resample, mrIML, sae.projection, sparseR, stabiliser, stacks, text, tidymodels, tidysdm, tidyspec, tidysynthesis, timetk, triageR, tune, usemodels, viralx, workflows.

Depended on by embed, important, scimo, shinyrecipes, tdarec, textrecipes, themis.

Suggested by AMR, BORG, DALEXtra, SomaDataIO, additive, agua, applicable, baguette, bases, bayesian, bioLeak, bnns, brulee, bundle, butcher, cuda.ml, dann, equatiomatic, factoextra, finetune, foundryR, hardhat, heteroTests, huggingfaceR, insight, joinery, kindling, modeltime, offsetreg, omicsTools, orbital, palmerpenguins, pridit, probably, psvr, pysparklyr, rsample, rules, shapr, spqrp, swag, tabnet, tabpfn, tfhub, tidyAML, tidybins, tidyclust, tidydann, vetiver, waywiser, workflowsets, yaap.


See at CRAN