For classification tasks using neural networks, accuracy is often the first metric to check because it tells us how many predictions were correct out of all predictions. However, accuracy alone can be misleading if classes are imbalanced.
Therefore, precision and recall become important. Precision tells us how many predicted positives were actually positive, and recall tells us how many actual positives were found by the model. The F1 score balances precision and recall, giving a single number to evaluate performance.
Neural networks excel because they learn complex patterns, so these metrics help us understand how well they separate classes.