Releases: wlazlod/probcal
Releases · wlazlod/probcal
Release list
probcal 0.1.1
Kernel calibration inference and a visualization overhaul, in one release.
Added
- SKCE —
probcal.metrics.kernel: squared kernel calibration errorskce(estimatorsuq/ul/biased, Laplacian/Gaussian kernels, deterministic median-heuristic bandwidth, probability/logit kernel scale) andskce_test(Arcones–Giné centered bootstrap per Widmann et al. 2019, Appendix G, plus an O(n) asymptotic-normal method; one-sided, with the distribution-freep_value_bound). Report-only by design — excluded fromevaluate()and the selector (DECISIONS 53). - Visualization — annotated
plot_reliability(stats box via the newprobcal.metrics.reliability_summary, deterministic event/non-event rug),plot_eccecumulative-drift walks (on the newprobcal.curves.ecce_curve),plot_grade_backtesttraffic-light chart with 90% display intervals (newci_low/ci_highon both grade results, powered by the numpy-onlyprobcal._math.beta_ppf), andplot_offset_auditfor fittedLogitOffsetstages. All documentation figures are regenerated deterministically bydocs/scripts/generate_figures.py. - Documentation — SKCE section and selection-table row in the metrics chapter, four new visualization-chapter sections, a namesake-disambiguation FAQ entry (the unaffiliated R package
probcaland the ECAI 2025 research codebase), and a README feature-matrix column for the R package. - Tooling — mypy targets Python 3.12 in config and CI (numpy ≥ 2 stubs use PEP 695
typestatements); runtime 3.11 support unchanged.
Changed
- All plots style themselves via a per-call
rc_contexthouse style — global matplotlibrcParamsare never touched. plot_reliability: the count-bar margin is now opt-in (counts=Falsedefault); the rug replaces it as the density view.
Full details: CHANGELOG.md and DECISIONS entries 53–55. 284 tests.