

probably
Tools for post-processing class probability estimates
probably is an R package for working with predicted probabilities from classification and regression models. It converts probabilities to class predictions, identifies optimal probability thresholds, and handles cases where predictions are too uncertain to be reliable.
The package provides tools for model calibration assessment and correction, lets you define equivocal zones where probability predictions are too ambiguous to make a definitive call, and integrates with the tidymodels ecosystem for threshold optimization. It addresses the common problem that raw model probabilities often need post-processing before making final predictions, especially when uncertainty varies across the prediction space.
Contributors

Davis Vaughan
Principal Software Engineer

Max Kuhn
Principal Software Engineer

Emil Hvitfeldt
Senior Software Engineer

Edgar Ruiz
Senior Software Engineer

Julia Silge
Engineering Manager

Hannah Frick
Senior Software Engineer

Simon Couch

Gábor Csárdi
Senior Software Engineer

Jeroen Janssens
Head of Developer Relations
