Need help validating custom AUPRC scorer implementation in GridSearchCV I have the following custom scorer code that I’m using in a grid search: