def predict(self, X):
        score = self.decision_function(X)
        decisions = self.loss_._score_to_decision(score)
        return self.classes_.take(decisions, axis=0)
Convert line_profiler.LineStats instance into a dict.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/ensemble/gradient_boosting.py/GradientBoostingClassifier.predict--crossover with--dataset/ETHPy150Open gae-init/gae-init-debug/main/libx/gae_mini_profiler/linebyline_profiler.py/_process_line_stats