48270681afc13081094f7f398a1e194c6b07ba9b,gpflow/models/gplvm.py,BayesianGPLVM,_build_predict,#BayesianGPLVM#Any#Any#,149
Before Change
num_inducing = tf.shape(self.Z)[0]
psi1 = self.kern.eKxz(self.Z, self.X_mean, self.X_var)
psi2 = tf.reduce_sum(self.kern.eKzxKxz(self.Z, self.X_mean, self.X_var), 0)
Kuu = self.kern.K(self.Z) + tf.eye(num_inducing, dtype=settings.float_type) * settings.numerics.jitter_level
Kus = self.kern.K(self.Z, Xnew)
sigma2 = self.likelihood.variance
sigma = tf.sqrt(sigma2)
L = tf.cholesky(Kuu)
After Change
num_inducing = len(self.feature)
psi1 = expectation(pX, (self.feature, self.kern))
psi2 = tf.reduce_sum(expectation(pX, (self.feature, self.kern), (self.feature, self.kern)), axis=0)
Kuu = self.feature.Kuu(self.kern, jitter=settings.numerics.jitter_level)
Kus = self.feature.Kuf(self.kern, Xnew)
sigma2 = self.likelihood.variance
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: GPflow/GPflow
Commit Name: 48270681afc13081094f7f398a1e194c6b07ba9b
Time: 2018-01-03
Author: dutordoirv@gmail.com
File Name: gpflow/models/gplvm.py
Class Name: BayesianGPLVM
Method Name: _build_predict
Project Name: GPflow/GPflow
Commit Name: a28284b9bd72fb5f180d489327e6e5571d9aa8d8
Time: 2019-09-09
Author: art.art.v@gmail.com
File Name: gpflow/models/gpr.py
Class Name: GPR
Method Name: log_likelihood
Project Name: GPflow/GPflow
Commit Name: 48270681afc13081094f7f398a1e194c6b07ba9b
Time: 2018-01-03
Author: dutordoirv@gmail.com
File Name: gpflow/models/gplvm.py
Class Name: BayesianGPLVM
Method Name: _build_likelihood
Project Name: GPflow/GPflow
Commit Name: a28284b9bd72fb5f180d489327e6e5571d9aa8d8
Time: 2019-09-09
Author: art.art.v@gmail.com
File Name: gpflow/models/gpr.py
Class Name: GPR
Method Name: predict_f