-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Add sample weight support to more metrics #3450
Copy link
Copy link
Closed
Labels
EasyWell-defined and straightforward way to resolveWell-defined and straightforward way to resolveEnhancementgood first issueEasy with clear instructions to resolveEasy with clear instructions to resolvehelp wanted
Description
Most metrics now supports sample_weights except for the following one:
- hamming_loss
- confusion_matrix
- hinge_loss
- jaccard_similarity_score
- log_loss
- matthews_corrcoef_score
- median_absolute_error
Note that there is already a general test in sklearn/metrics/tests/test_common.py for sample_weight.
Ideally, it would be one pull request per metric to ease review.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EasyWell-defined and straightforward way to resolveWell-defined and straightforward way to resolveEnhancementgood first issueEasy with clear instructions to resolveEasy with clear instructions to resolvehelp wanted