Learn R Programming

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

DALEXtra (version 2.0)

Extension for 'DALEX' Package

Description

Provides wrapper of various machine learning models. In applied machine learning, there is a strong belief that we need to strike a balance between interpretability and accuracy. However, in field of the interpretable machine learning, there are more and more new ideas for explaining black-box models, that are implemented in 'R'. 'DALEXtra' creates 'DALEX' Biecek (2018) explainer for many type of models including those created using 'python' 'scikit-learn' and 'keras' libraries, and 'java' 'h2o' library. Important part of the package is Champion-Challenger analysis and innovative approach to model performance across subsets of test data presented in Funnel Plot. Third branch of 'DALEXtra' package is aspect importance analysis that provides instance-level explanations for the groups of explanatory variables.

Copy Link

Version

Install

install.packages('DALEXtra')

Monthly Downloads

4,501

Version

2.0

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Szymon Maksymiuk

Last Published

September 7th, 2020

Functions in DALEXtra (2.0)

explain_mlr

Create explainer from your mlr model
explain_h2o

Create explainer from your h2o model
champion_challenger

Compare machine learning models
explain_tidymodels

Create explainer from your tidymodels workflow.
explain_scikitlearn

Wrapper for Python Scikit-Learn Models
explain_mlr3

Create explainer from your mlr model
explain_keras

Wrapper for Python Keras Models
explain_xgboost

Create explainer from your xgboost model
create_env

Create your conda virtual env with DALEX
funnel_measure

Caluculate difference in performance in models across different categories
plot.funnel_measure

Funnel plot for difference in measures
plot.training_test_comparison

Plot and compare performance of model between training and test set
predict_surrogate

Instance Level Surrogate Models
print.overall_comparison

Print overall_comparison object
print.funnel_measure

Print funnel_measure object
plot.overall_comparison

Plot function for overall_comparison
model_info.WrappedModel

Exract info from model
overall_comparison

Compare champion with challengers globally
print.training_test_comparison

Print funnel_measure object
print.scikitlearn_set

Prints scikitlearn_set class
training_test_comparison

Compare performance of model between training and test set
yhat.WrappedModel

Wrapper over the predict function