Skip to content

Commit

Permalink
fix gp predic doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Conrad committed May 10, 2024
1 parent 1a54a11 commit 8719224
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 8719224

Please sign in to comment.