def mean_volume_ratio(self, prediction, target): return mean_metric(prediction, target, self.volume_ratio)
def mean_false_negatives(self, prediction, target): return mean_metric( prediction, target, lambda p, t: self.false_negatives_map(p, t).sum() )
def mean_true_positives(self, prediction, target): return mean_metric( prediction, target, lambda p, t: self.true_positives_map(p, t).sum() )
def mean_dice_loss(self, prediction, target): return mean_metric(prediction, target, self.dice_loss)
def mean_amount_of_far_points(self, prediction, target): return mean_metric(prediction, target, self.batch_amount_of_far_points)
def mean_average_hausdorff_distance(self, prediction, target): return mean_metric(prediction, target, self.batch_average_hausdorff_distance)