Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza committed Jan 17, 2025
1 parent 61dd790 commit 7874a58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion btk/metrics/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Precision(DetectionMetric):
def _get_data(
self, n_matches: np.ndarray, n_true: np.ndarray, n_pred: np.ndarray
) -> Dict[str, np.ndarray]:
"""Compute precision on batch."""
tp = n_matches
fp = n_pred - n_matches
t = n_true
Expand Down

0 comments on commit 7874a58

Please sign in to comment.