mlquantify.calibration#
Post-hoc calibration of classifier posteriors and quantifier outputs.
The scaling family of classifier calibrators (Temperature / Vector Scaling and
their bias-corrected variants) is provided by ClassifierCalibrator.
Scaling-based calibrators that rescale a classifier’s logits to minimise the held-out negative log-likelihood (temperature and vector scaling), improving probabilistic quantifiers such as EMQ.
Calibration#
Base class for calibrators. |
|
Post-hoc calibration of classifier posteriors by logit scaling. |
|
Post-hoc calibration of quantifier prevalence estimates. |