Skip to content

Parameters

PositiveReal

PositiveReal(value)

Bases: AbstractUnwrappable

Strictly positive parameter.

Stored unconstrained via the inverse of the softplus transform; unwrap() applies softplus to recover the constrained value.

NonNegativeReal

NonNegativeReal(value)

Bases: AbstractUnwrappable

Non-negative parameter (semantically allows zero, e.g. jitter, noise floor).

Uses the same softplus bijection as PositiveReal. The distinction is semantic: NonNegativeReal signals that zero is a meaningful boundary.

Real

Real(value)

Bases: AbstractUnwrappable

Unconstrained parameter. unwrap() returns the value unchanged.

SigmoidBounded

SigmoidBounded(value, *, low=0.0, high=1.0)

Bases: AbstractUnwrappable

Parameter bounded to [low, high] via sigmoid bijection.

LowerTriangular

LowerTriangular(value)

Bases: AbstractUnwrappable

Lower-triangular matrix parameter with positive diagonal (Cholesky factor).

Stored as a flat vector; unwrap() fills a lower-triangular matrix with softplus applied to the diagonal entries.

CoregionalizationMatrix

CoregionalizationMatrix(
    num_outputs: int, rank: int, key: Array
)

Bases: Module

Parameterises a PSD output-correlation matrix B = WW^T + diag(kappa).