MaskedPrior.create_likelihood_variable#

MaskedPrior.create_likelihood_variable(name, *, mu, observed)[source]#

Create an observed variable over the active subset and expand to full dims.

Parameters:
namestr

Base name for the created variables.

mupt.TensorLike

Mean/location parameter broadcastable to the masked shape.

observedpt.TensorLike

Observations broadcastable to the masked shape.

Returns:
pt.TensorVariable

Deterministic variable over the full dims with observed RV on active entries.