Interface: RuleInductionRequest
@kortexya/reasoninglayer / RuleInductionRequest
Interface: RuleInductionRequest
Section titled “Interface: RuleInductionRequest”Defined in: src/types/analysis.ts:1549
The body of AnalysisClient.induceRules: labelled examples and the split and refinement parameters.
Properties
Section titled “Properties”devFraction?
Section titled “devFraction?”
optionaldevFraction?:number
Defined in: src/types/analysis.ts:1557
Fraction of each label’s positives held out for the dev gate (default 0.3).
examples
Section titled “examples”examples:
RuleInductionExample[]
Defined in: src/types/analysis.ts:1551
The examples; each term appears once.
minDev?
Section titled “minDev?”
optionalminDev?:number
Defined in: src/types/analysis.ts:1561
Smallest dev portion accepted (default 5).
minTest?
Section titled “minTest?”
optionalminTest?:number
Defined in: src/types/analysis.ts:1563
Smallest sealed portion accepted (default 5).
rounds?
Section titled “rounds?”
optionalrounds?:number
Defined in: src/types/analysis.ts:1553
Refinement rounds, 1 to 8 (default 2).
optionalseed?:number
Defined in: src/types/analysis.ts:1555
Seed of the deterministic split (default 42).
testFraction?
Section titled “testFraction?”
optionaltestFraction?:number
Defined in: src/types/analysis.ts:1559
Fraction of each label’s positives sealed for the held-out report (default 0.2).