nnf_area_under_min_fpr_fnr: Area under the Min(FPR, FNR) (AUM)

View source: R/nnf-loss.R

nnf_area_under_min_fpr_fnrR Documentation

Area under the Min(FPR, FNR) (AUM)

Description

Function that measures Area under the Min(FPR, FNR) (AUM) between each element in the input and target.

Usage

nnf_area_under_min_fpr_fnr(input, target)

Arguments

input

Tensor of arbitrary shape

target

Tensor of the same shape as input. Should be the factor level of the binary outcome, i.e. with values 1L and 2L.

Details

This is used for measuring the error of a binary reconstruction within highly unbalanced dataset, where the goal is optimizing the ROC curve.


torch documentation built on Aug. 21, 2025, 5:50 p.m.