rfVarSelect | R Documentation |
Select important variables from a set of features based on RF-estimated variable importance
rfVarSelect(x, y, p = 0.2, print.plot = TRUE, verbose = TRUE)
x |
Predictors |
y |
outcome |
p |
Float (0, 1): Fraction of variables in x to select. |
print.plot |
Logical: If TRUE, print plot of variable importance |
verbose |
Logical: If TRUE, print messages to console. |
Please note that this function is included for academic and exploratory purposes. It may be best to rely on each supervised learning algorithm's own variable selection approach.
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.