LogisticSaturation.sample_prior#
- LogisticSaturation.sample_prior(coords=None, **sample_prior_predictive_kwargs)[source]#
Sample the priors for the transformation.
- 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.
Notes
Parameters supplied as constant tensors (instead of a
Prior) are not random variables, sopm.sample_prior_predictivehas nothing to sample. They are wrapped in apm.DiracDeltaso their constant value is returned for every draw (related to #1749).