Task: Debug a scikit-learn specificity scorer
Task: Debug a scikit-learn specificity scorer: a task in Terminal-Lego-15k (Harbor dataset). They wrote a custom scorer with sklearn.metrics.make scorer , then used it with DummyClassifier . However, when the scorer is executed, the prediction array appears to change into all zeros, even though…
The task
They wrote a custom scorer with `sklearn.metrics.make_scorer`, then used it with `DummyClassifier`. However, when the scorer is executed, the prediction array appears to change into all zeros, even though the input prediction list contains both 0s and 1s.
Part of PrimeIntellect/Terminal-Lego-15k.