Skip to content

Commit

Permalink
Update covariance jitters
Browse files Browse the repository at this point in the history
  • Loading branch information
jungtaekkim committed May 20, 2024
1 parent 1665570 commit 44a04a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bayeso/covariance.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def get_kernel_cholesky(X_train: np.ndarray, hyps: dict, str_cov: str,

lower = None

for jitter_cov in [0.0, 1e-4, 1e-2, 1e-1, 1e0, 1e1, 1e2]:
for jitter_cov in [0.0, 1e-5, 1e-4, 1e-3, 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3]:
try:
cov_X_X_ = cov_X_X + jitter_cov * np.eye(X_train.shape[0])
lower = scipy.linalg.cholesky(cov_X_X_, lower=True)
Expand Down

0 comments on commit 44a04a7

Please sign in to comment.