Skip to content

Commit

Permalink
pep style
Browse files Browse the repository at this point in the history
  • Loading branch information
phinik committed Dec 18, 2023
1 parent 83fa33c commit 18ec793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yoeo/utils/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ def TNR(self, class_id: int) -> float:
def TPR(self, class_id: int) -> float:
denom = (self._tp(class_id) + self._fn(class_id))
return self._tp(class_id) / denom if denom != 0 else float("nan")

0 comments on commit 18ec793

Please sign in to comment.