Commit d8323743 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

auc: removed pos_label keyword

parent 230090c7
......@@ -49,7 +49,7 @@ def perfeval_classification_statistics(input_dict):
# AUC is defined only for binary classes
if len(classes) == 2:
auc = metrics.auc_score(y_true, y_pred, pos_label=0)
auc = metrics.auc_score(y_true, y_pred)
auc = 'undefined for multiple classes'
return {'accuracy': accuracy, 'precision': precision, 'recall': recall,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment