Description Usage Arguments Details Super Learner See Also Examples
Random forest screener for SuperLearner()
that selects specified individual variables
and specified overall number of variables.
1 2 3 4 |
Y |
outcome variable (specified in SuperLearner()) |
X |
data frame |
nVar |
number of variables for the screener to select |
nFix |
number of individual variables that are alaways passed to SuperLearner() |
var.index |
indices of variables to always be included by the screener |
This function can be pretty slow, because currently it
operates by searching the rankings for the user selected ("fixed") variables. If the fixed variables
are included in the top nVar
then it does not change anything. If the fixed variables are
not included in the top nVar
, then it selects a subset of top nVar
; e.g., the overall number
of variables to select is 10 and 2 of the fixed variables are outside the top 10, it will select the
top 8, and convert the 2 fixed variables outside the top 10 to be TRUE
.
See SuperLearner()
documentation for information on additional arguments and
instructions on implementing SuperLearner()
.
screen.glmnet.fix
for lasso screener
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.