ingredients
2.3.0Effects and Importances of Model Ingredients
Overview
Collection of tools for assessment of feature importance and feature effects. Key functions are: feature_importance() for assessment of global level feature importance, ceteris_paribus() for calculation of the what-if plots, partial_dependence() for partial dependence plots, conditional_dependence() for conditional dependence plots, accumulated_dependence() for accumulated local effects plots, aggregate_profiles() and cluster_profiles() for aggregation of ceteris paribus profiles, generic print() and plot() for better usability of selected explainers, generic plotD3() for interactive, D3 based explanations, and generic describe() for explanations in natural language. The package 'ingredients' is a part of the 'DrWhy.AI' universe (Biecek 2018) arXiv:1806.08915.
- breaking change:
calculate_variable_splits()now treatsintegervariables ascategorical. This change is propagated toceteris_paribus(),partial_dependence(),accumulated_dependence(),conditional_dependence(),aggregate_profiles(),DALEX::predict_profile(),DALEX::model_profile() - fix an error in
ceteris_paribus/calculate_variable_splitswhentidymodelsusesintegervariables #145 - fix an error in
show_observations#148. This change is propagated toDALEX::plot.predict_profile()#540. - fix #149 by replacing all
class(x) = "y"withis(x, "y")
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Przemyslaw Biecek <przemyslaw.biecek@gmail.com>’ The Description field contains universe (Biecek 2018) <arXiv:1806.08915>. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 31
- Examples that run
- 93%27 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 95%
- Help pages citing references
- 81%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/modeloriented/ingredients on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-01-14 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing ingredients adds 18 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.3.0Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.2.02021-04-10 · diff ↗
- 2.0.12021-02-05 · diff ↗
- 2.02020-09-01 · diff ↗
- 1.3.12020-07-29 · diff ↗
- 1.3.02020-07-01 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.2.02020-04-20 · diff ↗
- 1.12020-03-11 · diff ↗
- 1.02020-02-18 · diff ↗ ·
added 4 exports
accumulated_dependence, bind_plots, conditional_dependence, partial_dependence
Show 7 earlier eventsHide 7 earlier events
- 0.5.02019-12-20 · diff ↗
- 0.42019-10-27 · diff ↗ ·
removed 5 exports
aspect_importance, aspect_importance_single, get_sample, group_variables, lime - 0.3.92019-08-27 · diff ↗ ·
removed 7 exports
calculate_variable_profile, calculate_variable_split, theme_drwhy, theme_drwhy_blank, theme_drwhy_colors, theme_drwhy_colors_gradient, theme_drwhy_verticaladded 5 exports
aspect_importance, aspect_importance_single, get_sample, group_variables, lime - 0.3.32019-05-01 · diff ↗ ·
removed 1 export
show_aggreagated_profilesadded 4 exports
describe, show_aggregated_profiles, show_profiles, show_residuals - RR 3.6.0 released · 2019-04-26
- 0.3.12019-04-09
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-09
- Total releases
- 14 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5
- Download size
- 2.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ingredients")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.