Skip to content

Commit

Permalink
Update predict pps docstring (#690)
Browse files Browse the repository at this point in the history
* Update predict pps docstring

* Run black
  • Loading branch information
tjburch authored Jun 25, 2023
1 parent 259c474 commit 3b4d038
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bambi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,9 @@ def predict(self, idata, kind="mean", data=None, inplace=True, include_group_spe
kind : str
Indicates the type of prediction required. Can be ``"mean"`` or ``"pps"``. The
first returns draws from the posterior distribution of the mean, while the latter
returns the draws from the posterior predictive distribution
(i.e. the posterior probability distribution for a new observation).
Defaults to ``"mean"``.
returns the draws from the posterior predictive distribution (i.e. the posterior
probability distribution for a new observation) in addition to the mean posterior
distribution. Defaults to ``"mean"``.
data : pandas.DataFrame or None
An optional data frame with values for the predictors that are used to obtain
out-of-sample predictions. If omitted, the original dataset is used.
Expand Down

0 comments on commit 3b4d038

Please sign in to comment.