loo
Efficient leave-one-out cross-validation and model comparison for Bayesian models
loo keeps rewriting the diagnostics Bayesian modellers read off model comparison
◆Recent moves
- 20d ago
psis_smooth_tail revert and simplify arg restored
Reverts an internal tail-smoothing change that broke downstream tests, and restores the simplify argument to the comparison printer. Cleanup after the 2.10.0 output rework.
View source ↗ - 1mo ago
loo_compare returns a data.frame with new uncertainty columns
⚡ SPARKReworks the output of the package's most-used function, adding diagnostics about the comparison itself. Continues the pattern set by 2.7.0: changing what the headline numbers mean rather than adding features.
View source ↗ - 7mo ago
Stacking overflow fixes and posterior-based ESS
Fixes numerical under- and overflow in stacking, corrects psis_r_eff() NAs and stratified k-fold splitting, and moves effective sample size onto posterior. Consolidation work rather than new capability.
View source ↗ - 2y ago
More robust Pareto-k diagnostics and moment matching
Hardens the E_loo Pareto-k diagnostic and fixes several moment-matching failures including Stan log_prob exceptions. Follows directly from the threshold redefinition in 2.7.0.
View source ↗ - 2y ago
Pareto-k thresholds now depend on sample size
⚡ SPARKRedefines the diagnostic every loo user checks first, following the 2022 revision of the PSIS paper. The origin of the recalibration arc that runs through the later releases.
View source ↗ - 3y ago
LOO predictive metrics and CRPS scoring functions
Adds loo_predictive_metric() for out-of-sample error and accuracy measures plus the crps()/scrps() family, broadening the package from elpd toward general predictive scoring.
View source ↗