View source: R/xgboost_helpers.R View source: R/randomForest_helpers.R View source: R/keras_helpers.R
variableImportance | R Documentation |
Variable importance by permutations on predictors
Variable importance by permutations on predictors
Variable importance by permutations on predictors
variableImportance(
model,
data,
y,
repVi = 5,
variable_groups = NULL,
perm_dim = NULL,
comb_dims = FALSE,
...
)
variableImportance(
model,
data,
y,
repVi = 5,
variable_groups = NULL,
perm_dim = NULL,
comb_dims = FALSE,
...
)
variableImportance(
model,
data,
y,
repVi = 5,
variable_groups = NULL,
perm_dim = NULL,
comb_dims = FALSE,
...
)
model |
the model to use for predictions. |
data |
input data to permute and to use for predictions. |
y |
response data corresponding to |
repVi |
replicates of the permutations to calculate the importance of the variables. 0 to avoid calculating variable importance. |
variable_groups |
list of variables to join when calculating variable importance by permuting them at the same time. |
perm_dim |
dimension to perform the permutations to calculate the importance of the variables (data dimensions [case, time, variable]).
If |
comb_dims |
variable importance calculations, if |
... |
See ingredients::feature_importance()
. This function also works for multiinput and 3d data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.