Design and Implementation of a Credit Card Fraud Detection System Using Random Forest and Logistics Regression Models

Abstract

Credit card fraud poses a significant challenge in the digital era, necessitating advanced techniques for early detection and prevention. This study presents a comprehensive exploration into the design and implementation of a credit card fraud detection system leveraging machine learning models, specifically Random Forest and Logistic Regression. The research methodology involves preprocessing a diverse and extensive credit card transaction dataset, encompassing various transaction features. Through careful feature engineering, the dataset is prepared for training and testing the Random Forest and Logistic Regression models. The Random Forest model, employing ensemble learning, amalgamates multiple decision trees to enhance predictive accuracy and resilience against over fitting. Concurrently, Logistic Regression, a classical statistical method, analyzes the relationship between input features and the likelihood of fraudulent transactions. The comparative analysis of these models provides insights into their respective strengths and weaknesses, aiding in the selection of the most effective model for credit card fraud detection. The evaluation phase assesses the performance of the models using key metrics such as accuracy, precision, recall, and F1-score. A detailed examination of these metrics under various scenarios sheds light on the models' ability to distinguish between legitimate and fraudulent transactions. Real-world implications of implementing these models in financial institutions or credit card companies are discussed, emphasizing the potential for enhanced security and reduced financial losses. Moreover, this study discusses the ethical considerations and challenges associated with deploying machine learning models in fraud detection systems. Privacy concerns, model interpretability, and the dynamic nature of fraud patterns are acknowledged, providing a holistic view of the practical implications of implementing such systems. Finally, the findings of this research contribute valuable insights to the ongoing efforts in combating credit card fraud. The comprehensive analysis of Random Forest and Logistic Regression models, coupled with real-world applicability and ethical considerations, positions this study as a significant advancement in the field of financial security and fraud prevention.

Country : Nigeria

1 Anusiuba, Overcomer Ifeanyi Alex

  1. Department of Computer Science, Faculty of Physical Sciences, Nnamdi Azikiwe University, Awka, Nigeria

IRJIET, Volume 9, Issue 2, February 2025 pp. 152-166

doi.org/10.47001/IRJIET/2025.902024

