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

Link copied to clipboard
constructor(slope: Double, intercept: Double, totalWeights: Double)

Properties

Link copied to clipboard

Sigmoid intercept.

Link copied to clipboard

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

Link copied to clipboard

Cumulative observation weight folded in.

Functions

Link copied to clipboard

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

PlattCalibratorResult

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

calibrate

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

intercept

Sigmoid intercept.

slope

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

totalWeights

Cumulative observation weight folded in.