Skip to content

Interface: LtnInstance

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LTN / LtnInstance

Interface: LtnInstance

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

One unseen instance to score in a generalisation query.

Example

const instance: LtnInstance = { individual: 'fido', membership: 0.8 };

Properties

individual

individual: string

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

The individual to score.


membership

membership: number

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

Its membership degree in the formula’s sort, in [0, 1].