Those function is intended to be given to a getImp
argument of Boruta
function to be called by the Boruta algorithm as an importance source.
getImpRfZ
generates default, normalized permutation importance, getImpRfRaw
raw permutation importance, finally getImpRfGini
generates Gini index importance.
getImpRfZ(x, y, ntree = 500, num.trees = ntree, ...)getImpRfGini(x, y, ntree = 500, num.trees = ntree, ...)
getImpRfRaw(x, y, ntree = 500, num.trees = ntree, ...)
data frame of predictors including shadows.
response vector.
Number of trees in the forest; copied into ranger
's native num.trees, put to retain transparent compatibility with randomForest.
Number of trees in the forest, as according to ranger
's nomenclature. If not given, set to ntree
value. If both are given, num.trees
takes precedence.
parameters passed to the underlying ranger
call; they are relayed from ...
of Boruta
.