exam questions

Exam AWS Certified Machine Learning - Specialty All Questions

View all questions & answers for the AWS Certified Machine Learning - Specialty exam

Exam AWS Certified Machine Learning - Specialty topic 1 question 325 discussion

A company wants to detect credit card fraud. The company has observed that an average of 2% of credit card transactions are fraudulent. A data scientist trains a classifier on a year's worth of credit card transaction data. The classifier needs to identify the fraudulent transactions. The company wants to accurately capture as many fraudulent transactions as possible.

Which metrics should the data scientist use to optimize the classifier? (Choose two.)

  • A. Specificity
  • B. False positive rate
  • C. Accuracy
  • D. F1 score
  • E. True positive rate
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
MultiCloudIronMan
8 months, 1 week ago
Selected Answer: DE
D. F1 score and E. True positive rate (Recall). F1 Score: This is the harmonic mean of precision and recall, providing a balance between the two. It is particularly useful when you need to balance the importance of both false positives and false negatives. True Positive Rate (Recall): This measures the proportion of actual fraudulent transactions that are correctly identified. High recall ensures that most fraudulent transactions are detected.
upvoted 2 times
...
72cc81d
9 months, 2 weeks ago
Selected Answer: DE
recall and f1
upvoted 1 times
...
Yousif_Abdalla
10 months ago
Selected Answer: DE
We need both precision and recall. The F1 score incorporates both of these metrics. and , the true positive rate which is only the recall.
upvoted 1 times
...
ggrodskiy
1 year, 1 month ago
E. True positive rate (also known as Recall or Sensitivity): True positive rate measures the proportion of actual fraudulent transactions that are correctly identified by the classifier. Maximizing the true positive rate ensures that as many fraudulent transactions as possible are captured by the model, reducing the number of false negatives. D. F1 score: F1 score is the harmonic mean of precision and recall. It provides a balance between precision (the ability of the classifier to correctly identify positive cases) and recall (the ability of the classifier to capture all positive cases). Maximizing the F1 score ensures a good balance between capturing fraudulent transactions (high recall) and minimizing false positives (high precision).
upvoted 1 times
...
Gmishra
1 year, 1 month ago
Selected Answer: BE
Review the Confusion matrix. Depending on your selected model score threshold, you can see the simulated impact based on a sample of 100,000 events. The distribution of fraud and legitimate events simulates the fraud rate in your businesses. Use this information to find the right balance between true positive rate and false positive rate. https://docs.aws.amazon.com/frauddetector/latest/ug/training-performance-metrics.html
upvoted 1 times
...
vkbajoria
1 year, 2 months ago
Selected Answer: DE
F1 Score True Positive Rate, Recall, Sensitivity are all same thing
upvoted 1 times
...
chewasa
1 year, 2 months ago
Selected Answer: BE
Metrics such as specificity (A), accuracy (C), and F1 score (D) are also important but may not directly prioritize the detection of fraudulent transactions. Specificity focuses on the proportion of non-fraudulent transactions correctly identified, accuracy measures overall correctness, and F1 score balances precision and recall. While these metrics are useful for evaluating the overall performance of the classifier, they may not be the primary focus when the goal is to detect as many fraudulent transactions as possible. Therefore, the most suitable metrics for optimizing the classifier to detect fraudulent transactions are False positive rate (B) and True positive rate (E).
upvoted 2 times
...
butaman
1 year, 2 months ago
Selected Answer: DE
These metrics will help the data scientist optimize the classifier to detect as many fraudulent transactions as possible.
upvoted 1 times
...
AIWave
1 year, 2 months ago
Selected Answer: DE
- Maximizing TPR ensures that as many fraudulent transactions as possible are captured. - F1 score balances precision and recall and is useful when the class distribution is imbalanced (as in credit card fraud detection)
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 ...