mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 23:06:22 +02:00
lots of messing with the sparse inference method
This commit is contained in:
parent
9b3795fd8c
commit
8022de2a86
1 changed files with 1 additions and 2 deletions
|
|
@ -35,10 +35,9 @@ class DTCVar(object):
|
||||||
def inference(self, Kmm, Kmn, Knn_diag, likelihood, Y):
|
def inference(self, Kmm, Kmn, Knn_diag, likelihood, Y):
|
||||||
|
|
||||||
num_inducing, num_data = Kmn.shape
|
num_inducing, num_data = Kmn.shape
|
||||||
const_jitter = np.eye(num_inducing) * self.const_jitter
|
|
||||||
|
|
||||||
#factor Kmm # TODO: cache?
|
#factor Kmm # TODO: cache?
|
||||||
_Lm = jitchol(Kmm + _const_jitter)
|
_Lm = jitchol(Kmm)
|
||||||
|
|
||||||
# The rather complex computations of A
|
# The rather complex computations of A
|
||||||
if has_uncertain_inputs:
|
if has_uncertain_inputs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue