Smart Detection of Credit Card Fraud Using Machine Learning
DOI:
https://doi.org/10.1807/1bcyh464Keywords:
Machine learning, XGBoost, Artificial Neural Network, Imbalanced classification, SMOTEAbstract
The increase in digital financial transactions has dramatically increased credit card fraud, which now poses significant threats to consumers as well as financial institutions. This study provides a comparative study of a variety of machine learning models for credit card fraud detection using a real life, imbalanced dataset. We compared four machine learning models—Logistic Regression (LR), Random Forest (RF), XGBoost, and Artificial Neural Network (ANN)—in terms of their ability to detect fraudulent transactions accurately. We used the Synthetic Minority Over-sampling Technique (SMOTE) for preprocessing and balancing the datasets, but tested the machine learning models on the original imbalanced set to adequately represent real-world performance. The experimental results of this study indicate that the ANN and XGBoost models were the most accurate and had the highest recall and F1-score, with the ANN performing the best in most corrective metrics. The feature importance plot shows that there are some PCA variables, such as V14 and V17, that are relevant to fraudulent activity. The research provides evidence of the capabilities of ensemble and deep learning models in performing fraud detection tasks, especially after careful preprocessing and addressing problems related to the dataset imbalance. This study also provides a computationally sound and useful methodology that could be utilized in developing intelligent fraud detection systems in the financial sector.
References
[1] Nilson Report, “Card fraud losses worldwide — 2021,” https://nilsonreport.com/articles/card-fraud-losses-worldwide/, 2021, accessed: Jun. 21, 2025.
[2] L. Theodorakopoulos, A. Theodoropoulou, A. Tsimakis, and C. Halkiopoulos, “Big data-driven distributed machine learning for scalable credit card fraud detection using pyspark, xgboost, and catboost,” Electronics, vol. 14, no. 9, p. 1754, 2025.
[3] I. Y. Hafez, A. Y. Hafez, A. Saleh, A. A. Abd El-Mageed, and A. A. Abohany, “A systematic review of ai-enhanced techniques in credit card fraud detection,” Journal of Big Data, vol. 12, no. 1, p. 6, 2025.
[4] Y. Wang, “A data balancing and ensemble learning approach for credit card fraud detection,” in 2025 4th International Symposium on Computer Applications and Information Technology (ISCAIT). IEEE, 2025, pp. 386–390.
[5] S. Khatri, A. Arora, and A. P. Agrawal, “Supervised machine learning algorithms for credit card fraud detection: a comparison,” in 2020 10th international conference on cloud computing, data science & engineering (confluence). IEEE, 2020, pp.680–683.
[6] A. Purwar and M. Manju, “Credit card fraud detection using xgboost for imbalanced data set,” in Proceedings of the 2023 Fifteenth International Conference on Contemporary Computing, 2023, pp. 216–219.
[7] K. Vivekanandan and N. Praveena, “Hybrid convolutional neural network (cnn) and long-short term memory (lstm) based deep learning model for detecting shilling attack in the social-aware network,” Journal of Ambient Intelligence and Humanized Computing, vol. 12, no. 1, pp. 1197–1210, 2021.
[8] U. Jabeen, K. Singh, and S. Vats, “Credit card fraud detection scheme using machine learning and synthetic minority oversampling technique (smote),” in 2023 5th International Conference on Inventive Research in Computing Applications (ICIRCA). IEEE, 2023, pp. 122–127.
[9] E. Oluwagbade, “An end-to-end pipeline for real-time financial fraud detection using tuned machine learning algorithms,” 2025.
[10] M. Shawkat, A. El-desoky, Z. H. Ali, and M. Salem, “Blockchain and federated learning based on aggregation techniques for industrial iot: A contemporary survey,” Peer-to-Peer Networking and Applications, vol. 18, no. 4, p. 192, 2025.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Revolutionary Advances in Computing and Electronics: An International Journal

This work is licensed under a Creative Commons Attribution 4.0 International License.
This work is licensed under a Creative Commons Attribution 4.0 International License.