Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 154 discussion

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

You are developing a classification model to support predictions for your company’s various products. The dataset you were given for model development has class imbalance You need to minimize false positives and false negatives What evaluation metric should you use to properly train the model?

  • A. F1 score
  • B. Recall
  • C. Accuracy
  • D. Precision
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
Antmal
Highly Voted 1 year, 6 months ago
Selected Answer: A
if there wasn't a class imbalance that C. Accuracy would have been the right answer. There A. F1-score which is harmonic mean of precision and recall, that balances the trade-off between precision and recall. It is useful when both false positives and false negatives are important as per the question at hand, and you want to optimize for both.
upvoted 7 times
...
AzureDP900
Most Recent 5 months, 1 week ago
In this case, you want to minimize both false positives and false negatives. The F1 score takes into account both the number of true positives and true negatives, making it a suitable choice for evaluating your model.
upvoted 1 times
...
fitri001
7 months, 1 week ago
Selected Answer: A
Class Imbalance: When dealing with imbalanced data, metrics like accuracy can be misleading. A model that simply predicts the majority class all the time can achieve high accuracy, but it wouldn't be very useful for identifying the minority class (which is likely more important in this scenario). F1 Score: The F1 score is the harmonic mean of precision and recall. Precision measures the proportion of positive predictions that are actually correct, while recall measures the proportion of actual positive cases that are correctly identified. By considering both metrics, F1 score provides a balanced view of the model's performance in identifying both positive and negative cases. Minimizing False Positives and False Negatives: Since a high F1 score indicates a good balance between precision and recall, it translates to minimizing both false positives (incorrect positive predictions) and false negatives (missed positive cases).
upvoted 3 times
...
PST21
1 year, 4 months ago
Recall (True Positive Rate): It measures the ability of the model to correctly identify all positive instances out of the total actual positive instances. High recall means fewer false negatives, which is desired when minimizing the risk of missing important positive cases. F1 Score: It is the harmonic mean of precision and recall. F1 score gives equal weight to both precision and recall and is suitable when you want a balanced metric. However, it might not be the best choice when the primary focus is on minimizing false positives and false negatives.
upvoted 1 times
...
PST21
1 year, 4 months ago
both recall and F1 score are valuable metrics, but based on the question's specific requirement to minimize false positives and false negatives, recall (Option B) is the best answer. It directly focuses on reducing false negatives, which is crucial when dealing with class imbalance and minimizing the risk of missing important positive cases.
upvoted 1 times
...
SamuelTsch
1 year, 4 months ago
Selected Answer: A
F1 should be correct
upvoted 1 times
...
nescafe7
1 year, 6 months ago
class imbalance = F1 score
upvoted 1 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 ...