From a09082605e31a8e8b2712501b1cf8b2a138da2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bc=2E=20Iveta=20=C5=A0=C3=A1rfyov=C3=A1?= Date: Mon, 2 May 2022 13:17:41 +0200 Subject: [PATCH] fix Nystrom approximation equation indices --- pyro/contrib/gp/models/sgpr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyro/contrib/gp/models/sgpr.py b/pyro/contrib/gp/models/sgpr.py index 6e1010933b..767813c555 100644 --- a/pyro/contrib/gp/models/sgpr.py +++ b/pyro/contrib/gp/models/sgpr.py @@ -22,7 +22,7 @@ class SparseGPRegression(GPModel): by approximate :math:`k(X, X)` by a low-rank Nymstr\u00F6m approximation :math:`Q` (see reference [1]), where - .. math:: Q = k(X, X_u) k(X,X)^{-1} k(X_u, X). + .. math:: Q = k(X, X_u) k(X_u,X_u)^{-1} k(X_u, X). Given inputs :math:`X`, their noisy observations :math:`y`, and the inducing-input parameters :math:`X_u`, the model takes the form: