YEAR: 2019 47 | COPYRIGHT HOLDER: Steven Pawley 48 |49 | 50 |
See magrittr::%>% for details.
lhs %>% rhsCopyright (c) 2019 Steven Pawley
49 |Permission is hereby granted, free of charge, to any person obtaining 50 | a copy of this software and associated documentation files (the 51 | “Software”), to deal in the Software without restriction, including 52 | without limitation the rights to use, copy, modify, merge, publish, 53 | distribute, sublicense, and/or sell copies of the Software, and to 54 | permit persons to whom the Software is furnished to do so, subject to 55 | the following conditions:
56 |The above copyright notice and this permission notice shall be 57 | included in all copies or substantial portions of the Software.
58 |THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, 59 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 60 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 61 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 62 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 63 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 64 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65 |R/parameters.R
47 | top_p.RdFeature selection recipes allow the top-performing features to be selected 52 | using two parameters. `top_p` is for specifying the number of the 53 | top-performing features.
54 |top_p(range = c(1L, 4L), trans = NULL)A two-element vector holding the _defaults_ for the smallest and 64 | largest possible values, respectively.
A `trans` object from the `scales` package, such as 67 | `scales::log10_trans()` or `scales::reciprocal_trans()`. If not provided, 68 | the default is used which matches the units used in `range`. If no 69 | transformation, `NULL`.
A function with classes "quant_param" and "param"
74 |top_p(c(3, 10))
79 | #> # Selected Predictors (quantitative)
80 | #> Range: [3, 10]
81 |
47 | All functions48 | 49 | |
50 | |
|---|---|
| 51 | 52 | | 53 |Pull feature importances from a parsnip fitted model |
54 |
| 55 | 56 | | 57 |recipeselectors: A collection of steps for feature selection to use with the 58 | 'recipes' package |
59 |
| 60 | 61 | | 62 |Feature selection step using Boruta |
63 |
| 64 | 65 | | 66 |Information gain feature selection step |
67 |
| 68 | 69 | | 70 |Feature selection step using a random forest feature importance scores |
71 |
| 72 | 73 | | 74 |Information gain feature selection step |
75 |
| 76 | 77 | | 78 |Feature selection step using the magnitude of a linear models' coefficients |
79 |
| 80 | 81 | | 82 |Apply minimum Redundancy Maximum Relevance Feature Selection (mRMR) |
83 |
| 84 | 85 | | 86 |Filter Numeric Predictors using ROC Curve |
87 |
| 88 | 89 | | 90 |Feature selection step using a decision tree importance scores |
91 |
| 92 | 93 | | 94 |Feature selection step using a model's feature importance scores or 95 | coefficients |
96 |
| 97 | 98 | | 99 |Filter Categorical Predictors using Contingency Tables |
100 |
| 101 | 102 | | 103 |Parameter functions for feature selection recipes |
104 |