How Do Credit Card Fraud Detection Models Make Decisions? An Explainable Machine Learning Analysis
Abstract
Credit card fraud detection is an important application of machine learning, where incorrect predictions can lead to financial losses and reduced customer trust. Although many fraud detection models achieve high accuracy, their decision-making process is often unclear, which limits their use in real financial systems. This paper presents an experiment-based study of machine learning models for credit card fraud detection with a focus on explainability. Logistic Regression, Random Forest, and Gradient Boosting models are evaluated using a real-world credit card transaction dataset with extreme class imbalance. Model performance is assessed using precision, recall, F1-score, ROC-AUC, and confusion matrix analysis, with special emphasis on fraud recall. To address class imbalance, the Synthetic Minority Over-sampling Technique (SMOTE) is applied during training. To understand model decision-making, SHAP-based global and local explanations are generated for the best-performing model. Experimental results show that Random Forest provides the most balanced performance, achieving high fraud recall while controlling false positives. The explainability analysis shows that fraud predictions are driven by a small number of influential features. The study highlights the importance of evaluating both performance and explainability when deploying fraud detection systems in financial environments.
Fields of Study & Subjects
Imbalanced Data Classification Techniques
Explainable Artificial Intelligence (XAI)
Privacy-Preserving Technologies in Data
Publication details
- Journal / source
- International Journal of Scientific Research in Computer Science Engineering and Information Technology
- Volume
- 12
- Issue
- 1
- Pages
- 245–249
- Publication date
- 25 January 2026