R build status Coverage Status CRAN_Status_Badge Total Downloads


The ingredients package is a collection of tools for assessment of feature importance and feature effects. It is imported and used to compute model explanations in multiple packages e.g. DALEX, modelStudio, arenar.

The philosophy behind ingredients explanations is described in the Explanatory Model Analysis: Explore, Explain, and Examine Predictive Models e-book. The ingredients package is a part of DrWhy.AI universe.

Key functions:


# the easiest way to get ingredients is to install it from CRAN:

# Or the the development version from GitHub:
# install.packages("devtools")

Interactive plots with D3

feature_importance(), ceteris_paribus() and aggregated_profiles() also work with D3: see an example.



Work on this package was financially supported by the NCN Opus grant 2016/21/B/ST6/02176.