candle.uq_keras_utils.abstention_metric

candle.uq_keras_utils.abstention_metric#

candle.uq_keras_utils.abstention_metric(nb_classes)#

Function to estimate fraction of the samples where the model is abstaining.

Parameters:

nb_classes (int or ndarray) – Integer or numpy array defining indices of the abstention class