Leaklens

scikit-learn__scikit-learn-14710

HistGradientBoostingClassifier does not work with string target when early stopping turned on

Verdict: the issue text repeats lines of the gold patch (Tier C).

+ if hasattr(self, 'classes_'): + y_small_train = self.classes_[y_small_train.astype(int)] self.train_score_.append(

2 of 3 added patch lines appear in the issue or discussion.

All 500 SWE-bench Verified tasks · more scikit-learn/scikit-learn tasks · How the check works