pymc.model.core.Model.create_value_var#

Model.create_value_var(rv_var, 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_varTensorVariable
transformAny
value_varVariable, optional
Returns:
TensorVariable