Skip to content

Commit 7c86dea

Browse files
committed
small change
1 parent 48af9cc commit 7c86dea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lettucedetect/models/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def train(self) -> float:
419419
"recall": float(metrics["supported"]["recall"]),
420420
"f1": float(metrics["supported"]["f1"]),
421421
},
422-
"auroc": float(metrics["accuracy"]),
422+
"auroc": float(metrics["auroc"]),
423423
"accuracy": float(metrics["accuracy"]),
424424
"epoch": self.current_epoch,
425425
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S"),

0 commit comments

Comments
 (0)