kumulant

PlattCalibratorResult

@Serializable
@SerialName(value = "PlattCalibratorResult")
data class PlattCalibratorResult(val slope: Double, val intercept: Double, val totalWeights: Double) : Result(source)

Snapshot from PlattCalibratorStat: the learned sigmoid parameters and a helper that maps a raw classifier score to a calibrated probability.

The calibration map is 1 / (1 + exp(-(slope * x + intercept))).

Constructors

PlattCalibratorResult

constructor(slope: Double, intercept: Double, totalWeights: Double)(source)

Properties

intercept

Sigmoid intercept.

slope

Sigmoid slope; positive when higher raw scores correlate with positive labels.

totalWeights

Cumulative observation weight folded in.

Functions

calibrate

Calibrated probability for raw score x via sigmoid(slope * x + intercept).