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

minor...

parent b26d4c2d
No related branches found
No related tags found
No related merge requests found
......@@ -617,8 +617,12 @@ class IcingIntensityNN:
for mini_batch in ds:
self.test_step(mini_batch)
print('loss, acc, auc, recall, precision: ', self.test_loss.result().numpy(), self.test_accuracy.result().numpy(),
self.test_auc.result().numpy(), self.test_f1.result().numpy(), self.test_recall.result().numpy(), self.test_precision.result().numpy())
recall = self.test_recall.result().numpy()
precsn = self.test_precision.result().numpy()
f1 = 2 * (precsn * recall) / (precsn + recall)
print('loss, acc, auc, recall, precision, f1: ', self.test_loss.result().numpy(), self.test_accuracy.result().numpy(),
self.test_auc.result().numpy(), self.test_recall.result().numpy(), self.test_precision.result().numpy(), f1)
print('--------------------------------------------------')
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