def negative_gradient(self, y, pred, **kargs):
        pred = pred.ravel()
        return 2.0 * (y - pred > 0.0) - 1.0
Returns a list of all files in a directory, relative to the directory.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/ensemble/gradient_boosting.py/LeastAbsoluteError.negative_gradient--crossover with--dataset/ETHPy150Open adblockplus/gyp/test/mac/gyptest-framework.py/ls