Skip to content

Interface: LtnAggregator

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LTN / LtnAggregator

Interface: LtnAggregator

Defined in: src/types/ltn.ts:45

The KB-level aggregator applied to per-rule satisfaction values.

Remarks

Absent ⇒ the backend default pMeanError(p = 2).

Example

const aggregator: LtnAggregator = { kind: 'p_mean_error', p: 2 };

Properties

kind

kind: LtnAggregatorKind

Defined in: src/types/ltn.ts:47

Which aggregator to use.


p?

optional p: number | null

Defined in: src/types/ltn.ts:52

The p exponent for the two p-mean aggregators. Ignored by min / max.

Default Value

2