SklearnModelAdapter.build#

SklearnModelAdapter.build(X, y, *, coords=None)[source]#

Record the design matrices for sample_posterior().

sklearn has no graph to construct; building only captures the fit inputs. Idempotent by skipping when already recorded.

Parameters:
  • X (Any) – Predictor matrix.

  • y (Any) – Outcome vector or matrix.

  • coords (dict[str, Any] | None) – Ignored for sklearn backends.

Return type:

None