[classification] sparse gp inference for EPDTC

This commit is contained in:
Max Zwiessele 2014-10-17 17:30:48 +01:00
parent 5ac7b2c524
commit 536adf0782

View file

@ -21,6 +21,13 @@ class EPDTC(LatentFunctionInference):
self.get_trYYT.limit = limit
self.get_YYTfactor.limit = limit
def on_optimization_start(self):
self._ep_approximation = None
def on_optimization_end(self):
# TODO: update approximation in the end as well? Maybe even with a switch?
pass
def _get_trYYT(self, Y):
return np.sum(np.square(Y))