AWS Certified Machine Learning – Specialty — Question 33
An insurance company is developing a new device for vehicles that uses a camera to observe drivers' behavior and alert them when they appear distracted. The company created approximately 10,000 training images in a controlled environment that a Machine Learning Specialist will use to train and evaluate machine learning models.
During the model evaluation, the Specialist notices that the training error rate diminishes faster as the number of epochs increases and the model is not accurately inferring on the unseen test images.
Which of the following should be used to resolve this issue? (Choose two.)
Answer options
- A. Add vanishing gradient to the model.
- B. Perform data augmentation on the training data.
- C. Make the neural network architecture complex.
- D. Use gradient checking in the model.
- E. Add L2 regularization to the model.
Correct answer: B, E
Explanation
The correct answers are B and E because data augmentation helps increase the diversity of the training set, which can improve the model's ability to generalize to unseen data. L2 regularization adds a penalty for larger weights, helping to prevent overfitting. Options A, C, and D do not address the overfitting issue effectively and may worsen the model's performance on new data.