Skip to content

Commit 8cc0094

Browse files
hayesallglemaitre
authored andcommitted
DOC Fix typos in specificity_score (#614)
1 parent 321b751 commit 8cc0094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

imblearn/metrics/_classification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ def specificity_score(
395395
"""Compute the specificity
396396
397397
The specificity is the ratio ``tn / (tn + fp)`` where ``tn`` is the number
398-
of true negatives and ``fn`` the number of false negatives. The specificity
399-
quantifies the ability to avoid false positives_[1].
398+
of true negatives and ``fp`` the number of false positives. The specificity
399+
quantifies the ability to avoid false positives.
400400
401401
The best value is 1 and the worst value is 0.
402402

0 commit comments

Comments
 (0)