Parameters#

The parameters module provides a framework for defining and managing parameters used in statistical models and distributions. It allows for the creation of parameter objects that can be optimized, ensuring that they are properly initialized. Parameters can take any form, including constants or kernels.

Class

Parameter([value, init, shape, transform, name])

Class for a single parameter.

ConstantParameter([value, init, shape, ...])

Utility class used to manage parameters that are not optimized.

Methods

with_params(params)

Create a new instance of the parameter with the given value.

Attributes

params

Get the parameter itself.

optimisation_params

Get the parameter itself for optimization.

value

Get the value of the parameter.

Functions

ensure_parametrized(x[, constant])

Ensure the input is a Parametrized object.