The AUROC (for a single class or for a set of classes) is computed either one-shot or averaged across stratified folds.
AUROC.single.class
computes the AUROC just for a given class.
AUROC.single.over.classes
computes the AUROC for a set of classes, including their average values across all the classes.
For all those classes having zero annotations, the AUROC is set to 0.5. These classes are included in the computing of the AUROC
averaged across classes, both when the AUROC is computed one-shot or averaged across stratified folds.
The AUROC is set to 0.5 to all those classes having zero annotations.
Names of rows and columns of labels
and predicted
must be provided in the same order, otherwise a stop message is returned.