Interval
- class pmrf.constraints.Interval(lower: float | Array, upper: float | Array)
Bases:
AbstractUncorrelatedConstraintRepresents a value strictly bounded between a lower and upper value.
- Attributes:
lower: The exclusive lower bound. upper: The exclusive upper bound.
- Args:
lower: The exclusive lower bound. upper: The exclusive upper bound.
- property base_bijector: AbstractBijector
Maps the unit box onto the physical interval.
- property base_bounds: tuple[Float[jaxlib._jax.Array, '...'], Float[jaxlib._jax.Array, '...']]
The unit box.
Overrides the Identity default from AbstractUncorrelatedConstraint, which would hand a bounded optimizer the physical box. Normalising to [0, 1] is generally numerically better during optimization.
- property bijector: AbstractBijector
- property bounds: tuple[Float[jaxlib._jax.Array, '...'], Float[jaxlib._jax.Array, '...']]
- lower: Array
- upper: Array