8000 Typo (#9571) · jwjohnson314/scikit-learn@21138bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 21138bb

Browse files
agitterJeremiah Johnson
authored andcommitted
1 parent 78bf15d commit 21138bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/ranking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _binary_uninterpolated_average_precision(
180180
y_true, y_score, sample_weight=sample_weight)
181181
# Return the step function integral
182182
# The following works because the last entry of precision is
183-
# garantee to be 1, as returned by precision_recall_curve
183+
# guaranteed to be 1, as returned by precision_recall_curve
184184
return -np.sum(np.diff(recall) * np.array(precision)[:-1])
185185

186186
return _average_binary_score(_binary_uninterpolated_average_precision,

0 commit comments

Comments
 (0)
0