Skip to content

Commit

Permalink
DOC fix gp predic doc typo (#28987)
Browse files Browse the repository at this point in the history
Co-authored-by: Conrad <cste8212@acfr.usyd.edu.au>
  • Loading branch information
conradstevens and Conrad committed May 11, 2024
1 parent 1a54a11 commit 5e5cc34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sklearn/gaussian_process/_gpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,15 +384,15 @@ def predict(self, X, return_std=False, return_cov=False):
Returns
-------
y_mean : ndarray of shape (n_samples,) or (n_samples, n_targets)
Mean of predictive distribution a query points.
Mean of predictive distribution at query points.
y_std : ndarray of shape (n_samples,) or (n_samples, n_targets), optional
Standard deviation of predictive distribution at query points.
Only returned when `return_std` is True.
y_cov : ndarray of shape (n_samples, n_samples) or \
(n_samples, n_samples, n_targets), optional
Covariance of joint predictive distribution a query points.
Covariance of joint predictive distribution at query points.
Only returned when `return_cov` is True.
"""
if return_std and return_cov:
Expand Down

0 comments on commit 5e5cc34

Please sign in to comment.