Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam MLS-C01 Topic 3 Question 108 Discussion

Actual exam question for Amazon's MLS-C01 exam
Question #: 108
Topic #: 3
[All MLS-C01 Questions]

An insurance company is creating an application to automate car insurance claims. A machine learning (ML) specialist used an Amazon SageMaker Object Detection - TensorFlow built-in algorithm to train a model to detect scratches and dents in images of cars. After the model was trained, the ML specialist noticed that the model performed better on the training dataset than on the testing dataset.

Which approach should the ML specialist use to improve the performance of the model on the testing data?

Show Suggested Answer Hide Answer
Suggested Answer: D

The machine learning model in this scenario shows signs of overfitting, as evidenced by better performance on the training dataset than on the testing dataset. Overfitting indicates that the model is capturing noise or details specific to the training data rather than general patterns.

One common approach to reduce overfitting is L2 regularization, which adds a penalty to the loss function for large weights and helps the model generalize better by smoothing out the weight distribution. By increasing the value of the L2 hyperparameter, the ML specialist can increase this penalty, helping to mitigate overfitting and improve performance on the testing dataset.

Options like increasing momentum or reducing dropout are less effective for addressing overfitting in this context.


Contribute your Thoughts:

Franchesca
10 days ago
I think reducing the learning_rate hyperparameter is the way to go. Slower learning can help the model generalize better to the testing data.
upvoted 0 times
Virgie
4 days ago
A: I think reducing the learning_rate hyperparameter is a good idea.
upvoted 0 times
...
...
Carlene
13 days ago
Why do you think that?
upvoted 0 times
...
Micaela
18 days ago
I disagree, I believe option D would be more effective.
upvoted 0 times
...
Carlene
18 days ago
I think the ML specialist should choose option C.
upvoted 0 times
...

Save Cancel