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

Skip to content

Commit 0169d2a

Browse files
authored
Tweak comment
1 parent 74ee53c commit 0169d2a

File tree

1 file changed

+1
-1
lines changed
  • sklearn/gaussian_process

1 file changed

+1
-1
lines changed

sklearn/gaussian_process/gpr.py

+1-1
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