pymc.model.core.Model.create_value_var#
- Model.create_value_var(rv_var, *, default_transform, transform, value_var=None)[source]#
Create a
TensorVariable
that will be used as the random variable’s “value” in log-likelihood graphs.In general, we’ll call this type of variable the “value” variable.
In all other cases, the role of the value variable is taken by observed data. That’s why value variables are only referenced in this branch of the conditional.
- Parameters:
- rv_var
TensorVariable
- default_transform: Transform
A transform for the random variable in log-likelihood space.
- transform: Transform
Additional transform which may be applied after default transform.
- value_var
Variable
, optional
- rv_var
- Returns: