b84b7df8bf23aee3cb98b0390aa69f7ee31fe30a,GPflow/model.py,GPModel,predict_f,#GPModel#Any#,183

Before Change


        Compute the mean and variance of the latent function(s) at the points Xnew
        
        self._compile()
        tf_Xnew = tf.placeholder("float64")
        with self.tf_mode():
            pred_f_mean, pred_f_var = self.build_predict(tf_Xnew)
        return self._session.run([pred_f_mean, pred_f_var],
                                 feed_dict={self._free_vars:self.get_free_state(), tf_Xnew:Xnew })

    def predict_y(self, Xnew):
        
        Compute the mean and variance of held-out data at the points Xnew

After Change


        
        Compute the mean and variance of the latent function(s) at the points Xnew
        
        return self.build_predict(Xnew)

    @AutoFlow(tf.placeholder(tf.float64))
    def predict_y(self, Xnew):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: GPflow/GPflow
Commit Name: b84b7df8bf23aee3cb98b0390aa69f7ee31fe30a
Time: 2016-02-15
Author: james.hensman@gmail.com
File Name: GPflow/model.py
Class Name: GPModel
Method Name: predict_f


Project Name: GPflow/GPflow
Commit Name: b84b7df8bf23aee3cb98b0390aa69f7ee31fe30a
Time: 2016-02-15
Author: james.hensman@gmail.com
File Name: GPflow/model.py
Class Name: GPModel
Method Name: predict_f


Project Name: GPflow/GPflow
Commit Name: b84b7df8bf23aee3cb98b0390aa69f7ee31fe30a
Time: 2016-02-15
Author: james.hensman@gmail.com
File Name: GPflow/model.py
Class Name: GPModel
Method Name: predict_y


Project Name: GPflow/GPflow
Commit Name: b84b7df8bf23aee3cb98b0390aa69f7ee31fe30a
Time: 2016-02-15
Author: james.hensman@gmail.com
File Name: GPflow/model.py
Class Name: GPModel
Method Name: predict_density