View source: R/print_feature_importance.R
| print.feature_importance_explainer | R Documentation |
Print Generic for Feature Importance Object
## S3 method for class 'feature_importance_explainer' print(x, ...)
x |
an explanation created with |
... |
other parameters. |
a data frame.
Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. https://ema.drwhy.ai/
library("DALEX")
library("ingredients")
model_titanic_glm <- glm(survived ~ gender + age + fare,
data = titanic_imputed, family = "binomial")
explain_titanic_glm <- explain(model_titanic_glm,
data = titanic_imputed[,-8],
y = titanic_imputed[,8],
verbose = FALSE)
fi_glm <- feature_importance(explain_titanic_glm)
fi_glm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.