Performance comparison of machine learning algorithms for credit card fraud detection
Abstract
Digital payment methods like credit cards have increased in popularity and usage dramatically in the past two decades along with the whole world transforming to digital and the emergence of E-commerce like Amazon, Shopify, and eBay that completely changed people’s spending habits. There is no doubt that online shopping and credit cards have brought huge conveniences to everyone’s daily lives, however, it also makes committing payment fraud easier than ever before. Payment fraud can be categorized into a variety of types and the research is focused on fraud where a credit card gets accessed by unknown individuals or groups with unauthorized transactions. The research consists of three main parts: 1. Determine a suitable metric to measure how well different machine learning algorithms work in terms of the ability to correctly identify fraudulent transactions and the practicability when being utilized in real-life scenarios. 2. Compares the performance of the algorithms including Gaussian Naive Bayes, Logistic Regression, SVM, Random Forest, and Sequential Neutral Network. 3. Explores techniques like random undersampling and smote oversampling that handle imbalanced data and evaluates their impacts on the performance of the algorithms. Throughout the research, it is shown that the recall and precision for fraudulent transactions should be the priority metric to measure how capable the machine learning algorithms are in detecting credit card fraud. Random forest performed the best overall compared to 4 other algorithms examined in the research. In addition, random undersampling made the overall performance of the algorithms worse, and smote oversampling had positive impacts on the recall for the Random Forest and Sequential Neural Network algorithms but with a slight drop in precision.
References
- Delamaire, L., Abdou, H., & Pointon, J. (2009). Credit card fraud and detection techniques: a review. Banks and Bank systems, 4(2), 57-68.
- 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.
- Machine Learning Group ULB (2017) Credit Card Fraud Detection, RUL: https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud
- Koza, J. R., Bennett, F. H., Andre, D., & Keane, M. A. (1996). Automated design of both the topology and sizing of analog electrical circuits using genetic programming. In Artificial intelligence in design’96, 151-170.
- Mohammed, R., Rawashdeh, J., & Abdullah, M. (2020). Machine learning with oversampling and undersampling techniques: overview study and experimental results. In 2020 11th international conference on information and communication systems, 243-248.
- Thabtah, F., Hammoud, S., Kamalov, F., & Gonsalves, A. (2020). Data imbalance in classification: Experimental evaluation. Information Sciences, 513, 429-441.
- Japkowicz, N., & Stephen, S. (2002). The class imbalance problem: A systematic study. Intelligent data analysis, 6(5), 429-449.
- Jahromi, A. H., & Taheri, M. (2017). A non-parametric mixture of Gaussian naive Bayes classifiers based on local independent features. In 2017 Artificial intelligence and signal processing conference, 209-212.
- Webb, G. I., Keogh, E., & Miikkulainen, R. (2010). Naïve Bayes. Encyclopedia of machine learning, 15, 713-714.
- LaValley, M. P. (2008). Logistic regression. Circulation, 117(18), 2395-2399.
- DeMaris, A. (1995). A tutorial in logistic regression. Journal of Marriage and the Family, 956-968.