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 69 discussion

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

You need to build an ML model for a social media application to predict whether a user’s submitted profile photo meets the requirements. The application will inform the user if the picture meets the requirements. How should you build a model to ensure that the application does not falsely accept a non-compliant picture?

  • A. Use AutoML to optimize the model’s recall in order to minimize false negatives.
  • B. Use AutoML to optimize the model’s F1 score in order to balance the accuracy of false positives and false negatives.
  • C. Use Vertex AI Workbench user-managed notebooks to build a custom model that has three times as many examples of pictures that meet the profile photo requirements.
  • D. Use Vertex AI Workbench user-managed notebooks to build a custom model that has three times as many examples of pictures that do not meet the profile photo requirements.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
LearnSodas
Highly Voted 2 years, 1 month ago
I think it's B, since we want to reduce false positives
upvoted 18 times
jamesking1103
2 years ago
B yes, A is incorrect as minimize false negatives does not help
upvoted 3 times
julesnoa
4 months, 3 weeks ago
False negative: Non-compliant, but did not alert. That is what we want to minimize.
upvoted 2 times
julesnoa
4 months, 3 weeks ago
Upon reading further it seems like the model predicts compliance, so a positive means the picture is compliant. Then B seems more appropriate
upvoted 1 times
...
...
NickHapton
1 year, 7 months ago
a non-compliant profile image = positive false negatives = didn't alert the non-compliant profile image so the objective is to minimize false nagatives
upvoted 10 times
...
...
...
[Removed]
Highly Voted 1 year, 6 months ago
Selected Answer: A
The answer is A. The negative event is usually labeled as positive (e.g., fraud detection, customer default prediction, and here non-compliant picture identification). The question explicitly says, "ensure that the application does not falsely accept a non-compliant picture." So we should avoid falsely labeling a non-compliant image as compliant (negative). It is never mentioned in the question that false positives are also a concern. So, recall is better than F1-score for this problem.
upvoted 13 times
baimus
5 months ago
The question explicitly states that this isn't the case, it's identifying compliant images, it is compliance that is the positive, so F1 is the only sensible metric.
upvoted 1 times
...
...
moammary
Most Recent 2 weeks, 2 days ago
Selected Answer: A
Answer is A --> non-compliant photo is positive. Falsely accepting a non-compliant photo is a false negative.
upvoted 1 times
...
vinevixx
3 weeks, 1 day ago
Selected Answer: B
The goal is the compliance of an image: false positives means an image accepted but not-compliant and viceversa for false negatives
upvoted 1 times
...
nimbous
1 month, 1 week ago
Selected Answer: D
oversampling the negative class to avoid falsely labelling them as compliant
upvoted 1 times
...
Ankit267
1 month, 1 week ago
Selected Answer: B
Choice between A & B. A if +ve class is non-compliant pics, B if +ve class is compliant pics, As per query, +ve class is compliant pics - "to predict whether a user’s submitted profile photo meets the requirements". Though I feel the person who framed the question really wanted A to be the choice, seems like question is wrongly framed - Selected B
upvoted 1 times
...
thescientist
1 month, 1 week ago
Selected Answer: D
D: In this case, a false positive means accepting a non-compliant picture. You want to minimize these. By providing more examples of non-compliant pictures, you train the model to be more sensitive to identifying them and less likely to make this type of error.
upvoted 1 times
...
soumik_barori
1 month, 2 weeks ago
Selected Answer: D
1. Emphasizes the minority class (non-compliant pictures), ensuring the model better differentiates non-compliant images. 2. Balances the dataset to prevent the model from favouring compliant images disproportionately. 3. Provides flexibility to fine-tune the model for this specific use case.
upvoted 1 times
...
uatud3
2 months, 1 week ago
Selected Answer: B
It's B. You are optimizing for false positives, Not false negatives(Recall)
upvoted 1 times
...
AB_C
2 months, 1 week ago
Selected Answer: D
D - minimizing false positives
upvoted 2 times
...
desertlotus1211
3 months ago
Answer is D: Since the goal is to minimize false positives (incorrectly accepting a non-compliant photo), having more examples of non-compliant photos in the training data will help the model better identify these cases. By training with more non-compliant examples, the model will learn to recognize these images more accurately, thus reducing the chance of falsely accepting them.
upvoted 2 times
...
baimus
5 months ago
Selected Answer: B
A is wrong because we are trying to minimise false positives, not false negatives. The question states that the model identifies compliance (rather than non-compliance) so a positive means compliant. B is correct, though one would usually say "we are trying to optimise precision", optimising F1 is the only answer that addresses this, albiet not as directly as I'd like. C and D are nonsense.
upvoted 1 times
desertlotus1211
3 months ago
Optimizing recall reduces false negatives, which is not the primary concern here. The focus is on avoiding false positives—incorrectly classifying non-compliant photos as compliant. While optimizing the F1 score balances false positives and false negatives, it does not prioritize minimizing false positives specifically, which is crucial in this use case.
upvoted 1 times
...
...
PhilipKoku
8 months ago
Selected Answer: A
A) Minimise False Negatives
upvoted 1 times
...
girgu
8 months, 2 weeks ago
Selected Answer: D
D. Cost of Misclassification: In this scenario, falsely accepting a non-compliant picture (false positive) is more critical than rejecting a compliant picture (false negative). A user with a non-compliant picture could violate the platform's terms or negatively impact the user experience. Training Data Imbalance: Social media applications might receive many compliant pictures and far fewer non-compliant ones. A standard training dataset might be imbalanced, with the model learning more from the majority class (compliant pictures).
upvoted 1 times
...
Delphin_8150
10 months, 2 weeks ago
Selected Answer: B
Gonna go with B on this one, tricky question but since reducing false positives is the goal here only B fits that requirement
upvoted 1 times
pinimichele01
9 months, 2 weeks ago
a non-compliant profile image = positive false negatives = didn't alert the non-compliant profile image so the objective is to minimize false nagatives
upvoted 1 times
...
...
Carlose2108
11 months, 1 week ago
Selected Answer: A
I went with A.
upvoted 2 times
...
b1a8fae
1 year ago
Selected Answer: B
B. A non-compliant picture is the positive and not the negative. What the question is asking is to decrease the number of false positives ("falsely labeled as non compliant"), which is achieved through optimizing for precision and not recall. Since C and D sound a bit overkill, I would go for the one that prioritizes false positives which is B.
upvoted 2 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