@staticmethod
def _grad_f_w(x, d_l=None):
    """
        Derivative of the classifier decision function w.r.t. the
        weights
        """
    d = x.T
    if d_l is not None:
        d *= d_l
    return d
