(self, X, y)
| 718 | return leaf_approximation |
| 719 | |
| 720 | def fit(self, X, y): |
| 721 | self._impurity_calculation = self._gain_by_taylor |
| 722 | self._leaf_value_calculation = self._approximate_update |
| 723 | super(XGBoostRegressionTree, self).fit(X, y) |
| 724 | |
| 725 | |
| 726 | class XGBoost(object): |