Skip to content

Commit e10cf73

Browse files
committed
updated dataloader with micro/macro averaging
1 parent cdd5a4f commit e10cf73

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

utils/metrics/precision.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import torch
22
import torch.nn as nn
33

4-
USE_MEAN = True
5-
6-
# Precision = TP / (TP + FP)
7-
84

95
class Precision(nn.Module):
106
"""Metric module for precision. Can calculate precision both as a mean of precisions or as brute function of true positives and false positives.

0 commit comments

Comments
 (0)