4948fb1345ac034af8e337ff5c90dfa406a5f478,GPy/kern/parts/rbf.py,RBF,dpsi1_dtheta,#RBF#Any#Any#Any#Any#Any#,185

Before Change


        self._psi_computations(Z, mu, S)
        target[0] += np.sum(dL_dpsi1 * self._psi1 / self.variance)
        d_length = self._psi1[:,:,None] * ((self._psi1_dist_sq - 1.)/(self.lengthscale*self._psi1_denom) +1./self.lengthscale)
        dpsi1_dlength = d_length * dL_dpsi1[:, :, None]
        if not self.ARD:
            target[1] += dpsi1_dlength.sum()
        else:
            target[1:] += dpsi1_dlength.sum(0).sum(0)

After Change


        self._psi_computations(Z, mu, S)
        target[0] += np.sum(dL_dpsi1 * self._psi1 / self.variance)
        d_length = self._psi1[:,:,None] * ((self._psi1_dist_sq - 1.)/(self.lengthscale*self._psi1_denom) +1./self.lengthscale)
        dpsi1_dlength = d_length * np.atleast_3d(dL_dpsi1)
        if not self.ARD:
            target[1] += dpsi1_dlength.sum()
        else:
            target[1:] += dpsi1_dlength.sum(0).sum(0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SheffieldML/GPy
Commit Name: 4948fb1345ac034af8e337ff5c90dfa406a5f478
Time: 2013-11-20
Author: ibinbei@gmail.com
File Name: GPy/kern/parts/rbf.py
Class Name: RBF
Method Name: dpsi1_dtheta


Project Name: divamgupta/image-segmentation-keras
Commit Name: f45a368fe41452cf8b4f43f3cebffa4f1eb3c65f
Time: 2021-01-19
Author: Marius.juston@hotmail.fr
File Name: keras_segmentation/data_utils/data_loader.py
Class Name:
Method Name: get_image_array


Project Name: dmbee/seglearn
Commit Name: 6eabf1eeaa3c9d64b67d3f29b3c546baa8235671
Time: 2018-03-06
Author: david.mo.burns@gmail.com
File Name: seglearn/features.py
Class Name:
Method Name: _compute_features