Conditional Predictive Impact
Overview
A general test for conditional independence in supervised learning algorithms as proposed by Watson & Wright (2021) doi:10.1007/s10994-021-06030-6. Implements a conditional variable importance measure which can be applied to any supervised learning algorithm and loss function. Provides statistical inference procedures without parametric assumptions and applies equally well to continuous and categorical predictors and outcomes.
- Allow a list of knockoff matrices to improve stability
- Remove BEST dependency (removed from CRAN)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 1
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 88%
- Return-value docs
- 100%
- Help pages citing references
- 100%
- intro HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/bips-hb/cpi on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-11-25 · The repository has a site deploy workflow
pkgdown site last built 2024-11-25
Dependencies
Installing cpi adds 35 packages (17 with compiled code, 24 MB of source tarballs). Heaviest: data.table 5.7 MB, palmerpenguins 2.9 MB, glmnet 2.7 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
- 0.1.5Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.42022-03-03
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-03
- Total releases
- 2 / 4 yrs
- License
- GPL (>= 3) OSI
- Download size
- 20 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("cpi")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s10994-021-06030-6.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.