SegmentationFPR95#

class torch_uncertainty.metrics.segmentation.SegmentationFPR95(pos_label, **kwargs)[source]#

FPR95 metric for segmentation tasks. Compute the mean FPR95 per batch across all batches.

Parameters:
  • pos_label (int) – The positive label in the segmentation OOD detection task.

  • **kwargs – Additional keyword arguments for the FPR95 metric.