Fraud Detection System for Credit Cards Using Machine Learning

Authors

Onwuachu Uzochukwu Christian

Department of computer science, Imo State university, Owerri (Nigeria)

Opuh Jude Iwedike

Department of computer science, Southern delta university Ozoro (Nigeria)

Article Information

DOI: 10.51584/IJRIAS.2026.11010054

Subject Category: Computer Science

Volume/Issue: 11/1 | Page No: 660-669

Publication Timeline

Submitted: 2026-01-10

Accepted: 2026-01-15

Published: 2026-02-03

Abstract

Credit card fraud has become a major challenge in the financial sector due to the rapid growth of online and electronic transactions. Traditional rule-based fraud detection methods are often ineffective against evolving fraudulent patterns. This study presents a machine learning–based fraud detection system designed to accurately identify fraudulent credit card transactions in real time. The system employs supervised learning algorithms such as Logistic Regression, Decision Tree, Random Forest, and Gradient Boosting to analyze transaction behavior and classify transactions as legitimate or fraudulent. Data preprocessing techniques including normalization, feature selection, and handling of class imbalance using SMOTE are applied to improve model performance. Experimental results show that ensemble models, particularly Random Forest and Gradient Boosting, achieve high accuracy, precision, and recall, making them suitable for deployment in real-world financial systems. The proposed system enhances transaction security, reduces financial losses, and improves customer trust.

Keywords

Credit Card, Fraud Detection, Supervised learning, Decision tree and Random Forest

Downloads

References

1. Alejandro Correa Bahnsen, Aleksandar Stojanovic, Djamila Aouada and Bj ̈orn Ottersten (2013), Cost Sensitive Credit Card Fraud Detection using Bayes Minimum Risk, 2013 12th International Conference on Machine Learning and Applications. IEEE, pp 333-338 [Google Scholar] [Crossref]

2. Abdi, H., & Williams, L. J. (2010). Principal component analysis. Wiley Interdisciplinary Reviews: Computational Statistics, 2(4), 433–459. https://doi.org/10.1002/wics.101 [Google Scholar] [Crossref]

3. Bhattacharyya, S., Jha, S., Tharakunnel, K., & Westland, J. C. (2011). Data mining for credit card fraud: A comparative study. Decision Support Systems, 50(3), 602–613. https://doi.org/10.1016/j.dss.2010.08.008 [Google Scholar] [Crossref]

4. Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357. https://doi.org/10.1613/jair.953 [Google Scholar] [Crossref]

5. Dal Pozzolo, A., Boracchi, G., Caelen, O., Alippi, C., & Bontempi, G. (2018). Credit card fraud detection: A realistic modeling and a novel learning strategy. IEEE Transactions on Neural Networks and Learning Systems, 29(8), 3784–3797. https://doi.org/10.1109/TNNLS.2017.2736643 [Google Scholar] [Crossref]

6. Raghavan, V., Bollini, P., & Chawla, N. (2019). Machine learning techniques for fraud detection. In S. K. Rathore & S. K. Goudar (Eds.), Intelligent Systems and Applications (pp. 45–68). Springer. https://doi.org/10.1007/978-981-13-6591-0_4 [Google Scholar] [Crossref]

7. Ngai, E. W., Hu, Y., Wong, Y. H., Chen, Y., & Sun, X. (2011). The application of data mining techniques in financial fraud detection: A classification framework and an academic review of literature. Decision Support Systems, 50(3), 559–569. https://doi.org/10.1016/j.dss.2010.08.006 [Google Scholar] [Crossref]

8. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., ... & DuNgai,chesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830. [Google Scholar] [Crossref]

9. Srivastava, A., Kundu, A., Sural, S., & Majumdar, A. (2008). Credit card fraud detection using hidden Markov model. IEEE Transactions on Dependable and Secure Computing, 5(1), 37–48. https://doi.org/10.1109/TDSC.2007.70223 [Google Scholar] [Crossref]

10. West, J., & Bhattacharya, M. (2016). Intelligent financial fraud detection: A comprehensive review. Computers & Security, 57, 47–66. https://doi.org/10.1016/j.cose.2015.09.010 [Google Scholar] [Crossref]

11. de Sá AG, Pereira AC, Pappa GL. A customized classification algorithm for credit card fraud detection. Engineering Applications of Artificial Intelligence. 2018;72:21–29. doi: 10.1016/j.engappai.2018.03.011. [DOI] [Google Scholar] [Google Scholar] [Crossref]

12. Forough J, Momtazi S. Ensemble of deep sequential models for credit card fraud detection. Applied Soft Computing. 2021;99:106883. doi: 10.1016/j.asoc.2020.106883. [DOI] [Google Scholar] [Google Scholar] [Crossref]

13. Gómez JA, Arévalo J, Paredes R, Nin J. End-to-end neural network architecture for fraud scoring in card payments. Pattern Recognition Letters. 2018;105:175–181. doi: 10.1016/j.patrec.2017.08.024. [DOI] [Google Scholar] [Google Scholar] [Crossref]

14. Jurgovsky J, Granitzer M, Ziegler K, Calabretto S, Portier PE, He-Guelton L, Caelen O. Sequence classification for credit-card fraud detection. Expert Systems with Applications. 2018;100:234–245. doi: 10.1016/j.eswa.2018.01.037. [DOI] [Google Scholar] [Google Scholar] [Crossref]

15. Robinson WN, Aria A. Sequential fraud detection for prepaid cards using hidden Markov model divergence. Expert Systems with Applications. 2018;91:235–251. doi: 10.1016/j.eswa.2017.08.043. [DOI] [Google Scholar] [Google Scholar] [Crossref]

16. Rtayli N, Enneya N. Enhanced credit card fraud detection based on SVM-recursive feature elimination and hyper-parameters optimization. Journal of Information Security and Applications. 2020;55:102596. doi: 10.1016/j.jisa.2020.102596. [DOI] [Google Scholar] [Google Scholar] [Crossref]

17. Russac, Y., Caelen, O., & He-Guelton, L. (2018). Embeddings of categorical variables for sequential data in fraud context. In International conference on advanced machine learning technologies and applications (pp. 542–552). Cham: Springer. [Google Scholar] [Crossref]

18. Van Vlasselaer V, Bravo C, Caelen O, Eliassi-Rad T, Akoglu L, Snoeck M, Baesens B. APATE: A novel approach for automated credit card transaction fraud detection using network-based extensions. Decision Support Systems. 2015;75:38–48. doi: 10.1016/j.dss.2015.04.013. [DOI] [Google Scholar] [Google Scholar] [Crossref]

19. Zhu H, Liu G, Zhou M, Xie Y, Abusorrah A, Kang Q. Optimizing Weighted Extreme Learning Machines for imbalanced classification and application to credit card fraud detection. Neurocomputing. 2020;407:50–62. doi: 10.1016/j.neucom.2020.04.078. [DOI] [Google Scholar [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles