FPRx¶
- class torch_uncertainty.metrics.classification.FPRx(recall_level, pos_label, **kwargs)[source]¶
The False Positive Rate at x% Recall metric.
- Parameters:
recall_level (float) – The recall level at which to compute the FPR.
pos_label (int) – The positive label.
kwargs – Additional arguments to pass to the metric class.
- Reference:
Improved from https://github.com/hendrycks/anomaly-seg and translated to torch.