View source: R/civic_explain.R
| civic_explain | R Documentation |
Creates a civic_explainer containing feature importance and optionally a DALEX explainer for PDP/ICE and local explanations. Works for all task types: binary, multiclass, and regression.
civic_explain(object, data = NULL, label = NULL)
object |
A civic_model from civic_fit(). |
data |
Optional data frame for DALEX explainer. |
label |
Optional character label for the DALEX explainer. |
An object of class civic_explainer.
m <- civic_fit(Species ~ ., iris)
ex <- civic_explain(m)
print(ex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.