Interface: ConformalCalibrateResponse
@kortexya/reasoninglayer / ConformalCalibrateResponse
Interface: ConformalCalibrateResponse
Section titled “Interface: ConformalCalibrateResponse”Defined in: src/types/conformal.ts:52
Response of POST /api/v1/conformal/calibrate.
Properties
Section titled “Properties”algorithm
Section titled “algorithm”algorithm:
string
Defined in: src/types/conformal.ts:54
Algorithm tag ("split-conformal-v2").
alpha:
number
Defined in: src/types/conformal.ts:56
Target miscoverage α echoed from the request.
empiricalCoverage
Section titled “empiricalCoverage”empiricalCoverage:
number
Defined in: src/types/conformal.ts:61
Fraction of calibration samples covered by τ (sanity check;
should be ≥ 1 − α by construction).
informative
Section titled “informative”informative:
boolean
Defined in: src/types/conformal.ts:63
Whether the threshold restricts the bounded score universe.
meetsTargetCoverage
Section titled “meetsTargetCoverage”meetsTargetCoverage:
boolean
Defined in: src/types/conformal.ts:68
true if the empirical coverage on the calibration set meets the
target 1 − α (should always be true for a valid calibration).
nSamples
Section titled “nSamples”nSamples:
number
Defined in: src/types/conformal.ts:70
Number of calibration samples consumed.
quantileRank
Section titled “quantileRank”quantileRank:
number
Defined in: src/types/conformal.ts:74
One-based rank, including the unobserved nSamples + 1 full-set rank.
threshold
Section titled “threshold”threshold:
number
Defined in: src/types/conformal.ts:80
Computed non-conformity threshold τ. Pass this to predict.
Each supplied candidate label is included when its own score
1 - p is at most τ. Threshold 1 includes every supplied label.