-
Notifications
You must be signed in to change notification settings - Fork 24
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
Sebastian.p/orth dgp #88
base: develop
Are you sure you want to change the base?
Conversation
cleaned up a bit, mypy still complains on quite a few things, but content wise good enough for a review |
…lux into sebastian.p/orth_dgp
@SebastianPopescu the PR is now failing on test coverage, mainly due to the untested GPflow customisations. Why do we need to add them here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provided some quick comments...
not sure what to do about testing those conditionals, posteriors etc
@@ -291,6 +311,12 @@ def as_prediction_model( | |||
return model_class(self.inputs, outputs) | |||
|
|||
|
|||
class OrthDeepGP(DeepGP): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avullo I'm a bit confused, do we really need this class at the end?
I'm waiting for what @sc336 has to say, if he manages to move all this stuff to GPflow in GPflow/GPflow#2027 |
""" | ||
lista = [ | ||
>>>>>>> 53dae0f597e5aa12eea4bc13839a3c94807acd36 | ||
Cvv(ind_var_u, ind_var_v, k, L_Kuu=l_kuu) | ||
for ind_var_u, ind_var_v, l_kuu, k in zip( | ||
inducing_variable_u.inducing_variable_list, | ||
inducing_variable_v.inducing_variable_list, | ||
L_Kuu, | ||
kernel.kernels, | ||
) | ||
] | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this block of text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a leftover from a previous attempt, can be removed.
Implementation of "Sparse Orthogonal Variational Inference for Gaussian Processes".
Created the following folders:
-- conditionals: needs a specialized form to account for the two different GPs that have to be summed g() and h() as in the paper.
--covariances: needed to compute Cvv and Cvf as in the paper. These covariances rely on the other set of inducing points.
--posteriors.py: different conditionals are needed here.
-- conditionals.util.conditional_GP_maths might have to be re-designed or at least have its name changed to something more sensible.