PyMCModelAdapter.fit#

PyMCModelAdapter.fit(X, y, *, coords=None, **fit_kwargs)[source]#

Fit the PyMC model.

Parameters:
  • X (Any) – Predictor matrix.

  • y (Any) – Outcome vector or matrix.

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

  • **fit_kwargs (Any) – Extra keyword arguments forwarded to the model’s fit.

Return type:

InferenceData