8d9d4599a79f86f53117bbe6b3aa17a91b15f98f,GPflow/sgpr.py,GPRFITC,build_likelihood,#GPRFITC#,153
Before Change
err, nu, Luu, L, alpha, beta, gamma = self.build_common_terms()
mahalanobisTerm = -0.5* ( tf.reduce_sum( tf.mul( tf.transpose(beta), err ) ) - tf.reduce_sum( tf.mul( tf.transpose(alpha), gamma ) ) )
//We need to compute the log normalizing term -N/2 \log 2 pi - 0.5 \log \det( K_fitc )
After Change
err, nu, Luu, L, alpha, beta, gamma = self.build_common_terms()
mahalanobisTerm = -0.5 * tf.reduce_sum(tf.square(err) / tf.expand_dims(nu, 1)) + 0.5 * tf.reduce_sum(tf.square(gamma))
//We need to compute the log normalizing term -N/2 \log 2 pi - 0.5 \log \det( K_fitc )
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GPflow/GPflow
Commit Name: 8d9d4599a79f86f53117bbe6b3aa17a91b15f98f
Time: 2016-04-13
Author: james.hensman@gmail.com
File Name: GPflow/sgpr.py
Class Name: GPRFITC
Method Name: build_likelihood
Project Name: GPflow/GPflow
Commit Name: 57a645b87e8fa84cc7161ea7c83f5e3bca4e529e
Time: 2016-01-19
Author: james.hensman@gmail.com
File Name: GPflow/svgp.py
Class Name: SVGP
Method Name: build_likelihood
Project Name: GPflow/GPflow
Commit Name: b3dab0288ddcd165e2ba6f95061b5f3d7bf82a1a
Time: 2016-08-10
Author: james.hensman@gmail.com
File Name: GPflow/vgp.py
Class Name: VGP
Method Name: build_predict