Learn R Programming

⚠️There's a newer version (0.11.4) of this package.Take me there.

iml (version 0.11.0)

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

6,948

Version

0.11.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Christoph Molnar

Last Published

May 12th, 2022

Functions in iml (0.11.0)

InterpretationMethod

Interpretation Method
Predictor

Predictor object
Shapley

Prediction explanations with game theory
FeatureEffect

Effect of a feature on predictions
TreeSurrogate

Decision tree surrogate model
Partial

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

Effect of a feature on predictions
LocalModel

LocalModel
FeatureImp

Feature importance
Interaction

Feature interactions
extract.glmnet.effects

Extract glmnet effects
impute_cells

Impute missing cells of grid
iml-package

Make machine learning models and predictions interpretable
probs.to.labels

Turn class probabilities into class labels
calculate.ale.num.num

Compute ALE for 2 numerical features
plot.FeatureImp

Plot Feature Importance
plot.FeatureEffects

Plot FeatureEffect
calculate.ale.num.cat

Compute ALE for 2 features, one numerical, one categorical
plot.TreeSurrogate

Plot Tree Surrogate
has.predict

returns TRUE if object has predict function
plot.Shapley

Plot Shapley
order_levels

Order levels of a categorical features
plot.Interaction

Plot Interaction
plot.FeatureEffect

Plot FeatureEffect
plot.LocalModel

Plot Local Model
calculate.ale.num

Compute ALE for 1 numerical feature
calculate.ale.cat

Compute ALE for 1 categorical feature
predict.LocalModel

Predict LocalModel
predict.TreeSurrogate

Predict Tree Surrogate