HistGradientBoostingClassifier does not work with string target when early stopping turned on <!-- If your…
HistGradientBoostingClassifier does not work with string target when early stopping turned on <!-- If your…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). The scorer used under the hood during early stopping is provided with y true being integer while y pred are original classes (i.e…
The task
The scorer used under the hood during early stopping is provided with `y_true` being integer while `y_pred` are original classes (i.e. string). We need to encode `y_true` each time that we want to compute the score.
Part of Lego-X/Lego-RL-SWE-Bench-Verified.