cvms
Cross-Validation for Model Selection
A cross-validation package whose real development has moved to its plotting function
◆Recent moves
- 2mo ago
Coefficient extraction restored for multinom and mixed models
Extracts model coefficients with an environment carrying the training data, which restores nnet::multinom and mixed-model coefficient extraction where the parameters and insight backends need the original data. Also follows findbars() out of lme4 into the reformulas package, a dependency shuffle the wider mixed-model ecosystem is working through.
View source ↗ - 9mo ago
Breaking fix for mismatched folds with non-sequential fold IDs
The first major version bump in the package's recent history, and it is a correctness fix rather than a feature: non-sequential or string fold IDs were matched against raw values instead of factor level indices, so training and testing splits could be drawn from the wrong folds. The maintainer scopes the blast radius narrowly to users who resampled already-folded data, which is why this reads as a serious but contained repair.
View source ↗ - 11mo ago
Test compatibility with pROC 1.19 and a deprecation warning fix
Removes an over-specified test of pROC curve contents and clears a deprecation warning when add_sums is enabled without custom sum settings. Upstream housekeeping, contributed largely by the affected package maintainers.
View source ↗ - 1y ago
Confusion matrix fonts and colors can now be computed from the values
The clearest example of where this package's effort goes: font and arrow colors can switch above and below a threshold via dynamic_font_colors, and most font() arguments now accept a function that decides the setting from the underlying counts. Presentation logic in the plotting layer, not model evaluation.
View source ↗ - 1y ago
Tile intensity by row or column percentages
Adds row_percentages and col_percentages as intensity bases for the main tiles, useful when class imbalance makes raw counts uninformative. Also fixes an error combining filtered input with sum tiles or diagonal-only percentages.
View source ↗ - 1y ago
Multinom coefficient extraction fix after a parameters update
A single upstream-tracking fix for nnet::multinom coefficient extraction. Notably the same area broke again in 2.0.1 for a different reason, which suggests this integration point stays fragile.
View source ↗