Skip to content

Commit

Permalink
Update compute_metric.py
Browse files Browse the repository at this point in the history
rename
  • Loading branch information
spicy1007 authored Jan 31, 2023
1 parent 77089ef commit 447a83d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/utils/compute.metric.py → core/utils/compute_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ def compute_indexes(tp, fp, tn, fn):
recall = tp / (tp+fn) # 召回率
F1 = (2*precision*recall) / (precision+recall) # F1
return accuracy, precision, recall, F1


0 comments on commit 447a83d

Please sign in to comment.