Interface: CalibrationSample
@kortexya/reasoninglayer / Conformal / CalibrationSample
Interface: CalibrationSample
Defined in: src/types/conformal.ts:22
A labeled calibration sample for split-conformal calibration.
Remarks
classScores is a user-keyed map: the keys are class names (data,
not schema) and must survive the bridge’s request-body snake_casing
verbatim. The field itself (class_scores on the wire) is a schema
key that IS snaked; only its value map’s keys are preserved.
Properties
classScores
classScores:
Record<string,number>
Defined in: src/types/conformal.ts:28
Per-class predicted probabilities / scores produced by the
classifier. The key for trueLabel must be present. Each value
must be in [0, 1].
inputId
inputId:
string
Defined in: src/types/conformal.ts:30
Caller-assigned identifier for this sample.
trueLabel
trueLabel:
string
Defined in: src/types/conformal.ts:32
Ground-truth class label for this sample.