Accuracy, Precision and Recall are exactly the same during training

204 Views Asked by At

I am training a Binary classification model with Tensorflow 2.8. I pass the following metrics: ['accuracy', tf.keras.metrics.Precision(), tf.keras.metrics.Recall()] but on every epoch accuracy, precision and recall are exactly the same. enter image description here

1

There are 1 best solutions below

0
The Apache On

A same value for Precision and Recall is possible when False Positives is equal to False Negatives. It doesn't mean that the model is incorrect.