8000 FIX missing comma in METRICS_WITHOUT_SAMPLE_WEIGHT · scikit-learn/scikit-learn@7e341ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e341ab

Browse files
committed
FIX missing comma in METRICS_WITHOUT_SAMPLE_WEIGHT
1 parent e247a5b commit 7e341ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/metrics/tests/test_metrics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
METRICS_WITHOUT_SAMPLE_WEIGHT = [
323323
"confusion_matrix",
324324
"hamming_loss",
325-
"hinge_loss"
325+
"hinge_loss",
326326
"jaccard_similarity_score", "unnormalized_jaccard_similarity_score",
327327
"log_loss",
328328
"matthews_corrcoef_score",
@@ -2540,6 +2540,7 @@ def test_averaging_multilabel_all_ones():
25402540

25412541
@ignore_warnings
25422542
def check_sample_weight_invariance(name, metric, y1, y2):
2543+
25432544
rng = np.random.RandomState(0)
25442545
sample_weight = rng.randint(1, 10, size=len(y1))
25452546

0 commit comments

Comments
 (0)
0