The International Arab Journal of Information Technology (IAJIT)

..............................
..............................
..............................


Machine Learning Model for Credit Card Fraud

In today's world, we are on an express train to a cashless society which has led to a tremendous escalation in the use of credit card transactions. But the flipside of this is that fraudulent activities are on the increase; therefore, implementation of a methodical fraud detection system is indispensable to cardholders as well as the card-issuing banks. In this paper, we are going to use different machine learning algorithms like random forest, logistic regression, Support Vector Machine (SVM), and Neural Networks to train a machine learning model based on the given dataset and create a comparative study on the accuracy and different measures of the models being achieved using each of these algorithms. Using the comparative analysis on the F_1 score, we will be able to predict which algorithm is best suited to serve our purpose for the same. Our study concluded that Artificial Neural Network (ANN) performed best with an F_1 score of 0.91.


[1] Artificial Neural Networks- Encyclopedia of Physical Science and Technology https://www.academia.edu/15726358/Artificial_ Neural_Networks, Last Visited, 2021.

[2] Bhanusri A., Valli K., Jyothi P., Sai G., Rohith R. and Subash S., “Credit Card Fraud Detection Using Machine Learning Algorithms,” Journal of Research in Humanities and Social Science, vol. 8, no. 2, pp. 04-11, 2020.

[3] Carsten P., “Credit Card Fraud Detection Using Artificial Neural Networks Tuned by Genetic Algorithms,” Doctoral Thesis, Hong Kong University of Science and Technology, 2008.

[4] Classification Accuracy is Not Enough: More Performance Measures You Can Use, Machine Learning Mastery https://machinelearningmastery.com/classificatio n-accuracy-is-not-enough-more-performance- measures-you-can-use, Last Visited, 2021.

[5] Credit Card Fraud Detection: Anonymized credit card transactions labeled as fraudulent or genuine, https://www.kaggle.com/mlg- ulb/creditcardfraud, Last Visited, 2021.

[6] Devi M., Janani B., Gayathri S., and Indira N., “Credit Card Fraud Detection using Random Forest Technique,” International Research Journal of Engineering and Technology, vol. 06, no. 3, pp. 6662-6666, 2019.

[7] Entropy: How Decision Trees Make Decisions, https://towardsdatascience.com/entropy-how- decision-trees-make-decisions-2946b9c18c8, Last Visited, 2021.

[8] Jain N., Tiwari N., Dubey S., and Jain S., “A Comparative Analysis of Various Credit Card Fraud Detection Techniques,” International Journal of Recent Technology and Engineering, vol. 7, no. 5S2, pp. 402-407, 2019.

[9] Kalra M. and Patni J., “Playing Doom with Deep Reinforcement Learning,” International Journal of Computer Applications, vol. 1, pp.14-20, 2019.

[10] Lakshmi S. and Kavila S., “Machine Learning for Credit Card Fraud Detection System,” International Journal of Applied Engineering Research, vol. 13, no. 24, pp. 16819-16824, 2018.

[11] Logistic Regression, https://en.wikipedia.org/wiki/Logistic_regression, Last Visited, 2021.

[12] Maes S., Tuyls K., Vanschoenwinkel B., and Manderick B., “Credit Cards Fraud Detection Using Bayesian and Neural Networks,” in Proceedings of the 1st International Naiso Congress on Neuro Fuzzy Technologies, Brussel, pp. 261-270, 1993.

[13] Miller G., Todd P., and Hegde S., “Designing Neural Networks using Genetic Algorithms,” in Proceedings of the 3rd International Conference on Genetic Algorithms, San Francisco, pp. 379- 384, 1989.

[14] Mishra P., Patel V., Mittal P., and Patni J., “Algorithm Analysis Tool Based on Execution Time Input Instance-based Runtime Performance Benchmarking,” International Journal of Computer Applications, pp. 27-30, 2018. 796 The International Arab Journal of Information Technology, Vol. 18, No. 6, November 2021

[15] Mohankumar B. and Karuppasamy K., “Credit Card Fraud Detection Using Random Forest Technique,” International Journal of Innovative Research in Science, Engineering and Technology, vol. 8, no. 4, pp. 4128-4135, 2019.

[16] Patni J., Billus S., Billus S., and Singh R., “Feature-Based Opinion Mining and Managed Machine Learning with Sentimental Classification Models,” International Journal of Engineering and Advanced Technology, vol. 9, no. 2, pp. 3992-3998, 2020.

[17] Pavithra P. and Babu S., “Data Mining Techniques for Handling Imbalanced Datasets: A Review,” International Journal of Scientific Research and Engineering Development, vol. 2, no. 3, 2018.

[18] Racz A., Bajusz D., and Heberger K., “Effect of Dataset Sizeand Train/Test Split Ratios in QSAR/QSPR Multiclass Classification,” Molecules, vol. 26, no. 4, 2021.

[19] Razoogi T., Khurana P., Raahemifar K., and Abhari A., “Credit Card Fraud Detection Using Fuzzy Logic and Neural Networks,” in Proceedingsof the 19th Communications and Networking Symposium, San Diego, pp. 1-5, 2016.

[20] Shirgave S., Awati C., More R., and Patil S., “A Review on Credit Card Fraud Detection Using Machine Learning,” International Journal of Scientific and Technology Research, vol. 8, no. 10, pp. 1217-1220, 2019.

[21] Sorournejad S., Atani Z., and Monadjemi A., “A Survey of Credit Card Fraud Detection Techniques: Data and Technique Oriented Perspective,” https://arxiv.org/abs/1611.06439, Cornell University, Last Visited, 2021.

[22] Support-Vector Machine, https://en.wikipedia.org/wiki/Supportvector_mac hine, Last Visited, 2021.

[23] Uqaili I. and Ahsan S., “Machine Learning Based Prediction of Complex Bugs in Source Code,” The International Arab Journal of Information Technology, vol. 17, no. 1, pp. 26-37, 2020. Pratyush Sharma has a bachelor's degree in Computer Science with specialization in Business Analytics and Optimization from UPES, Dehradun. He is currently working in the IT industry as a software engineer. He has keen interest in application/full stack development and machine learning. Souradeep Banerjee has a bachelor's degree in Computer science with specialization in cloud computing and virtualization from UPES Dehradun. He is currently working the IT industry as a software developer engineer. Devyanshi Tiwari has a Bachelor's Degree in Cloud Computing and Virtualization Technology. Her research interests include machine learning, DevOps. She is currently working as a Software Engineer. Jagdish Chandra Patni working as Associate Professor at School of Computer Science, UPES Dehradun India. He did his Ph.D. in the area of High Performance computing in 2016. He did M. Tech. and B. Tech. respectively in the year 2009 and 2004.His areas of research are Database Systems, High Performance computing, Software Engineering, Machine Learning. He has published more than 50 research articles 5 books/book chapters. He is Guest Editor/Reviewer of various referred International journals. He has delivered 15 Keynote/Guest speech in India and abroad.