def fit(self, X, y):
        iterativeFitter = self.iterativeFitter(X, y)
        boostingIx = 0
        while boostingIx < self.nBoostingIterations:
            iterativeFitter = iterativeFitter.next()
            boostingIx = boostingIx + 1

        return iterativeFitter.model
Fit predictors ``X`` to responses ``y``.
dataset/ETHPy150Open ufora/ufora/packages/python/pyfora/algorithms/regressionTrees/GradientBoostedClassifierBuilder.py/GradientBoostedClassifierBuilder.fit