Interface: ConformalCalibrateRequest
@kortexya/reasoninglayer / ConformalCalibrateRequest
Interface: ConformalCalibrateRequest
Section titled “Interface: ConformalCalibrateRequest”Defined in: src/types/conformal.ts:36
Body of POST /api/v1/conformal/calibrate — compute the threshold τ.
Properties
Section titled “Properties”alpha:
number
Defined in: src/types/conformal.ts:41
Desired miscoverage rate α ∈ (0, 1). A value of 0.05 targets
95% marginal coverage.
samples
Section titled “samples”samples:
CalibrationSample[]
Defined in: src/types/conformal.ts:48
Labeled calibration samples: each carries a caller-assigned ID, the
ground-truth label for that sample, and the classifier’s predicted
per-class scores. Minimum 1 sample; in practice ≥ 1000 for the
theorem’s 1/n discretisation to be tight.