Skip to content

Commit

Permalink
Squeeze predictive mean
Browse files Browse the repository at this point in the history
  • Loading branch information
ziatdinovmax authored Feb 6, 2024
1 parent ce93965 commit eca96a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpax/models/sparse_gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def get_mvn_posterior(

Linv_W_Dinv_y = Linv_pack[:, :W_Dinv_y.shape[1]]
Linv_Ws = Linv_pack[:, W_Dinv_y.shape[1]:]
mean = Linv_W_Dinv_y.T @ Linv_Ws
mean = (Linv_W_Dinv_y.T @ Linv_Ws).squeeze()

Kss = self.kernel(X_new, X_new, params, noise_p)
Qss = Ws.T @ Ws
Expand Down

0 comments on commit eca96a2

Please sign in to comment.