Skip to content

Interface: BayesianPredictRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Inference / BayesianPredictRequest

Interface: BayesianPredictRequest

Defined in: src/types/inference.ts:349

Request for Bayesian prediction.

Remarks

Dual input mode: Provide EITHER goal OR goal_id.

Unlike other inference requests, Bayesian prediction requires an effect_var naming the variable that holds the FuzzyNumber effect.

Properties

conformal?

optional conformal: number | null

Defined in: src/types/inference.ts:361

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


effectVar

effectVar: string

Defined in: src/types/inference.ts:351

Name of the variable that holds the FuzzyNumber effect.


goal?

optional goal: TermInputDto | null

Defined in: src/types/inference.ts:353

Inline goal (should bind a FuzzyNumber variable). Mutually exclusive with goal_id.


goalId?

optional goalId: string | null

Defined in: src/types/inference.ts:355

Saved goal reference. Mutually exclusive with goal.


maxDepth?

optional maxDepth: number

Defined in: src/types/inference.ts:357

Maximum proof depth (default: 100).


minDegree?

optional minDegree: number

Defined in: src/types/inference.ts:359

Minimum degree threshold.


robust?

optional robust: boolean

Defined in: src/types/inference.ts:363

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


saveGoal?

optional saveGoal: boolean

Defined in: src/types/inference.ts:365

If true, save the goal for later reuse (returns goal_id in response).