Experiment - Compiling models (optimizer, loss, metrics)
Problem:You have built a simple neural network model to classify handwritten digits using the MNIST dataset. The model is compiled with the Adam optimizer, sparse categorical crossentropy loss, and accuracy metric.
Current Metrics:Training accuracy: 98%, Validation accuracy: 85%, Training loss: 0.05, Validation loss: 0.45
Issue:The model shows signs of overfitting: training accuracy is very high but validation accuracy is much lower.