5c3c9461dca89468e265c4b2822f514f25fcaafc,GPflow/vgp.py,VGP,build_predict,#VGP#Any#,74

Before Change


            L = tf.cholesky(A)
            LiKx = tf.user_ops.triangular_solve(L, tf.transpose(Kx), "lower")
            return Kd - tf.reduce_sum(tf.square(LiKx),0)
        f_var, _ = theano.scan(v, self.q_lambda.T)
        return f_mean, tf.transpose(f_var)

After Change



        //predictive var
        f_var = []
        for d in range(self.num_latent):
            b = self.q_lambda[:,d]
            A = K + tf.diag(1./tf.square(b))
            L = tf.cholesky(A)
            LiKx = tf.user_ops.triangular_solve(L, tf.transpose(Kx), "lower")
            f_var.append( Kd - tf.reduce_sum(tf.square(LiKx),0) )
        f_var = tf.pack(f_var)
        return f_mean, tf.transpose(f_var)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: GPflow/GPflow
Commit Name: 5c3c9461dca89468e265c4b2822f514f25fcaafc
Time: 2016-01-18
Author: james.hensman@gmail.com
File Name: GPflow/vgp.py
Class Name: VGP
Method Name: build_predict


Project Name: GPflow/GPflow
Commit Name: bbc4e3ee65ab504be761e3b5487ce4ccdd589da0
Time: 2016-01-18
Author: james.hensman@gmail.com
File Name: GPflow/svgp.py
Class Name: SVGP
Method Name: build_likelihood


Project Name: GPflow/GPflow
Commit Name: a9273fb766562261b2ccedb635c71363fb10f06c
Time: 2016-01-18
Author: james.hensman@gmail.com
File Name: GPflow/svgp.py
Class Name: SVGP
Method Name: build_likelihood


Project Name: GPflow/GPflow
Commit Name: 5c3c9461dca89468e265c4b2822f514f25fcaafc
Time: 2016-01-18
Author: james.hensman@gmail.com
File Name: GPflow/vgp.py
Class Name: VGP
Method Name: build_predict