Interface: PatternSamplesRequest
@kortexya/reasoninglayer / PatternSamplesRequest
Interface: PatternSamplesRequest
Section titled “Interface: PatternSamplesRequest”Defined in: src/types/analysis-symbolic.ts:565
Request for patterns of the tenant’s terms drawn directly from a declared distribution.
Properties
Section titled “Properties”absentTarget?
Section titled “absentTarget?”
optionalabsentTarget?:AbsentTargetReading
Defined in: src/types/analysis-symbolic.ts:581
What a term lacking the target means; absent ⇒ unmeasured.
distribution
Section titled “distribution”distribution:
SamplingDistribution
Defined in: src/types/analysis-symbolic.ts:573
The distribution patterns are drawn from. Required: the engine has no default.
maxTerms?
Section titled “maxTerms?”
optionalmaxTerms?:number
Defined in: src/types/analysis-symbolic.ts:579
Analyse at most this many terms, as a sample the answer reports. Absent ⇒ every term.
measure?
Section titled “measure?”
optionalmeasure?:SubgroupQualityMeasure
Defined in: src/types/analysis-symbolic.ts:583
The measure each pattern is scored by; absent ⇒ weighted relative accuracy.
samples
Section titled “samples”samples:
number
Defined in: src/types/analysis-symbolic.ts:575
How many patterns to draw, independently; at least 1.
optionalseed?: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
Section titled “targetFeature”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.
termIds?
Section titled “termIds?”
optionaltermIds?:string[]
Defined in: src/types/analysis-symbolic.ts:577
Explicit population. Absent ⇒ every term of the tenant the caller may see.