When we build a neural network, we want to know how well it learns and predicts. The key metrics depend on the task:
- For classification: Accuracy, Precision, Recall, and F1 score tell us how well the network separates classes.
- For regression: Mean Squared Error (MSE) or Mean Absolute Error (MAE) show how close predictions are to real values.
These metrics help us decide if the network design (layers, neurons, activation) is good or needs change.