AWS Certified AI Practitioner AIF-C01 Practice Question
An ML team must choose a metric to compare two binary classifiers for a dataset where fraudulent transactions represent only 0.5% of all records. Which metric will BEST reflect how well the models handle the rare positive class?
The F1 score combines precision and recall, so it captures how many fraudulent transactions are found (recall) and how many flagged transactions are actually fraud (precision). This balance is critical when the positive class is rare. Overall accuracy can appear high by simply predicting the majority class and ignoring fraud. Mean squared error is intended for regression problems, and the silhouette coefficient measures cluster quality, not classification performance.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is the F1 score a better metric for rare positive classes?
Open an interactive chat with Bash
What is the difference between precision and recall?
Open an interactive chat with Bash
Why is overall accuracy not useful for imbalanced datasets?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Fundamentals of AI and ML
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .