recipes
recipes copied to clipboard
Pipeable steps for feature engineering and data preprocessing to prepare for modeling
- [x] natural splines - [ ] restricted cubic splines - [x] orthogonal polynomials - [x] [periodic splines](https://stat.ethz.ch/R-manual/R-devel/library/splines/html/periodicSpline.html)
There are times where you have a limited number of levels in a factor, and you want to encode them in a specific way. Such as in the example below....
The steps `step_mutate_at()` and `step_rename_at()` are based on superseded dplyr functions `mutate_at()` and `rename_at()`.
## The problem If model is fit for `workflows::workflow()` and recipe steps include `step_select`, then `predict.workflow` fails. However, the same recipe works fine without using workflows package. ## Reproducible example...
## Feature When testing multiple model types (e.g., in an ensemble workflow), one could create a baseline recipe that works for most of the models. Then if one model has...
All the steps contain a number of arguments, many of which are standard arguments that the user won't/shouldn't touch. Should there be some highlighting/muting in the documentation to guide the...
## The problem I tried to compare results of a PLS dimension reduction with `recipes::step_pls()` and `mixOmics::plsda()` (at the begining, to recreate a importance plot like `mixOmics::plotLoadings()` in a tidy...
Similarly to how it was done in https://github.com/tidymodels/recipes/pull/927 for `step_normalize()`. # Reprex ``` r library(recipes) dat % step_range(x) %>% prep() %>% bake(new_data = NULL) #> # A tibble: 100 ×...
Such as the [proportion of the variance explained](https://stackoverflow.com/questions/73788952/get-the-proportion-of-the-variance-explained-in-a-plsda-with-recipes).
Hi, I hace this problem . I try to fit a poisson glm, some rows are repeted, so I want to use frecuency_weigths. The problem is that raamples cant use...