Description Usage Arguments Details Super Learner See Also Examples
Random forest screener for SuperLearner()
that selects
user specified variables in addition to variables chosen data-adaptively
1 2 3 4 |
Y |
outcome variable (specified in |
X |
data frame |
nVar |
number of variables for the screener to select |
var.index |
indices of variables to always be included by the screener |
If you do not care about the exact number of variables the screener chooses, use this function
rather than screen.rf.fix.exact
. This function is faster, but will not necessarily return
exactly nVar
variables to SuperLearner()
. screen.rf.fuzzy
selects the top
nVar
variables, and then also makes sure the user specified variables are also passed
to SuperLearner()
. If the user specified variables are in the top nVar
variables,
then nVar
variables will be passed to SuperLearner()
. If any of the user
specified variables are outside the top nVar
variables, then more than nVar
variables will be passed to SuperLearner()
.
See SuperLearner()
documentation for information on additional arguments and
instructions on implementing SuperLearner()
.
screen.glmnet.fix
for lasso screener, screen.rf.exact
for exact random forest screener.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.