Model construction and estimation#
Prepare your data in Model and set custom priors or covariates before estimating.
Use fit() for NUTS.
Use attach_samples() to restore samples into a compatible fresh model.
Own runtime preparation and build its native graph only when requested. |
|
Replace selected ordinary priors or baseline regressions. |
|
Call native PyMC sampling and replace results only after success. |
|
Attach samples, optionally affirming the untagged batch and incoming prior. |
|
Choose device and precision before preparing data or building graphs. |
Native and experimental estimation#
Use build() to access the native PyMC graph. Posterior approximation supports
experimental recursive scoring. sample_gtum() provides specialized GTUM
estimation.
Return the cached native model; a scoring graph requires its runtime prior. |
|
Fit a calibration prior, pooling the automatic selection by default. |
|
Run NUTS and corrected regional-mode proposals through the common runner. |