recipeselectors | Additional recipes for supervised feature selection | Build Tool library
kandi X-RAY | recipeselectors Summary
kandi X-RAY | recipeselectors Summary
The goal of recipeselectors is to provide extra supervised feature selection steps to be used with the tidymodels recipes package. The package is under development.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of recipeselectors
recipeselectors Key Features
recipeselectors Examples and Code Snippets
Community Discussions
Trending Discussions on recipeselectors
QUESTION
As you can see from my code, I am trying to include feature selection into my tidymodels workflow. I am using some kaggle data, trying to predict customer churn.
In order to apply processing to test and training data, I am baking the recipe after I am using the the prep() function.
However, if I want to apply tuning for the step_select_roc() functions top_p argument, I do not know, how to prep() the recipe afterwards. Applying it as in my reprex, results in an error.
Maybe I have to adapt my workflow and separate some recipe tasks to get the job done. What is the best approach to achieve this?
...ANSWER
Answered 2022-Feb-23 at 00:58You can't prep()
a recipe that has tuneable arguments. Think of prep()
as an analogy for fit()
for a model; you can't fit a model if you haven't set the hyperparameters.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install recipeselectors
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page