exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 13 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 13
Topic #: 1
[All Professional Machine Learning Engineer Questions]

You have trained a deep neural network model on Google Cloud. The model has low loss on the training data, but is performing worse on the validation data. You want the model to be resilient to overfitting. Which strategy should you use when retraining the model?

  • A. Apply a dropout parameter of 0.2, and decrease the learning rate by a factor of 10.
  • B. Apply a L2 regularization parameter of 0.4, and decrease the learning rate by a factor of 10.
  • C. Run a hyperparameter tuning job on AI Platform to optimize for the L2 regularization and dropout parameters.
  • D. Run a hyperparameter tuning job on AI Platform to optimize for the learning rate, and increase the number of neurons by a factor of 2.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
chohan
Highly Voted 3 years, 10 months ago
Should be C https://machinelearningmastery.com/introduction-to-regularization-to-reduce-overfitting-and-improve-generalization-error/
upvoted 26 times
...
inder0007
Highly Voted 3 years, 10 months ago
increasing the size of the network will make the overfitting situation worse
upvoted 7 times
...
gvk1
Most Recent 4 days, 14 hours ago
Selected Answer: C
As its DNN, dropout helps. L1 or L2 are for increasing generalization.
upvoted 1 times
...
chibuzorrr
4 months, 2 weeks ago
Selected Answer: C
C is the best answers. You cannot increase neurons as the model is too complex already and cannot generalize!
upvoted 1 times
...
fragkris
1 year, 4 months ago
Selected Answer: C
Voted C
upvoted 1 times
...
Sum_Sum
1 year, 5 months ago
Selected Answer: C
A,B have very specific numbers which doesn't gurantee success C is best D - increases the size - which is not helping with overfitting
upvoted 3 times
...
harithacML
1 year, 9 months ago
Selected Answer: C
Req: make model resilient A. Apply a dropout parameter of 0.2, and decrease the learning rate by a factor of 10. : Might / might not work . But may not find optimal parameter set since it uses random values B. Apply a L2 regularization parameter of 0.4, and decrease the learning rate by a factor of 10. : Might / might not work . But may not find optimal parameter set since it uses random values C. Run a hyperparameter tuning job on AI Platform to optimize for the L2 regularization and dropout parameters. : l2 and dropout are regularisation method which would work. Let AI find the optimal solution on how extend these parameters should regularise. Yes this would work. D. Run a hyperparameter tuning job on AI Platform to optimize for the learning rate, and increase the number of neurons by a factor of 2 : AIplatform would do but adding neurons would make network nore complex. So we can eliminate this option.
upvoted 3 times
...
ashu381
1 year, 11 months ago
Selected Answer: C
It should be C as regularization (L1/L2), early stopping and drop out are some of the ways in deep learning to handle overfitting. Other options have specific values which may or may not solve overfitting as it depends on specific use case.
upvoted 1 times
...
M25
1 year, 11 months ago
Selected Answer: C
Went with C
upvoted 2 times
...
wish0035
2 years, 4 months ago
Selected Answer: C
ANS: C A and B are random values, why they choose that values? D could increase even more overfitting since you're using a more complex model.
upvoted 2 times
...
EFIGO
2 years, 4 months ago
Selected Answer: C
We don't know the optimum values for the parameters, so we need to run a hyperparameter tuning job; L2 regularization and dropout parameters are great ways to avoid overfitting. So C is the answer
upvoted 1 times
...
GCP72
2 years, 8 months ago
Selected Answer: C
Correct answer is "C"
upvoted 1 times
...
Mohamed_Mossad
2 years, 10 months ago
Selected Answer: C
- by options eliminations C,D are better than A,D (more automated , scalable) - between C,D C is better as in D "and increase the number of neurons by a factor of 2" will make matters worse and increase overfitting
upvoted 1 times
Mohamed_Mossad
2 years, 9 months ago
also in A,D mainly learning rate has no direct relation with overfitting
upvoted 1 times
...
...
morgan62
3 years ago
Selected Answer: C
C for sure
upvoted 2 times
...
giaZ
3 years, 1 month ago
Selected Answer: C
Best practice is to let a AI Platform tool run the tuning to optimize hyperparameters. Why should I trust values in answers A or B?? Plus L2 regularization and dropout are the way to go here.
upvoted 2 times
...
caohieu04
3 years, 1 month ago
Selected Answer: C
Community vote
upvoted 2 times
...
wences
3 years, 2 months ago
Selected Answer: C
it is the logical ans
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago