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