rename dK_dtheta > gradients_X

This commit is contained in:
Max Zwiessele 2014-02-11 12:20:57 +00:00
parent 6a1c700c03
commit b944427733
35 changed files with 136 additions and 129 deletions

View file

@ -97,7 +97,7 @@ class RBFInv(RBF):
# return ['variance'] + ['inv_lengthscale%i' % i for i in range(self.inv_lengthscale.size)]
# TODO: Rewrite computations so that lengthscale is not needed (but only inv. lengthscale)
def dK_dtheta(self, dL_dK, X, X2, target):
def _param_grad_helper(self, dL_dK, X, X2, target):
self._K_computations(X, X2)
target[0] += np.sum(self._K_dvar * dL_dK)
if self.ARD: