Explanations.Rd
This function finds Variable Attributions via Sequential Variable Conditioning.
It calls either local_attributions
for additive attributions
or local_interactions
for attributions with interactions.
Instance-level explainers
Dataset-level explainers
https://modeloriented.github.io/iBreakDown/reference/break_down.html
https://modeloriented.github.io/ingredients/reference/ceteris_paribus.html
new()
Construct an Explanations object
Explanations$new(...)
...
(ModelComposition
) One or more objects created by ModelComposition.
plot_break_down()
Explanations$plot_break_down(new_observation, ...)
new_observation
(data.frame
) A new observation with columns that
correspond to variables used in the model.
...
parameters passed to break_down.
plot_ceteris_paribus()
Explanations$plot_ceteris_paribus(new_observation, variables, ...)
new_observation
(data.frame
) A new observation with columns that
correspond to variables used in the model.
variables
(character
) A character vector with the variables names to
analyse.
...
parameters passed to ceteris_paribus.
clone()
The objects of this class are cloneable with this method.
Explanations$clone(deep = FALSE)
deep
Whether to make a deep clone.