xplainfi
Model-agnostic feature importance methods
xplainfi treats feature importance as an estimate with error bars, not a number.
◆Recent moves
- 20d ago
Refits parallelise; repeated refits deprioritised in favour of resampling
WVIM and LOCO default to a single refit per resampling iteration on the argument that budget is better spent on more iterations, and a batch_size argument dispatches multiple refits per benchmark call so they can run in parallel. Samplers gain samples_per_row for drawing multiple perturbations per observation.
View source ↗ - 5mo ago
Pre-trained learners supported; distribution-free inference added
PFI, CFI, RFI and SAGE can now use an already-trained learner given a single-iteration resampling, removing the refit cost from workflows where the model already exists. A ci_method = "lei" option adds distribution-free inference on observation-wise loss differences.
View source ↗ - 6mo ago
Version bumped to mark the package as released
Largely a signalling release: documentation cleanup, a SAGE min_permutations default raised to stop spurious early stopping, and removal of a comparison article now maintained elsewhere.
View source ↗ - 9mo ago
Confidence intervals arrive for feature importance scores
The release that made uncertainty a first-class part of the output: ci_method offers raw, Nadeau-Bengio, quantile and CPI variance estimation, with standardisation and difference-versus-ratio options, and computation moves out of $compute() to avoid recomputing predictions.
View source ↗