The Sequential model API is often used for simple neural networks where layers are stacked one after another. The key metrics to evaluate such models depend on the task:
- For classification: Accuracy, Precision, Recall, and F1 score help understand how well the model predicts classes.
- For regression: Mean Squared Error (MSE) or Mean Absolute Error (MAE) show how close predictions are to actual values.
Choosing the right metric helps you know if your model is learning well and making useful predictions.