Skip to content

Interface: PatternSamplesRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PatternSamplesRequest

Defined in: src/types/analysis-symbolic.ts:565

Request for patterns of the tenant’s terms drawn directly from a declared distribution.

optional absentTarget?: AbsentTargetReading

Defined in: src/types/analysis-symbolic.ts:581

What a term lacking the target means; absent ⇒ unmeasured.


distribution: SamplingDistribution

Defined in: src/types/analysis-symbolic.ts:573

The distribution patterns are drawn from. Required: the engine has no default.


optional maxTerms?: number

Defined in: src/types/analysis-symbolic.ts:579

Analyse at most this many terms, as a sample the answer reports. Absent ⇒ every term.


optional measure?: SubgroupQualityMeasure

Defined in: src/types/analysis-symbolic.ts:583

The measure each pattern is scored by; absent ⇒ weighted relative accuracy.


samples: number

Defined in: src/types/analysis-symbolic.ts:575

How many patterns to draw, independently; at least 1.


optional seed?: number

Defined in: src/types/analysis-symbolic.ts:585

Replay seed; absent ⇒ 0. The same seed on the same population draws the same patterns.


targetFeature: string

Defined in: src/types/analysis-symbolic.ts:571

The target: a Boolean, or a degree that is exactly 0 or 1. Patterns never contain it; only discriminativity reads it to draw, and every pattern is scored on it.


optional termIds?: string[]

Defined in: src/types/analysis-symbolic.ts:577

Explicit population. Absent ⇒ every term of the tenant the caller may see.