Interface: PredictionErrorDto
@kortexya/reasoninglayer / PredictionErrorDto
Interface: PredictionErrorDto
Section titled “Interface: PredictionErrorDto”Defined in: src/types/cognitive.ts:1125
A prediction error detected.
Properties
Section titled “Properties”actual
Section titled “actual”actual:
string
Defined in: src/types/cognitive.ts:1127
Actual outcome.
errorMagnitude
Section titled “errorMagnitude”errorMagnitude:
number
Defined in: src/types/cognitive.ts:1129
Error magnitude (0.0 to 1.0).
goalId
Section titled “goalId”goalId:
string
Defined in: src/types/cognitive.ts:1131
Goal that was predicted on (UUID).
isSurprise
Section titled “isSurprise”isSurprise:
boolean
Defined in: src/types/cognitive.ts:1133
Whether this was a “surprise” (error > threshold).
predicted
Section titled “predicted”predicted:
string
Defined in: src/types/cognitive.ts:1135
Predicted outcome.