Learn R Programming

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

iml (version 0.11.1)

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,511

Version

0.11.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

September 8th, 2022

Functions in iml (0.11.1)

InterpretationMethod

Interpretation Method
FeatureEffect

Effect of a feature on predictions
Shapley

Prediction explanations with game theory
FeatureImp

Feature importance
LocalModel

LocalModel
Interaction

Feature interactions
FeatureEffects

Effect of a feature on predictions
extract.glmnet.effects

Extract glmnet effects
has.predict

returns TRUE if object has predict function
order_levels

Order levels of a categorical features
plot.FeatureEffect

Plot FeatureEffect
Predictor

Predictor object
Partial

Effect of one or two feature(s) on the model predictions (deprecated)
probs.to.labels

Turn class probabilities into class labels
plot.Interaction

Plot Interaction
calculate.ale.num.cat

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

Plot Local Model
calculate.ale.num.num

Compute ALE for 2 numerical features
calculate.ale.cat

Compute ALE for 1 categorical feature
TreeSurrogate

Decision tree surrogate model
calculate.ale.num

Compute ALE for 1 numerical feature
plot.FeatureEffects

Plot FeatureEffect
plot.FeatureImp

Plot Feature Importance
predict.TreeSurrogate

Predict Tree Surrogate
iml-package

Make machine learning models and predictions interpretable
predict.LocalModel

Predict LocalModel
impute_cells

Impute missing cells of grid
plot.Shapley

Plot Shapley
plot.TreeSurrogate

Plot Tree Surrogate