Package: probcal 0.2.0

probcal: Calibration of Binary and Multiclass Probabilities
Provides S3 calibrators, metrics, and diagnostics for binary and multiclass probability calibration. Binary methods include Platt scaling, temperature scaling, beta calibration, histogram binning, and isotonic regression. Multiclass methods include temperature scaling, vector scaling, Dirichlet calibration, and a one-vs-rest wrapper for the binary calibrators. A calibration-inference layer adds debiased calibration errors, bootstrap confidence intervals, and a kernel calibration hypothesis test for binary and multiclass predictions, including the strong (canonical) multiclass case. Methods follow Platt (1999, ISBN:9780262194488), Zadrozny and Elkan (2002) <doi:10.1145/775047.775151>, Guo et al. (2017) <https://proceedings.mlr.press/v70/guo17a.html>, Kull et al. (2017) <doi:10.1214/17-EJS1338SI>, Kull et al. (2019) <doi:10.48550/arXiv.1910.12656>, Widmann et al. (2019) <doi:10.48550/arXiv.1910.11385>, and Kumar et al. (2019) <doi:10.48550/arXiv.1909.10155>.
Authors:
probcal_0.2.0.tar.gz
probcal_0.2.0.tar.gz(r-4.7-any)probcal_0.2.0.tar.gz(r-4.6-any)
probcal_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
probcal/json (API)
| # Install 'probcal' in R: |
| install.packages('probcal', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/prdm0/probcal/issues
Pkgdown/docs site:https://prdm0.github.io
Last updated from:919c9f785c. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 158 | ||
| source / vignettes | OK | 244 | ||
| linux-release-x86_64 | OK | 158 | ||
| wasm-release | OK | 125 |
Exports:acecal_betacal_cical_cvcal_dirichletcal_histogramcal_isotoniccal_ovrcal_plattcal_temperaturecal_testcal_vector_scalingeceinv_logitlogitmcemmcereliability_diagramskce
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Last update: 2026-07-09
Started: 2026-07-09
Last update: 2026-07-09
Started: 2026-07-09
Last update: 2026-07-09
Started: 2026-07-09
Last update: 2026-07-09
Started: 2026-07-09
Last update: 2026-07-09
Started: 2026-07-09
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Average Calibration Error | ace |
| Beta calibration | cal_beta |
| Bootstrap confidence interval for a calibration metric | cal_ci |
| Cross-validated calibration | cal_cv |
| Dirichlet calibration | cal_dirichlet |
| Histogram binning calibration | cal_histogram |
| Isotonic calibration | cal_isotonic |
| One-vs-rest multiclass calibration | cal_ovr |
| Platt scaling | cal_platt |
| Temperature scaling | cal_temperature |
| Kernel calibration test | cal_test |
| Vector scaling | cal_vector_scaling |
| Expected Calibration Error | ece |
| Inverse logit transformation | inv_logit |
| Logit transformation | logit |
| Maximum Calibration Error | mce |
| Maximum Mean Calibration Error | mmce |
| Reliability diagram | reliability_diagram |
| Squared Kernel Calibration Error | skce |
