9a97ad7348987ecaeecbc7eae49346bb17d53c86,GPy/kern/coregionalise.py,coregionalise,dKdiag_dtheta,#coregionalise#Any#Any#Any#,85
Before Change
pass
def dKdiag_dtheta(self,partial,index,target):
self.dK_dtheta(np.diag(partial),index,index,target)
After Change
def dKdiag_dtheta(self,partial,index,target):
index = np.asarray(index,dtype=np.int).flatten()
partial_small = np.zeros(self.Nout)
for i in range(self.Nout):
partial_small[i] += np.sum(partial[index==i])
dW = 2.*self.W*partial_small[:,None]
dkappa = partial_small
target += np.hstack([dW.flatten(),dkappa])
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: SheffieldML/GPy
Commit Name: 9a97ad7348987ecaeecbc7eae49346bb17d53c86
Time: 2013-03-07
Author: james.hensman@gmail.com
File Name: GPy/kern/coregionalise.py
Class Name: coregionalise
Method Name: dKdiag_dtheta
Project Name: geomstats/geomstats
Commit Name: 506b234094009d55d326f1ce957f53f15d4b65ee
Time: 2018-02-26
Author: ninamio78@gmail.com
File Name: geomstats/spd_matrices_space.py
Class Name:
Method Name: group_log
Project Name: geomstats/geomstats
Commit Name: fc77bf19a2929bdb181f95f0ea272eb7283c4efc
Time: 2018-05-03
Author: ninamio78@gmail.com
File Name: geomstats/spd_matrices_space.py
Class Name: SPDMatricesSpace
Method Name: sqrtm
Project Name: geomstats/geomstats
Commit Name: 506b234094009d55d326f1ce957f53f15d4b65ee
Time: 2018-02-26
Author: ninamio78@gmail.com
File Name: geomstats/spd_matrices_space.py
Class Name:
Method Name: group_exp