auc loss function that functions