WeightedSumFitter.fit_mapping#

WeightedSumFitter.fit_mapping(X, y, coords=None)#

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