LinearTerm.predict()#
- LinearTerm.predict(samples, x=None, center=False, scale=False)[source]#
Computes predicted values given an array of posterior samples.
Can be thought of as the sum of the predictions for the individual terms obtained with
predict_elementwise()
.- Parameters:
- Return type:
- Returns:
Array of prediction values.