2e948d888ab0e40ce43f18914626f956e120c152,GPy/kern/linear.py,linear,dpsi2_dtheta,#linear#Any#Any#Any#Any#Any#,127
Before Change
target += psi2.sum(-1)
def dpsi2_dtheta(self,partial,Z,mu,S,target):
mu2_S = np.square(mu)+S// N,Q,
ZZ = Z[:,None,:]*Z[None,:,:] // M,M,Q
target += (partial[:,:,:,None]*(2.*ZZ*mu2_S[:,None,None,:]*self.variances)).sum()
After Change
target += psi2.sum(-1)
def dpsi2_dtheta(self,partial,Z,mu,S,target):
self._psi_computations(Z,mu,S)
target += (partial[:,:,:,None]*(2.*self.ZZ*self.mu2_S[:,None,None,:]*self.variances)).sum()
def dpsi2_dmuS(self,partial,Z,mu,S,target_mu,target_S):
Think N,M,M,Q
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: SheffieldML/GPy
Commit Name: 2e948d888ab0e40ce43f18914626f956e120c152
Time: 2013-02-06
Author: nicolo.fusi@gmail.com
File Name: GPy/kern/linear.py
Class Name: linear
Method Name: dpsi2_dtheta
Project Name: SheffieldML/GPy
Commit Name: 2e948d888ab0e40ce43f18914626f956e120c152
Time: 2013-02-06
Author: nicolo.fusi@gmail.com
File Name: GPy/kern/linear.py
Class Name: linear
Method Name: psi2
Project Name: SheffieldML/GPy
Commit Name: 2e948d888ab0e40ce43f18914626f956e120c152
Time: 2013-02-06
Author: nicolo.fusi@gmail.com
File Name: GPy/kern/linear.py
Class Name: linear
Method Name: dpsi2_dtheta
Project Name: SheffieldML/GPy
Commit Name: 2e948d888ab0e40ce43f18914626f956e120c152
Time: 2013-02-06
Author: nicolo.fusi@gmail.com
File Name: GPy/kern/linear.py
Class Name: linear
Method Name: dpsi0_dtheta
Project Name: SheffieldML/GPy
Commit Name: 2e948d888ab0e40ce43f18914626f956e120c152
Time: 2013-02-06
Author: nicolo.fusi@gmail.com
File Name: GPy/kern/linear.py
Class Name: linear
Method Name: psi0