Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EP and Laplace latent models with DTC-SOR-VAR sparse approximation #53

Open
andreapatane opened this issue Jan 4, 2021 · 1 comment

Comments

@andreapatane
Copy link

Hi, I am not sure whether the software is still mantained, but anyway.

I'm having troubles using DTC, SOR and VAR sparse approxiamtions with the EP latent model for classificaiton. I believe that the problem comes from a missing sign in line 767 of gpep_pred.m
Currently it says:

Varft = sum(B2'.(B(repmat(La,1,m).\B')B2)',2) + sum((K_nu(K_uu(K_fu'*L))).^2, 2);

But this gives negative variance values. I think the correct formula might be:

Varft = sum(B2'.(B(repmat(La,1,m).\B')B2)',2) - sum((K_nu(K_uu(K_fu'*L))).^2, 2);

But I don't have a great knowledge of sparse GP, so I might be wrong and the problem might be something else.

Also the Laplace method doesn't work with any sparse methods, and I get some matrix dimensionality problem, but I haven't investigated much.

Thank you!

@jpvanhat
Copy link
Contributor

Hi,

I would like to know a bit more what you want to do. Could you send me a short example of where things break down. EP and Laplace should work with these approximations.

-Jarno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants