Skip to content

Commit

Permalink
[ModelMetrics] Added AUC
Browse files Browse the repository at this point in the history
  • Loading branch information
YanSte committed Sep 10, 2023
1 parent a9e271e commit 54385c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/skit/ModelMetrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def val_metric_key(self):
if self == Metric.ACCURACY:
return "val_accuracy"
elif self == Metric.AUC:
return "val_auc"
return "auc"
elif self == Metric.VAL_AUC:
return "val_auc"
elif self == Metric.VAL_ACCURACY:
Expand All @@ -76,7 +76,7 @@ def plot_labels(self):
}
elif self == Metric.AUC or self == Metric.VAL_AUC:
return {
'Accuracy': {
'AUC': {
'Training AUC': 'auc',
'Validation AUC': 'val_auc'
},
Expand Down

0 comments on commit 54385c9

Please sign in to comment.