Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Jan 2, 2025
1 parent 6639dff commit 5d0255f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc_experimental/gp/pytensor_gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def _build_conditional(Xnew, f, cov, jitter):
X, ls = cov.owner.inputs

Kxx = cov
# Kxs = toposort_replace(cov, tuple(zip(xx_kernels, xs_kernels)))
# Kxs = toposort_replace(cov, tuple(zip(xx_kernels, xs_kernels)), rebuild=True)
Kxs = cov.owner.op.build_covariance(X, Xnew, ls=ls)
# Kss = toposort_replace(cov, tuple(zip(xx_kernels, ss_kernels)))
# Kss = toposort_replace(cov, tuple(zip(xx_kernels, ss_kernels)), rebuild=True)
Kss = cov.owner.op.build_covariance(Xnew, ls=ls)

L = pt.linalg.cholesky(Kxx + pt.eye(X.shape[0]) * jitter)
Expand Down

0 comments on commit 5d0255f

Please sign in to comment.