Skip to content

Type Alias: PredictEffectRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PredictEffectRequest

PredictEffectRequest = QueryTerm & object

Defined in: src/types/fuzzy.ts:364

Request to predict an effect for a query point.

optional conformal?: number | null

Optional conformal coverage (e.g., 0.9 for 90% coverage).

effectVar: string

Name of the feature containing the FuzzyNumber effect to aggregate.

optional gating?: string | null

Gating method: None (default fuzzy), or “learned” for metric-gated similarity.

optional minDegree?: number

Minimum similarity degree for matching terms (0.0 to 1.0).

optional robust?: boolean

Use robust aggregation (Student-t/Huber) to downweight outliers.

optional similarityMode?: string

String similarity strategy:

  • "fast": Exact -> Normalized -> Jaccard only
  • "hybrid": Exact -> Normalized -> Jaccard -> Embeddings (default)
  • "semantic": Exact -> Normalized -> Embeddings

Intersection of QueryTerm with effect prediction parameters. The query term fields are spread inline (flat shape matching the wire format).