PropensityScore.predict#

PropensityScore.predict(X, coords=None, out_of_sample=False, **kwargs)#

Predict data given input data X.

Caution

Results in KeyError if model hasn’t been fit.

Parameters:
  • X (DataArray) – Input features for which predictions are required.

  • coords (dict[str, Any] | None) – Coordinate names for named dimensions. Forwarded to subclass _data_setter overrides; ignored by the base implementation.

  • out_of_sample (bool | None) – Marker for out-of-sample prediction. Reserved for subclasses; the base implementation does not act on it.

  • **kwargs – Reserved for subclass extensions.