Interface: TrainingExample
@kortexya/reasoninglayer / TrainingExample
Interface: TrainingExample
Section titled “Interface: TrainingExample”Defined in: src/types/ilp.ts:22
A single training example for ILP pattern learning.
Remarks
Section titled “Remarks”Provides an input/output pair. At least 3 examples are required for pattern learning.
Properties
Section titled “Properties”input:
number
Defined in: src/types/ilp.ts:24
Input value (e.g., n for factorial(n)).
output
Section titled “output”output:
number
Defined in: src/types/ilp.ts:26
Output value (e.g., n! for factorial).