Interface: LtnAggregator
@kortexya/reasoninglayer / LtnAggregator
Interface: LtnAggregator
Section titled “Interface: LtnAggregator”Defined in: src/types/ltn.ts:45
The KB-level aggregator applied to per-rule satisfaction values.
Remarks
Section titled “Remarks”Absent ⇒ the backend default pMeanError(p = 2).
Example
Section titled “Example”const aggregator: LtnAggregator = { kind: 'p_mean_error', p: 2 };Properties
Section titled “Properties”kind:
LtnAggregatorKind
Defined in: src/types/ltn.ts:47
Which aggregator to use.
optionalp?:number|null
Defined in: src/types/ltn.ts:52
The p exponent for the two p-mean aggregators. Ignored by min / max.
Default Value
Section titled “Default Value”2