eb8b2c8b47666355b6636464caaded37463751a6,GPy/kern/_src/independent_outputs.py,IndependentOutputs,gradients_X_diag,#IndependentOutputs#Any#Any#,90
Before Change
return target
def gradients_X_diag(self, dL_dKdiag, X):
X , slices = X[:,:-1] , index_to_slices(X[:,-1])
target = np.zeros(X.shape)
[[np.copyto(target[s,:-1], self.kern.gradients_X_diag(dL_dKdiag[s],X[s])) for s in slices_i] for slices_i in slices]
return target
After Change
return target
def gradients_X_diag(self, dL_dKdiag, X):
slices = index_to_slices(X[:,self.index_dim])
target = np.zeros(X.shape)
[[np.copyto(target[s,:-1], self.kern.gradients_X_diag(dL_dKdiag[s],X[s])) for s in slices_i] for slices_i in slices]
return target
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 7
Instances Project Name: SheffieldML/GPy
Commit Name: eb8b2c8b47666355b6636464caaded37463751a6
Time: 2014-03-13
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/independent_outputs.py
Class Name: IndependentOutputs
Method Name: gradients_X_diag
Project Name: SheffieldML/GPy
Commit Name: d02f212612a563ae62a4da94886f1a0e893a824a
Time: 2014-03-14
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/independent_outputs.py
Class Name: IndependentOutputs
Method Name: gradients_X
Project Name: SheffieldML/GPy
Commit Name: eb8b2c8b47666355b6636464caaded37463751a6
Time: 2014-03-13
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/independent_outputs.py
Class Name: IndependentOutputs
Method Name: update_gradients_full
Project Name: SheffieldML/GPy
Commit Name: eb8b2c8b47666355b6636464caaded37463751a6
Time: 2014-03-13
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/independent_outputs.py
Class Name: IndependentOutputs
Method Name: gradients_X
Project Name: SheffieldML/GPy
Commit Name: eb8b2c8b47666355b6636464caaded37463751a6
Time: 2014-03-13
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/independent_outputs.py
Class Name: IndependentOutputs
Method Name: Kdiag
Project Name: SheffieldML/GPy
Commit Name: eb8b2c8b47666355b6636464caaded37463751a6
Time: 2014-03-13
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/independent_outputs.py
Class Name: IndependentOutputs
Method Name: gradients_X_diag