Skip to content
Snippets Groups Projects
Commit e86ce46b authored by Dennis Noll's avatar Dennis Noll
Browse files

[keras] metrics: changed to physics names

parent c2d89107
No related branches found
No related tags found
No related merge requests found
......@@ -838,8 +838,8 @@ def classification_metrics(classes=2):
tf.keras.metrics.FalsePositives(name="fp"),
tf.keras.metrics.TrueNegatives(name="tn"),
tf.keras.metrics.FalseNegatives(name="fn"),
tf.keras.metrics.Precision(name="precision"),
tf.keras.metrics.Recall(name="recall"),
tf.keras.metrics.Precision(name="purity"),
tf.keras.metrics.Recall(name="efficiency"),
tf.keras.metrics.AUC(name="auc"),
] + [AUCOneVsAll(one=i, name=f"custom_auc_{i}") for i in range(classes) if classes > 2]
......
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