Credit Card Fraudulent Transactions Detection Using Machine Learning

Authors

  • Ali Ahmed MSCS, Department of Computer Science, Sindh Madressatul Islam University, Karachi, Sindh, Pakistan E-mail: aliahmedreal@gmail.com
  • Karan Kumar Masters in Quality and Production Management, Częstochowa University of Technology, Poland, E-mail: karan.chabria1@gmail.com
  • Noman Khokhar MSCS, Department of Computer Science, Iqra University, Karachi, Sindh, Pakistan E-mail: nomankhokhar29@gmail.com
  • Nelson Alfonso Masters of Science in computing (Software engineering), The Open University, United Kingdom E-mail: nelson_alfonso@icloud.com

DOI:

https://doi.org/10.63163/jpehss.v3i2.242

Abstract

With the rapid growth of the e-commerce industry, the use of credit cards for online purchases has increased significantly. Unfortunately, credit card fraud has also become increasingly prevalent in recent years, creating complications for banks trying to detect fraudulent activity within the credit card system. To overcome this hardship Machine learning plays an eminent role in detecting the credit card fraud in the transactions. Modeling prior credit card transactions with data from ones that turned out to be fraudulent is part of the Card Fraud Detection Problem. In Machine learning the machine is trained at first to predict the output so, to predict the various bank transactions various machine learning algorithms are used. The SMOTE approach was employed to oversample the dataset because it was severely unbalanced. This paper the examines and overview the performance of K-nearest neighbors, Decision Tree, Logistic regression and Random forest, XGBoost for credit card fraud detection. The assignment is implemented in Python and uses five distinct machine learning classification techniques. The performance of the algorithm is evaluated by accuracy score, confusion matrix, f1-score, precision and recall score and auc-roc curve as well.

Downloads

Published

2025-04-08

How to Cite

Ali Ahmed, Karan Kumar, Noman Khokhar, & Nelson Alfonso. (2025). Credit Card Fraudulent Transactions Detection Using Machine Learning. Physical Education, Health and Social Sciences, 3(2), 14–26. https://doi.org/10.63163/jpehss.v3i2.242