aetre_calibrate_scorer
Fit Platt logistic scaling to convert raw model scores into calibrated probabilities, returning slope, intercept, Expected Calibration Error, and Brier score for binary labels.
Instructions
Fits Platt logistic scaling on continuous model scores and binary labels, returning slope, intercept, Expected Calibration Error (ECE), and Brier score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | Binary ground-truth labels (0 or 1). | |
| scores | Yes | Raw continuous candidate scores or VOI values. | |
| api_key | No | Optional license key. | |
| iterations | No | Calibration optimization iterations (default: 500). | |
| learning_rate | No | Optimization learning rate (default: 0.05). |