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

Skip to content

Commit dca8406

Browse files
agitterjnothman
authored andcommitted
Typo (#9571)
1 parent c7ca0c5 commit dca8406

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