Description Usage Arguments Value Examples
View source: R/global_variable_importance.R
This function calculate global importance measure.
1 | global_variable_importance(profiles)
|
profiles |
|
A data.frame
of the class global_variable_importance
.
It's a data.frame
with calculated global variable importance measure.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library("DALEX")
data(apartments)
library("randomForest")
apartments_rf_model <- randomForest(m2.price ~ construction.year + surface +
floor + no.rooms, data = apartments)
explainer_rf <- explain(apartments_rf_model, data = apartmentsTest[,2:5],
y = apartmentsTest$m2.price)
profiles <- model_profile(explainer_rf)
library("vivo")
global_variable_importance(profiles)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.