PyMCModel.build_model#
- PyMCModel.build_model(X, y, coords)[source]#
Construct the PyMC model graph.
Subclasses must override this method to declare priors, deterministic nodes, and the likelihood for the model.
- Parameters:
X (
DataArray|dict[str,DataArray]) – Input features, or component inputs for specialized mapping models.y (
DataArray|dict[str,DataArray]) – Target values, or component targets for specialized mapping models.coords (
dict[str,Any] |None) – Mapping of named dimensions to coordinate labels for the underlyingpm.Model.
- Raises:
NotImplementedError – Always, when called on the base class.
- Return type:
None