Learn R Programming

iml (version 0.11.2)

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

4,821

Version

0.11.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

March 29th, 2024

Functions in iml (0.11.2)

LocalModel

LocalModel
Predictor

Predictor object
iml-package

Make machine learning models and predictions interpretable
impute_cells

Impute missing cells of grid
has.predict

returns TRUE if object has predict function
extract.glmnet.effects

Extract glmnet effects
plot.LocalModel

Plot Local Model
plot.Interaction

Plot Interaction
order_levels

Order levels of a categorical features
plot.FeatureEffect

Plot FeatureEffect
plot.TreeSurrogate

Plot Tree Surrogate
plot.Shapley

Plot Shapley
plot.FeatureEffects

Plot FeatureEffect
plot.FeatureImp

Plot Feature Importance
calculate.ale.cat

Compute ALE for 1 categorical feature
probs.to.labels

Turn class probabilities into class labels
calculate.ale.num

Compute ALE for 1 numerical feature
calculate.ale.num.num

Compute ALE for 2 numerical features
predict.TreeSurrogate

Predict Tree Surrogate
predict.LocalModel

Predict LocalModel
calculate.ale.num.cat

Compute ALE for 2 features, one numerical, one categorical
FeatureImp

Feature importance
Shapley

Prediction explanations with game theory
Partial

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

Decision tree surrogate model
FeatureEffect

Effect of a feature on predictions
FeatureEffects

Effect of a feature on predictions
InterpretationMethod

Interpretation Method
Interaction

Feature interactions