f669d0124b125f359e98f74dc860afb2e6bde3ec,GPy/likelihoods/gaussian.py,Gaussian,predictive_values,#Gaussian#Any#Any#Any#,83
Before Change
def predictive_values(self, mu, var, full_cov=False):
if full_cov:
low, up = mu - np.diag(var)[:,None], mu + np.diag(var)[:,None]
else:
low, up = mu - var, mu + var
return mu, var, low, up
After Change
def predictive_values(self, mu, var, full_cov=False):
if full_cov:
var += np.eye(var.shape[0])*self.variance
d = 2*np.sqrt(np.diag(var))
low, up = mu - d, mu + d
else:
var += self.variance
d = 2*np.sqrt(var)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: SheffieldML/GPy
Commit Name: f669d0124b125f359e98f74dc860afb2e6bde3ec
Time: 2014-01-06
Author: james.hensman@gmail.com
File Name: GPy/likelihoods/gaussian.py
Class Name: Gaussian
Method Name: predictive_values
Project Name: utiasSTARS/liegroups
Commit Name: 071fb5fb20683946a33f40d28af466f8e9ffc1bd
Time: 2017-10-17
Author: clement.leopold@gmail.com
File Name: liegroups/torch/so2.py
Class Name: SO2
Method Name: left_jacobian
Project Name: bashtage/linearmodels
Commit Name: 751ef43a9daa9fc32fabd121578a7033c33a80b5
Time: 2017-11-27
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/system/model.py
Class Name: IVSystemGMM
Method Name: fit