Google Cloud Professional Data Engineer — Question 309
You are developing a new deep learning model that predicts a customer's likelihood to buy on your ecommerce site. After running an evaluation of the model against both the original training data and new test data, you find that your model is overfitting the data. You want to improve the accuracy of the model when predicting new data. What should you do?
Answer options
- A. Increase the size of the training dataset, and increase the number of input features.
- B. Increase the size of the training dataset, and decrease the number of input features.
- C. Reduce the size of the training dataset, and increase the number of input features.
- D. Reduce the size of the training dataset, and decrease the number of input features.
Correct answer: B
Explanation
The correct answer is B because increasing the training dataset helps the model generalize better by providing more diverse examples, while reducing the number of input features helps to eliminate noise and irrelevant information that can lead to overfitting. Options A and C do not address the overfitting issue effectively, and option D would likely worsen the model's performance by reducing both the dataset size and relevant features.