ModelAdapter.fit#

abstractmethod ModelAdapter.fit(X, y, *, coords=None)[source]#

Fit the model with backend-appropriate conventions.

Parameters:
  • X (Any) – Predictor matrix.

  • y (Any) – Outcome vector or matrix.

  • coords (dict[str, Any] | None) – Coordinate metadata for PyMC models. Ignored by sklearn backends.

Return type:

Any