Skip to content
Snippets Groups Projects
Commit cc3c37f7 authored by tomrink's avatar tomrink
Browse files

minor

parent 3733cd09
No related branches found
No related tags found
No related merge requests found
...@@ -872,12 +872,13 @@ class IcingIntensityNN: ...@@ -872,12 +872,13 @@ class IcingIntensityNN:
tst_loss = self.test_loss.result().numpy() tst_loss = self.test_loss.result().numpy()
if tst_loss < best_test_loss: if tst_loss < best_test_loss:
best_test_loss = tst_loss best_test_loss = tst_loss
best_test_acc = self.test_accuracy.result().numpy() if NumClasses == 2:
best_test_recall = self.test_recall.result().numpy() best_test_acc = self.test_accuracy.result().numpy()
best_test_precision = self.test_precision.result().numpy() best_test_recall = self.test_recall.result().numpy()
best_test_auc = self.test_auc.result().numpy() best_test_precision = self.test_precision.result().numpy()
best_test_f1 = f1.numpy() best_test_auc = self.test_auc.result().numpy()
best_test_mcc = mcc.numpy() best_test_f1 = f1.numpy()
best_test_mcc = mcc.numpy()
ckpt_manager.save() ckpt_manager.save()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment