Description Usage Arguments Value Author(s)
View source: R/tdmModelingUtils.r
Build a Random Forest using importance=TRUE
. Usually the RF is smaller (50 trees), to speed up computation.
Use na.roughfix for missing value replacement.
Decide which input variables to keep and return them in SRF$input.variables
1 | tdmModSortedRFimport(d_train, response.variable, input.variables, opts)
|
d_train |
training set |
response.variable |
the target column from |
input.variables |
the input columns from |
opts |
options, here we use the elements [defaults in brackets]:
|
SRF
, a list with the following elements:
input.variables |
the vector of input variables which remain after importance processing. These are sorted by decreasing importance. |
s_input |
all input.variables sorted by decreasing (**NEW**) importance |
s_imp1 |
the importance for s_input |
s_dropped |
vector with name of dropped variables |
lsd |
length of s_dropped |
perc |
the percentage of total importance which is in the dropped variables |
opts |
some defaults might have been added |
Wolfgang Konen, Patrick Koch wolfgang.konen@th-koeln.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.