counterfactuals
1.0.0Counterfactual Explanations
Overview
Modular and unified R6-based interface for counterfactual explanation methods. The following methods are currently implemented: Burghmans et al. (2022) doi:10.48550/arXiv.2104.07411, Dandl et al. (2020) doi:10.1007/978-3-030-58112-1_31 and Wexler et al. (2019) doi:10.1109/TVCG.2019.2934619. Optional extensions allow these methods to be applied to a variety of models and use cases. Once generated, the counterfactuals can be analyzed and visualized by provided functionalities. The package is described in detail in Dandl et al. (2025) doi:10.18637/jss.v115.i09.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- not tracked
- Return-value docs
- 0%
- References docs
- 63%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/dandls/counterfactuals on 2026-07-30.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
6 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2023-02-13
- Total releases
- 6 / 3 yrs
- License
- LGPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 498 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet