Predictor.predict()

Predictor.predict()#

Predictor.predict(samples, **kwargs)[source]#

Returns predicted values for this predictor.

Parameters:
  • samples (dict[str, Any]) – Dictionary with arrays of posterior samples.

  • **kwargs – Covariate values at which to evaluate the predictor. Supplied in the form name=value, where name is the name of a term in the predictor, and value is the covariate value at which this term should be evaluated to enter the predictor.

Return type:

Any

Returns:

Array of predicted values.