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

Support inter-domain inducing points #11

Open
rossviljoen opened this issue Jul 27, 2021 · 1 comment
Open

Support inter-domain inducing points #11

rossviljoen opened this issue Jul 27, 2021 · 1 comment

Comments

@rossviljoen
Copy link
Collaborator

No description provided.

@rossviljoen rossviljoen changed the title Support Inter-domain inducing points Support inter-domain inducing points Jul 27, 2021
@willtebbutt
Copy link
Member

willtebbutt commented Jul 28, 2021

Stheno.jl is pretty ideal for this -- if you're after a particular integral transform to construct inducing features, you can just add it there, and then you'll get interdomain stuff without extending your API at all.

For example, if you had the programme:

f = @gppp let
    f1 = GP(SEKernel())
    f2 = GP(0.1 * LinearKernel())
    f3 = f1 + f2
end

z = GPPPInput(:f1, randn(5))
x = GPPPInput(:f3, randn(5))
y = rand(f(x, 0.1))

elbo(f(x, 0.1), y, f(z, 1e-6))

will just work. To be clear, this isn't a very good interdomain approximation, but if you introduced some integral transform my_convolution and had the programme

f = @gppp let
    f1 = GP(SEKernel())
    f2 = GP(0.1 * LinearKernel())
    f3 = f1 + f2
    f4 = my_convolution(f3)
end

z = GPPPInput(:f4, randn(5))
x = GPPPInput(:f3, randn(5))
y = rand(f(x, 0.1))

elbo(f(x, 0.1), y, f(z, 1e-6))

you would have something sensible.

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