AsymmetricGaussianBasis.sample_prior#
- AsymmetricGaussianBasis.sample_prior(coords=None, **sample_prior_predictive_kwargs)[source]#
Sample the priors for the transformation.
When parameters include constant tensors (rather than probability distributions), those constants need to be explicitly registered as
pm.Deterministicnodes to ensure they are captured in the prior output. This handles both cases where all priors are constants and mixed cases where some priors are distributions and others are constant tensors.- Parameters:
- coords
dict, optional The coordinates for the associated with dims
- **sample_prior_predictive_kwargs
Keyword arguments for the pm.sample_prior_predictive function.
- coords
- Returns:
xr.DatasetThe dataset with the sampled priors.