Interface: PredictFromDiscoveryResponse
@kortexya/reasoninglayer / PredictFromDiscoveryResponse
Interface: PredictFromDiscoveryResponse
Section titled “Interface: PredictFromDiscoveryResponse”Defined in: src/types/discovery.ts:296
Response from discovery-based prediction: a historical-neighbour comparison, with support and uncertainty status kept apart.
Remarks
Section titled “Remarks”uncertaintyStatus is not_calibrated: overlapping windows and outcomes
remain dependent, so no summary here is a calibrated forecast.
Properties
Section titled “Properties”avgSimilarity
Section titled “avgSimilarity”avgSimilarity:
number
Defined in: src/types/discovery.ts:298
Average distance similarity; not a probability or confidence level.
changeMode?
Section titled “changeMode?”
optionalchangeMode?:DiscoveryChangeMode|null
Defined in: src/types/discovery.ts:308
The change quantity, or null when no model was found.
effectUnit?
Section titled “effectUnit?”
optionaleffectUnit?:string|null
Defined in: src/types/discovery.ts:310
The change unit; null also represents an unspecified absolute unit.
modelSnapshot?
Section titled “modelSnapshot?”
optionalmodelSnapshot?:string|null
Defined in: src/types/discovery.ts:312
Identity of the loaded model payload, or null when no model was found.
predictions
Section titled “predictions”predictions:
Record<string,EffectPredictionDto>
Defined in: src/types/discovery.ts:300
Change summaries keyed effect_hN.
queryTimeMs
Section titled “queryTimeMs”queryTimeMs:
number
Defined in: src/types/discovery.ts:302
Query duration in milliseconds, including artifact retrieval.
selectedAnchors
Section titled “selectedAnchors”selectedAnchors:
number[]
Defined in: src/types/discovery.ts:316
Chronological positions of every selected historical window.
similarTerms
Section titled “similarTerms”similarTerms:
number
Defined in: src/types/discovery.ts:304
Number of distinct historical windows selected.
sourceSnapshot?
Section titled “sourceSnapshot?”
optionalsourceSnapshot?:string|null
Defined in: src/types/discovery.ts:314
Input snapshot of the loaded model, or null when no model was found.
success
Section titled “success”success:
boolean
Defined in: src/types/discovery.ts:306
Whether at least one horizon met the configured outcome-sample threshold.
support
Section titled “support”support:
Record<string,PredictionSupport>
Defined in: src/types/discovery.ts:318
Observed and missing support for every selected model horizon, keyed by horizon.
uncertaintyStatus
Section titled “uncertaintyStatus”uncertaintyStatus:
string
Defined in: src/types/discovery.ts:320
not_calibrated.