powered by
Uses the `iml` package to calculate ALE for the specified feature.
explain_ale(object, feature, ...)
An `iml` object containing ALE results.
A `fastml` object.
Character string specifying the feature name.
Additional arguments passed to `iml::FeatureEffect`.
if (FALSE) { data(iris) iris <- iris[iris$Species != "setosa", ] iris$Species <- factor(iris$Species) model <- fastml(data = iris, label = "Species") explain_ale(model, feature = "Sepal.Length") }
Run the code above in your browser using DataLab