Overview

The ingredients package is a collection of tools for assessment of feature importance and feature effects.

Key functions:

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

Installation

# the easiest way to get ingredients is to install it from CRAN:
install.packages("ingredients")

# Or the the development version from GitHub:
# install.packages("devtools")
devtools::install_github("ModelOriented/ingredients")

Interactive plots with D3

feature_importance(), ceteris_paribus() and aggregated_profiles() also work with D3! see an example plotD3

Acknowledgments

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