ModelAdapter.predict#

abstractmethod ModelAdapter.predict(X, *, out_of_sample=False, **kwargs)[source]#

Predict with backend-appropriate conventions.

Parameters:
  • X (Any) – Predictor matrix for which to generate predictions.

  • out_of_sample (bool) – Whether predictions are out-of-sample. Used by PyMC backends only.

  • **kwargs (Any) – Additional keyword arguments forwarded to the underlying model.

Return type:

Any