Param()#
- liesel.model.legacy.Param(value, distribution=None, name='')[source]#
Declares a parameter variable.
Deprecated since version 0.2.6: Use lsl.param() instead. This alias will be removed in v0.4.0
Sets the
Var.parameter
flag. If the parameter variable is a random variable, i.e. if it has an associated probability distribution, its log-probability is automatically added to the model log-prior (seeModel.log_prior
).- Return type:
- Returns:
A parameter variable.
See also
param()
New alias. Sould be used in future code.