PyMCModel.fit_mapping#

PyMCModel.fit_mapping(X, y, coords=None)[source]#

Fit a specialized model that accepts mapping-valued inputs.

Parameters:
  • X (dict[str, DataArray]) – Labeled predictor arrays for specialized model components.

  • y (dict[str, DataArray]) – Labeled target arrays for specialized model components.

  • coords (dict[str, Any] | None) – Coordinate metadata for the model.

Return type:

DataTree