8000 Tweak comment · scikit-learn/scikit-learn@37a9fde · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 37a9fde

Browse files
lesteveminghui-liu
authored andcommitted
Tweak comment
1 parent b2eb4cf commit 37a9fde

File tree

1 file changed

+1
-1
lines changed
  • sklearn/gaussian_process

1 file changed

+1
-1
lines changed

sklearn/gaussian_process/gpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def obj_func(theta, eval_gradient=True):
245245
K[np.diag_indices_from(K)] += self.alpha
246246
try:
247247
self.L_ = cholesky(K, lower=True) # Line 2
248-
# self.L_ changed, delete self._K_inv
248+
# self.L_ changed, self._K_inv needs to be recomputed
249249
self._K_inv = None
250250
except np.linalg.LinAlgError as exc:
251251
exc.args = ("The kernel, %s, is not returning a "

0 commit comments

Comments
 (0)
0