| importanceExportWrapper {forestFloor} | R Documentation |
wrapping randomForest::importance and check if one and only one importance is exported
importanceExportWrapper(rf, type = NULL, class = NULL, scale = NULL)
rf |
object of class randomForest |
type |
type of importance, 1 permutation based, 2 loss function based (gini/least squares) |
class |
character of factor level to get class specific importance, only for type 1 importance for classification random forest |
scale |
TRUE FALSE or NULL, passed to randomForest::importance |
internal wrapper to get importance
vector of importance for each feature
Soren Havelund Welling, 2017
importance
#no examples only for internal use