There was an error while loading. Please reload this page.
1 parent 48af9cc commit 7c86deaCopy full SHA for 7c86dea
1 file changed
lettucedetect/models/trainer.py
@@ -419,7 +419,7 @@ def train(self) -> float:
419
"recall": float(metrics["supported"]["recall"]),
420
"f1": float(metrics["supported"]["f1"]),
421
},
422
- "auroc": float(metrics["accuracy"]),
+ "auroc": float(metrics["auroc"]),
423
"accuracy": float(metrics["accuracy"]),
424
"epoch": self.current_epoch,
425
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S"),
0 commit comments