References

  1. Afriyie J.K., Kassim T., Wilhemina A.P., Addai-Henne S., Dwamena A.H., Owiredu E.O., Ayeh S.A., & Eshun J. (2023). A supervised machine learning algorithm for detecting and predicting fraud in credit card transactions. 6(2023) 100163, https://doi.org/10.1016/j.dajour.2023.100163
  2. Aihua, S., Rencheng, T., & Yaochen, D. (2007). Application of classification models on credit card fraud detection: Proceedings - ICSSSM’07: International Conference on Service Systems and Service Management. doi: 10.1109/ICSSSM.2007.4280163.
  3. Aman, G., Prakash, D., Norman J., & Mangayarkarasi, R. (2017). Credit card fraud detection using neural network and geo-location in the 14th ICSET-2017. Conf. Series: Materials Science and Engineering 263 (2017) 042039 doi:10.1088/1757-899X/263/4/042039
  4. Anusiuba O. I. A, Okechukwu O. P., Ekwealor O. U, Anusiuba A. A.,(2022), The Application of Hidden Markov Model in Credit Card Fraud Detection System, iJournals: International Journal of Software & Hardware Research in Engineering (IJSHRE), 10(2), 1-20
  5. Ekwealor O.U, Anusiuba O. I. A, Ezuruka E. O, Uchefuna C.I., (2021). An Intelligent Credit Card Fraud Detection System, iJournals: International Journal of Software & Hardware Research in Engineering (IJSHRE) 9(2), 25-54
  6. Carcillo, F., Borgne, Le, Y., Caelen, O., Kessaci, Y., & Oblé, F. (2021). Combining unsupervised and supervised learning in credit card fraud detection: Information Science, 557, 317–331, http://dx.doi.org/10.1016/j.ins.2019.05.042.
  7. Delamaire L., Abdou H., & B. systems, and undefined. (2009). Credit card fraud and detection techniques: a review. eprints.hud.ac.uk, Accessed: Dec. 25, 2022
  8. Dornadul, V.N., & Geetha, S. (2019). Credit card fraud detection using machine learning algorithm 165 631-641 http://creativecommons.org/licenses/by-nc-nd/4.0/
  9. Faisal L.E., Tayachi, T., Arabia, S., & Banking, O. (2021) The role of internet banking in society. 18 (13) (2021) 249–257.
  10. Han, Y., Yao, S., Wen, T., Tian, Z., Wang C., & Gu, Z. (2020). Detection and Analysis of Credit Card Application Fraud Using Machine Learning Algorithms. 1693(2020) 25-27 https://doi.org/10.1088/1742-6596/1693/1/012064
  11. Khyati C., Yadav J., & Mallick B. (2012). A review of Fraud Detection Techniques: Credit Card, International Journal of Computer Applications (0975 – 8887) 45(1).
  12. Krishna, M.V., & Praveenchandar, J. (2022). Comparative Analysis of Credit Card Fraud Detection using Logistic regression with Random Forest towards an Increase in Accuracy of Prediction. : International Conference on Edge Computing and Applications (ICECAA), Tamilnadu, India, pp.1097-1101, https://doi.org/10.1109/ICECAA55415.2022.9936488
  13. Kurshan, E., Shen, H., & Yu, H. (2020). Financial crime & fraud detection using graph computing: Application considerations & outlook, in: 2020 Second International Conference on Transdisciplinary AI (TransAI), IEEE, pp. 125–130.
  14. Lebichot, B., Siblini, G.M.P.W., & Bontempi, L.H.F.O.G. (2021). Incremental learning strategies for credit cards fraud detection: International Journal of Data Science and Analytics, 12(2), 165–174.
  15. Madan, S., Sofat, S., & Bansal, D. (2021). Tools and Techniques for Collection and Analysis of Internet-of-Things malware: A systematic state-of-art review, J. King Saud Univ. - Comput. Inf. Sci. http://dx.doi.org/10.1016/j.jksuci.2021.12.016.
  16. Maniraj, S.P., Saini, A., Sarkar, S.D., Ahmed, S. (2019). Credit Card Fraud Detection Using Machine Learning and Data Science in the International Journal of Engineering Research and Technology (IJERT), ISSN: 2278- 0181,Vol. 8
  17. Nath, N. (2020). Credit card fraud detection using machine learning algorithms credit card fraud detection using machine learning algorithms: Procedia Comput. Sci. vol.165 631–641, http://dx.doi.org/10.1016/j.procs.2020.01. 057.
  18. Pencarelli, T. (2019). The digital revolution in the travel and tourism industry, Inf. Technol. Tourism. 0123456789, http://dx.doi.org/10.1007/s40558-019- 00160-3.
  19. RamaKalyani, K., & Uma D.D. (2012). Fraud Detection of Credit Card Payment System by Genetic Algorithm in the International Journal of Scientific & Engineering Research. Volume 3 ISSN 2229- 5518
  20. Rawat, T. (2022). Machine Learning For Credit Card Fraud Detection System. 10(5) PP. 08-14 https://doi.org/ 2320-9364
  21. Sulaiman, B.R., Schetinin, V. & Sant, P. (2022). Review of Machine Learning Approach on Credit Card Fraud Detection: Human-Centered Intelligent Systems, 2, 55–68. https://doi.org/10.1007/s44230-022-00004-0
  22. Vlasselaer, V, Van, Bravo, C., Caelen, O., Eliassi-rad, T., Akoglu, L., Snoeck, M., & Baesens, B. (2015). A novel approach for automated credit card transaction fraud detection using network-based extensions: Decis. Support Syst. 75 38–48, http://dx.doi.org/10.1016/j.dss.2015.04.013.
  23. Yak K., & Tudeal D. (2011). Internet Banking Development as A Means of Providing Efficient Financial Services in South Sudan. 2 (2011) 139–148
  24. Yann-a, F.C. (2018). Streaming active learning strategies for real-life credit card fraud detection: Assessment and visualization, 2018.