Learn R Programming

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

DALEX (version 0.2.7)

Descriptive mAchine Learning EXplanations

Description

Machine Learning (ML) models are widely used and have various applications in classification or regression. Models created with boosting, bagging, stacking or similar techniques are often used due to their high performance, but such black-box models usually lack of interpretability. DALEX package contains various explainers that help to understand the link between input variables and model output. The single_variable() explainer extracts conditional response of a model as a function of a single selected variable. It is a wrapper over packages 'pdp' and 'ALEPlot'. The single_prediction() explainer attributes parts of a model prediction to particular variables used in the model. It is a wrapper over 'breakDown' package. The variable_dropout() explainer calculates variable importance scores based on variable shuffling. All these explainers can be plotted with generic plot() function and compared across different models.

Copy Link

Version

Install

install.packages('DALEX')

Monthly Downloads

6,326

Version

0.2.7

License

GPL

Maintainer

Przemyslaw Biecek

Last Published

March 3rd, 2019

Functions in DALEX (0.2.7)

yhat

Wrapper over the predict function
prediction_breakdown

Explanations for a Single Prediction
variable_importance

Loss from Variable Dropout
variable_response

Marginal Response for a Single Variable
print.explainer

Prints Explainer Summary
plot.variable_response_explainer

Plots Marginal Model Explanations (Single Variable Responses)
print.model_performance_explainer

Model Performance Summary
theme_mi2

MI^2 Theme
loss_cross_entropy

Preimplemented Loss Functions
HR

Human Resources Data
plot.model_performance_explainer

Model Performance Plots
plot.variable_importance_explainer

Plots Global Model Explanations (Variable Importance)
dragons

Dragon Data
explain.default

Create Model Explainer
model_performance

Model Performance Plots
apartments

Apartments Data
plot.prediction_breakdown_explainer

Plots Local Explanations (Single Prediction)