def addInstance(self, groundTruth, prediction, record = None, result = None):
    """Compute and store metric value"""
    self.value = self.avg(prediction)
def addInstance(self, groundTruth, prediction, record = None, result = None):
    
    self.value = self.avg(prediction)
def addInstance ( self , groundTruth , prediction , record = None , result = None ) : self . value = self . avg ( prediction )
Compute and store metric value
Compute and store metric value