def dKdiag_dX(self, dL_dKdiag, X, target):
self._K_diag_computations(X)<EOL>arg = self._K_diag_poly_arg<EOL>target += <NUM_LIT>*self.weight_variance*self.degree*self.variance*X*dL_dKdiag[:, None]*(arg**(self.degree-<NUM_LIT:1>))[:, None]<EOL>
Gradient of diagonal of covariance with respect to X