Fraud is only 0.1 percent of transactions.
Measure misses and false alarms.
Choose two evaluations.
For imbalanced data, use precision, recall, F1, PR curves, and a confusion matrix together with business costs.
Detailed explanation
Minority-class performance is visible.
Minority-class performance is visible.
The decision is concrete.
The decision is concrete.
The majority class inflates it.
The majority class inflates it.
Important errors are hidden.
Important errors are hidden.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 1.2の不均衡データ、混同行列、適合率、再現率を確認する。Expected result
少数クラスの検出性能を業務コストに沿って評価できる。Key points
- Imbalance
- Recall
- Precision
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.