Skip to content

Interface: ForecastCoveringSet

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Forecast / ForecastCoveringSet

Interface: ForecastCoveringSet

Defined in: src/types/forecast.ts:151

A conformal covering set over competitors.

Remarks

Reads as “the true outcome (e.g. the podium) is a subset of members with probability at least 1 − alpha”. slice names the Mondrian slice the calibration used; sliceFallback is true when that slice held too few calibration examples and the global slice was used instead.

Example

if (coveringSet.sliceFallback) {
console.warn(`slice ${coveringSet.slice} too small — global calibration used`);
}

Properties

alpha

alpha: number

Defined in: src/types/forecast.ts:156

Miscoverage level.


members

members: string[]

Defined in: src/types/forecast.ts:153

Competitor ids in the set.


slice

slice: string

Defined in: src/types/forecast.ts:159

Mondrian slice used.


sliceFallback

sliceFallback: boolean

Defined in: src/types/forecast.ts:162

true when the named slice was too small and the global calibration was used.