Learn R Programming

iml (version 0.11.4)

Interpretable Machine Learning

Description

Interpretability methods to analyze the behavior and predictions of any machine learning model. Implemented methods are: Feature importance described by Fisher et al. (2018) , accumulated local effects plots described by Apley (2018) , partial dependence plots described by Friedman (2001) , individual conditional expectation ('ice') plots described by Goldstein et al. (2013) , local models (variant of 'lime') described by Ribeiro et. al (2016) , the Shapley Value described by Strumbelj et. al (2014) , feature interactions described by Friedman et. al and tree surrogate models.

Copy Link

Version

Install

install.packages('iml')

Monthly Downloads

5,524

Version

0.11.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Giuseppe Casalicchio

Last Published

February 24th, 2025

Functions in iml (0.11.4)

FeatureImp

Feature importance
FeatureEffects

Effect of a feature on predictions
LocalModel

LocalModel
Interaction

Feature interactions
FeatureEffect

Effect of a feature on predictions
Partial

Effect of one or two feature(s) on the model predictions (deprecated)
TreeSurrogate

Decision tree surrogate model
Shapley

Prediction explanations with game theory
Predictor

Predictor object
InterpretationMethod

Interpretation Method
order_levels

Order levels of a categorical features
extract.glmnet.effects

Extract glmnet effects
has.predict

returns TRUE if object has predict function
predict.TreeSurrogate

Predict Tree Surrogate
predict.LocalModel

Predict LocalModel
iml-package

Make machine learning models and predictions interpretable
calculate.ale.cat

Compute ALE for 1 categorical feature
calculate.ale.num

Compute ALE for 1 numerical feature
plot.FeatureEffect

Plot FeatureEffect
probs.to.labels

Turn class probabilities into class labels
impute_cells

Impute missing cells of grid
plot.Interaction

Plot Interaction
plot.LocalModel

Plot Local Model
calculate.ale.num.num

Compute ALE for 2 numerical features
plot.Shapley

Plot Shapley
plot.FeatureImp

Plot Feature Importance
plot.TreeSurrogate

Plot Tree Surrogate
plot.FeatureEffects

Plot FeatureEffect
calculate.ale.num.cat

Compute ALE for 2 features, one numerical, one categorical