You train a model on a dataset. After training, you notice the training accuracy is 98%, but the test accuracy is only 65%. What does this most likely indicate?
Think about what it means when training accuracy is very high but test accuracy is much lower.
When training accuracy is very high but test accuracy is low, the model has learned the training data too well, including noise or details that don't apply to new data. This is called overfitting.
Consider the following training and validation loss values over epochs for a model:
Epoch 1: train_loss=0.8, val_loss=0.9 Epoch 2: train_loss=0.5, val_loss=0.6 Epoch 3: train_loss=0.3, val_loss=0.7 Epoch 4: train_loss=0.1, val_loss=1.2 Epoch 5: train_loss=0.05, val_loss=1.5
What does this pattern most likely indicate about the model?
Look at how training loss and validation loss change relative to each other.
Training loss keeps decreasing, but validation loss starts increasing after epoch 2. This means the model fits training data too closely and performs worse on new data, a sign of overfitting.
You have a complex dataset with many features and nonlinear relationships. Which model choice is least likely to underfit this data?
Think about model complexity and ability to capture nonlinear patterns.
A deep neural network with multiple layers can learn complex nonlinear relationships, reducing underfitting risk. Simpler models may not capture the data complexity well.
Which hyperparameter adjustment is most effective to reduce overfitting in a neural network?
Consider techniques that prevent the model from relying too much on specific neurons.
Dropout randomly disables neurons during training, forcing the network to learn more robust features and reducing overfitting. Increasing epochs or learning rate can worsen overfitting.
A model trained on a dataset shows the following metrics:
Training accuracy: 60% Validation accuracy: 58%
Which conclusion is most accurate?
Look at the absolute values and difference between training and validation accuracies.
Both accuracies are low and close, indicating the model is not learning the data well (underfitting). Overfitting would show high training accuracy and low validation accuracy.
