Fraud Detection of Credit Cards Using Supervised Machine Learning
Main Article Content
Abstract
Credit card fraud encompasses illicit activities aimed at unlawfully obtaining confidential information to enable unauthorized individuals to engage in illegal transactions. As technology advances, fraudsters have honed their skills in evading security measures, presenting a formidable challenge in fraud detection. To address this issue, an array of algorithms and analytical techniques has emerged to identify and mitigate instances of fraud. This research aimedto identify the most appropriate supervised machine learning algorithm for credit card fraud detection. Logistic Regression, Random Forest, Support Vector Machine, and Decision Trees were implemented and compared. Due to the imbalanced nature of the dataset, the SMOTE (Synthetic Minority Oversampling Technique) technique was employed to rectify the data imbalance by oversampling the minority class. The performance of the trained models was evaluated using various metrics, including the confusion matrix, accuracy, precision, recall, f1-score, Matthews Correlation Coefficient (MCC), and Area Under the Curve (AUC). The results of the analysis revealed that Random Forests exhibited exceptional performance, achieving an impressive recall score of 84% and surpassing other algorithms. This researchprovides the groundwork for future investigations involving diverse deep-learning techniques applied to real-time and dynamic datasets, enabling continuous enhancements in fraud detection and prevention mechanisms.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Pakistan Journal Emerging Science and Technologies (PJEST) in collaboration with Govt. Islamia Graduate College Civil Lines Lahore, Pakistan is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
D. Varmedja, M. Karanovic, S. Sladojevic, M. Arsenovic, and A. Anderla, "Credit card fraud detection-machine learning methods," in 2019 18th International Symposium INFOTEH-JAHORINA (INFOTEH), 2019: IEEE, pp. 1-5.
I. G. a. Y. B. a. A. Courville, Deep Learning. MIT Press, 2016.
S. Marabad, "Credit Card Fraud Detection using Machine Learning," Asian Journal For Convergence In Technology (AJCT) ISSN-2350-1146, vol. 7, no. 2, pp. 121-127, 2021.
Y. Sayjadah, I. A. T. Hashem, F. Alotaibi, and K. A. Kasmiran, "Credit card default prediction using machine learning techniques," in 2018 Fourth International Conference on Advances in Computing, Communication & Automation (ICACCA), 2018: IEEE, pp. 1-4.
N. Udhaya Kumar, R. Sri Vasu, S. Subash, and D. Sharmila Rani, "ATM-Security using machine learning technique in IoT," International Journal of Advance Research, Ideas and Innovations in Technology, vol. 5, no. 2, pp. 150-153, 2019.
I. El Naqa and M. J. Murphy, What is machine learning? Springer, 2015.
N. C. Uslu and F. Akal, "A machine learning approach to detection of trade-based manipulations in borsa istanbul," Computational Economics, vol. 60, no. 1, pp. 25-45, 2022.
K. Abhirami, A. K. Pani, M. Manohar, and P. Kumar, "An Approach for Detecting Frauds in E-Commerce Transactions using Machine Learning Techniques," in 2021 2nd International Conference on Smart Electronics and Communication (ICOSEC), 2021: IEEE, pp. 826-831.
R. R. Popat and J. Chaudhary, "A survey on credit card fraud detection using machine learning," in 2018 2nd international conference on trends in electronics and informatics (ICOEI), 2018: IEEE, pp. 1120-1125.
K. N. Mishra and S. C. Pandey, "Fraud prediction in smart societies using logistic regression and k-fold machine learning techniques," Wireless Personal Communications, vol. 119, pp. 1341-1367, 2021.
J. O. Awoyemi, A. O. Adetunmbi, and S. A. Oluwadare, "Credit card fraud detection using machine learning techniques: A comparative analysis," in 2017 international conference on computing networking and informatics (ICCNI), 2017: IEEE, pp. 1-9.
M. Ashraf, M. A. Abourezka, and F. A. Maghraby. (2022). A Comparative Analysis of Credit Card Fraud Detection Using Machine Learning and Deep Learning Techniques.
V. A. S. B Basapur, Dr. Ambedhkar, "“Credit Card Fraud Detection using Machine Learning”," Institute of Technology, Bagalor, 2020.
S. Makki, Z. Assaghir, Y. Taher, R. Haque, M.-S. Hacid, and H. Zeineddine, "An experimental study with imbalanced classification approaches for credit card fraud detection," IEEE Access, vol. 7, pp. 93010-93022, 2019.
Z. Li, M. Huang, G. Liu, and C. Jiang, "A hybrid method with dynamic weighted entropy for handling the problem of class imbalance with overlap in credit card fraud detection," Expert Systems with Applications, vol. 175, p. 114750, 2021.
H. Zhu, G. Liu, M. Zhou, Y. Xie, A. Abusorrah, and Q. Kang, "Optimizing weighted extreme learning machines for imbalanced classification and application to credit card fraud detection," Neurocomputing, vol. 407, pp. 50-62, 2020.
S. Rajora et al., "A comparative study of machine learning techniques for credit card fraud detection based on time variance," in 2018 IEEE Symposium Series on Computational Intelligence (SSCI), 2018: IEEE, pp. 1958-1963.
I. Benchaji, S. Douzi, and B. El Ouahidi, "Using genetic algorithm to improve classification of imbalanced datasets for credit card fraud detection," in Smart Data and Computational Intelligence: Proceedings of the International Conference on Advanced Information Technology, Services and Systems (AIT2S-18) Held on October 17–18, 2018 in Mohammedia 3, 2019: Springer, pp. 220-229.
N. I. Mustika, B. Nenda, and D. Ramadhan, "Machine learning algorithms in fraud detection: case study on retail consumer financing company," Asia Pacific Fraud Journal, vol. 6, no. 2, pp. 213-221, 2021.
M. L. GROUP-(ULB). Credit Card Fraud Detection, https://www.kaggle.com.
A. Fernández, S. Garcia, F. Herrera, and N. V. Chawla, "SMOTE for learning from imbalanced data: progress and challenges, marking the 15-year anniversary," Journal of artificial intelligence research, vol. 61, pp. 863-905, 2018.
D. Chicco, "Ten quick tips for machine learning in computational biology," BioData mining, vol. 10, no. 1, p. 35, 2017.
https://developers.google.com/machine-learning. "Classification: ROC Curve and AUC." (accessed.
P. Raghavan, & Gayar, N. E. , "Fraud Detection using Machine Learning and Deep Learning," presented at the 2019 International Conference on Computational Intelligence and Knowledge Economy(ICCIKE), United Arab Emirates, 2019.
S. Dhankhad, E. Mohammed, and B. Far, "Supervised machine learning algorithms for credit card fraudulent transaction detection: a comparative study," in 2018 IEEE international conference on information reuse and integration (IRI), 2018: IEEE, pp. 122-125.