scikit metrics logo scikit metrics: score settings

1 2 3 4 5 6 7 8 9 10 11 12
Notes

Here's the code to inspect make_scorer.

def min_recall_precision(y_true, y_pred):
    recall = recall_score(y_true, y_pred)
    precision = precision_score(y_true, y_pred)
    return min(recall, precision)

?make_scorer