MLS-C01 · Question #104
A health care company is planning to use neural networks to classify their X-ray images into normal and abnormal classes. The labeled data is divided into a training set of 1,000 images and a test…
The correct answer is B. Choose a lower number of layers D. Enable dropout F. Enable early stopping. The model has 99% training accuracy but only 55% test accuracy - a classic sign of severe overfitting. With only 1,200 images and 50 hidden layers, the model is massively over-parameterized. The correct fixes are: (B) Reduce the number of layers - fewer layers means a simpler…
Question
A health care company is planning to use neural networks to classify their X-ray images into normal and abnormal classes. The labeled data is divided into a training set of 1,000 images and a test set of 200 images. The initial training of a neural network model with 50 hidden layers yielded 99% accuracy on the training set, but only 55% accuracy on the test set. What changes should the Specialist consider to solve this issue? (Choose three.)
Options
- AChoose a higher number of layers
- BChoose a lower number of layers
- CChoose a smaller learning rate
- DEnable dropout
- EInclude all the images from the test set in the training set
- FEnable early stopping
How the community answered
(33 responses)- A9% (3)
- B73% (24)
- C15% (5)
- E3% (1)
Explanation
The model has 99% training accuracy but only 55% test accuracy - a classic sign of severe overfitting. With only 1,200 images and 50 hidden layers, the model is massively over-parameterized. The correct fixes are: (B) Reduce the number of layers - fewer layers means a simpler model with less capacity to memorize training data, reducing overfitting. (D) Enable dropout - dropout randomly deactivates neurons during training, acting as a regularizer that forces the network to learn redundant representations and generalize better. (F) Enable early stopping - monitoring validation loss and halting training when it begins to increase prevents the model from over-training on the training set. Options to avoid: increasing layers (A) worsens overfitting; a smaller learning rate (C) slows convergence but does not fix overfitting; including test data in training (E) is data leakage and invalidates evaluation.
Topics
Community Discussion
No community discussion yet for this question.