@deprecated(" and will be removed in 0.19")
    def decision_function(self, X):

        self._check_initialized()
        X = self.estimators_[0, 0]._validate_X_predict(X, check_input=True)
        score = self._decision_function(X)
        if score.shape[1] == 1:
            return score.ravel()
        return score
Compute the decision function of ``X``.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/ensemble/gradient_boosting.py/BaseGradientBoosting.decision_function