MIS272 · Predictive Analytics
Detecting credit card fraud
Which card transactions are fraudulent, and what makes a transaction risky?
Outcome
- 98%accuracy (kappa 0.879)
- 87%of fraud cases caught
- 9,196transactions analysed
A cross-validated stacking ensemble worked best (kappa 0.879, about 98% accuracy) and caught 87% of fraud cases. Online transactions and merchant category were the strongest signals. For the class imbalance, I proposed SMOTE sampling and k-NN imputation as next steps.
How I approached it
Cleaned 9,196 transactions (427 fraudulent), built features for payment method, merchant category and amount, and compared decision trees, k-NN, random forest, gradient boosted trees and voting and stacking ensembles. Each was checked with a 70/30 hold-out and 10-fold cross-validation.
Methods: Classification, ensemble learning, cross-validation, imbalanced data