candle.uq_keras_utils.abstention_acc_metric

candle.uq_keras_utils.abstention_acc_metric#

candle.uq_keras_utils.abstention_acc_metric(nb_classes)#

Abstained accuracy: Function to estimate accuracy over the predicted samples after removing the samples where the model is abstaining.

Parameters:

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