We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdd5a4f commit e10cf73Copy full SHA for e10cf73
utils/metrics/precision.py
@@ -1,10 +1,6 @@
1
import torch
2
import torch.nn as nn
3
4
-USE_MEAN = True
5
-
6
-# Precision = TP / (TP + FP)
7
8
9
class Precision(nn.Module):
10
"""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