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
, wherename
is the name of a term in the predictor, andvalue
is the covariate value at which this term should be evaluated to enter the predictor.
- Return type:
- Returns:
Array of predicted values.