Learn R Programming

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

DALEX (version 2.4.1)

moDel Agnostic Language for Exploration and eXplanation

Description

Any unverified black box model is the path to failure. Opaqueness leads to distrust. Distrust leads to ignoration. Ignoration leads to rejection. DALEX package xrays any model and helps to explore and explain its behaviour. 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 direct interpretability. DALEX package contains various methods that help to understand the link between input variables and model output. Implemented methods help to explore the model on the level of a single instance as well as a level of the whole dataset. All model explainers are model agnostic and can be compared across different models. DALEX package is the cornerstone for 'DrWhy.AI' universe of packages for visual model exploration. Find more details in (Biecek 2018) .

Copy Link

Version

Install

install.packages('DALEX')

Monthly Downloads

5,411

Version

2.4.1

License

GPL

Last Published

May 21st, 2022

Functions in DALEX (2.4.1)

dragons

Dragon Data
model_diagnostics

Dataset Level Model Diagnostics
colors_discrete_drwhy

DrWhy color palettes for ggplot objects
loss_yardstick

Wrapper for Loss Functions from the Yarstick Package
explain.default

Create Model Explainer
fifa

FIFA 20 preprocessed data
HR

Human Resources Data
apartments

Apartments Data
model_performance

Dataset Level Model Performance Measures
install_dependencies

Install all dependencies for the DALEX package
loss_cross_entropy

Calculate Loss Functions
plot.list

Plot List of Explanations
model_profile

Dataset Level Variable Profile as Partial Dependence or Accumulated Local Dependence Explanations
plot.model_parts

Plot Variable Importance Explanations
predict_parts

Instance Level Parts of the Model Predictions
plot.model_performance

Plot Dataset Level Model Performance Explanations
print.predict_diagnostics

Print Instance Level Residual Diagnostics
plot.model_profile

Plot Dataset Level Model Profile Explanations
plot.predict_parts

Plot Variable Attribution Explanations
predict_profile

Instance Level Profile as Ceteris Paribus
model_info

Exract info from model
update_label

Update label of explainer object
print.model_diagnostics

Print Dataset Level Model Diagnostics
plot.model_diagnostics

Plot Dataset Level Model Diagnostics
theme_drwhy

DrWhy Theme for ggplot objects
print.description

Print Natural Language Descriptions
print.explainer

Print Explainer Summary
plot.predict_profile

Plot Variable Profile Explanations
plot.predict_diagnostics

Plot Instance Level Residual Diagnostics
variable_effect

Dataset Level Variable Effect as Partial Dependency Profile or Accumulated Local Effects
print.model_info

Print model_info
model_parts

Dataset Level Variable Importance as Change in Loss Function after Variable Permutations
predict.explainer

Predictions for the Explainer
predict_diagnostics

Instance Level Residual Diagnostics
yhat

Wrap Various Predict Functions
print.model_performance

Print Dataset Level Model Performance Summary
print.model_profile

Print Dataset Level Model Profile
titanic

Passengers and Crew on the RMS Titanic Data
update_data

Update data of an explainer object