SegmentationBinaryAveragePrecision#

class torch_uncertainty.metrics.segmentation.SegmentationBinaryAveragePrecision(thresholds=None, ignore_index=None, validate_args=True, **kwargs)[source]#

SegmentationBinaryAveragePrecision computes the Average Precision (AP) for binary segmentation tasks. It aggregates the mean AP across batches and computes the average AP over all batches processed.