PiecewiseITS.sample_prior_predictive#

PiecewiseITS.sample_prior_predictive(**kwargs)#

Run the optional prior phase and populate prior_result.

Keyword arguments override model.prior_sample_kwargs for this call only. Re-running overwrites the previous prior groups and prior_result without touching any posterior state.

Returns:

The same experiment, for chaining.

Return type:

Self

Parameters:

**kwargs (Any) – Forwarded to pymc.sample_prior_predictive(), overriding the model’s stored prior_sample_kwargs for this call only.

Raises:

PriorPredictiveNotSupportedException – If the model backend declares no prior predictive capability.