Skip to content

Commit c55c0da

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 94071fb commit c55c0da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiatoolbox/utils/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def pair_coordinates(
8282

8383
def f1_detection(true: np.ndarray, pred: np.ndarray, radius: float) -> float:
8484
"""Calculate the F1-score for predicted set of coordinates.
85-
85+
8686
Examples:
8787
>>> # Generate two random example sets; replace with your own data
8888
>>> import numpy as np
@@ -96,7 +96,7 @@ def f1_detection(true: np.ndarray, pred: np.ndarray, radius: float) -> float:
9696
>>> # Example usage of f1_detection
9797
>>> from tiatoolbox.utils.metrics import f1_detection
9898
>>> f1_score = f1_detection(true, pred, radius)
99-
99+
100100
"""
101101
(paired_true, unpaired_true, unpaired_pred) = pair_coordinates(true, pred, radius)
102102

0 commit comments

Comments
 (0)