Interface: ConformalCalibrateResponse
@kortexya/reasoninglayer / Conformal / ConformalCalibrateResponse
Interface: ConformalCalibrateResponse
Defined in: src/types/conformal.ts:52
Response of POST /api/v1/conformal/calibrate.
Properties
algorithm
algorithm:
string
Defined in: src/types/conformal.ts:54
Algorithm tag ("split-conformal").
alpha
alpha:
number
Defined in: src/types/conformal.ts:56
Target miscoverage α echoed from the request.
empiricalCoverage
empiricalCoverage:
number
Defined in: src/types/conformal.ts:61
Fraction of calibration samples covered by τ (sanity check;
should be ≥ 1 − α by construction).
meetsTargetCoverage
meetsTargetCoverage:
boolean
Defined in: src/types/conformal.ts:66
true if the empirical coverage on the calibration set meets the
target 1 − α (should always be true for a valid calibration).
nSamples
nSamples:
number
Defined in: src/types/conformal.ts:68
Number of calibration samples consumed.
quantileRank
quantileRank:
number
Defined in: src/types/conformal.ts:73
1-based rank of the chosen quantile in the sorted non-conformity score list. Informational.
threshold
threshold:
number
Defined in: src/types/conformal.ts:79
Computed non-conformity threshold τ. Pass this to predict.
A test input whose top-class non-conformity score ≤ τ is
predicted as covered.