Skip to content

Interface: TestInput

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conformal / TestInput

Interface: TestInput

Defined in: src/types/conformal.ts:91

An unlabeled test input for conformal prediction.

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:96

Per-class predicted probabilities / scores produced by the classifier. Each value must be in [0, 1].


inputId

inputId: string

Defined in: src/types/conformal.ts:98

Caller-assigned identifier for this test input.