COSMIT: Fix some PEP8 in gradient_boosting