var_imp | R Documentation |
Methods to calculate variable importance for different classifiers.
var_imp(mod, ...)
## Default S3 method:
var_imp(mod, ...)
## S3 method for class 'randomForest'
var_imp(mod, ...)
## S3 method for class 'maboost'
var_imp(mod, ...)
## S3 method for class 'train'
var_imp(mod, ...)
mod |
model object from |
... |
additional arguments to be passed to or from methods |
Derek Chiu
data(hgsc)
class <- attr(hgsc, "class.true")
mod <- classification(hgsc, class, "xgboost")
var_imp(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.