Implementing a boosting regressor