pymc.model.core.Model.make_obs_var#
- Model.make_obs_var(rv_var, data, dims, default_transform, transform, total_size)[source]#
Create a TensorVariable for an observed random variable.
- Parameters:
- rv_var
TensorVariable
The random variable that is observed. Its dimensionality must be compatible with the data already.
- dataarray_like
The observed data.
- dims
tuple
Dimension names for the variable.
- default_transform
A transform for the random variable in log-likelihood space.
- transform
Additional transform which may be applied after default transform.
- rv_var
- Returns: