The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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>.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: cli, ggplot2, stats, withr
Suggests: betacal, dplyr, knitr, pkgdown, reticulate, rmarkdown, roxygen2, testthat (≥ 3.0.0)
Published: 2026-07-09
DOI: 10.32614/CRAN.package.probcal
Author: Pedro Rafael Diniz Marinho ORCID iD [aut, cre, cph]
Maintainer: Pedro Rafael Diniz Marinho <pedro.rafael.marinho at gmail.com>
BugReports: https://github.com/prdm0/probcal/issues/
License: MIT + file LICENSE
URL: https://prdm0.github.io/probcal/, https://github.com/prdm0/probcal/
NeedsCompilation: no
Language: en-US
Citation: probcal citation info
Materials: README, NEWS
CRAN checks: probcal results

Documentation:

Reference manual: probcal.html , probcal.pdf
Vignettes: Applied Calibration Workflow (source, R code)
Choosing a Calibrator (source, R code)
Multiclass Calibration (source, R code)
Numerical Validation (source, R code)
Calibrating Binary Probabilities (source, R code)

Downloads:

Package source: probcal_0.2.0.tar.gz
Windows binaries: r-devel: probcal_0.2.0.zip, r-release: probcal_0.2.0.zip, r-oldrel: probcal_0.2.0.zip
macOS binaries: r-release (arm64): probcal_0.2.0.tgz, r-oldrel (arm64): probcal_0.2.0.tgz, r-release (x86_64): probcal_0.2.0.tgz, r-oldrel (x86_64): probcal_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=probcal to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.