ranger Random Forest importance adapters
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, ...)
x |
data frame of predictors including shadows. |
y |
response vector. |
ntree |
Number of trees in the forest; copied into |
num.trees |
Number of trees in the forest, as according to |
... |
parameters passed to the underlying |
Prior to Boruta 5.0, getImpLegacyRfZ
function was a default importance source in Boruta; see getImpLegacyRf for more details.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.