PyMCForecastAdapter.build#

PyMCForecastAdapter.build(X, y, *, coords=None)[source]#

Record the fit inputs for sample_posterior().

The wrapped forecaster exposes no graph-construction step of its own, so building only captures the inputs. Idempotent by skipping when already recorded.

Parameters:
  • X (Any) – Design matrix with dims ["obs_ind", "coeffs"].

  • y (Any) – Outcome with dims ["obs_ind", "treated_units"].

  • coords (dict[str, Any] | None) – Coordinate metadata; forwarded to fit().

Return type:

None