A Logistic Regression-based Model for Identifying Credit Card Fraudulent Transactions

Abdulrashid Sani *

Department of Computer Science, Sokoto State University, Sokoto State, Nigeria.

Zahriya Lawal Hassan

Department of Computer Science, Sokoto State University, Sokoto State, Nigeria.

Anas Tukur Balarabe

Department of Computer Science, Sokoto State University, Sokoto State, Nigeria.

*Author to whom correspondence should be addressed.


The rapid evolution of technology has significantly transformed payment methods, with a notable shift towards online platforms. However, this transition has also witnessed a concurrent increase in fraudulent activities, particularly within online credit card transactions. In response to the escalating occurrences of fraudulent online credit card transactions, this study proposes the development of a robust fraud detection model utilizing machine learning algorithms implemented in Python. Leveraging credit card transaction data sourced from Kaggle, the research utilizes Logistic Regression for both training and testing datasets to identify fraudulent transactions. The efficacy of the model is evaluated using separate test data, resulting in an impressive accuracy rate of 99.87% in detecting previously unseen fraudulent transactions. Further scrutiny of the test data reaffirms this high accuracy, registering a similar rate of 99.8%, thus underscoring the model's adeptness in handling novel data instances. The findings are succinctly represented visually, elucidating the model's efficacy in bolstering online transaction security. By amalgamating advanced machine learning techniques with Python programming, this research contributes to the ongoing efforts aimed at enhancing security measures surrounding online credit card transactions by identifying legit and fraudulent transactions. Such endeavors are paramount in mitigating the adverse impacts of fraudulent activities on both financial stakeholders and consumers.

Keywords: Credit card fraud, machine learning algorithms, logistic regression, fraudulent transactions, legit transactions, accuracy, model, test data, training data, python, library, Jupiter note book

How to Cite

Sani, Abdulrashid, Zahriya Lawal Hassan, and Anas Tukur Balarabe. 2024. “A Logistic Regression-Based Model for Identifying Credit Card Fraudulent Transactions”. Asian Journal of Research in Computer Science 17 (7):41-54. https://doi.org/10.9734/ajrcos/2024/v17i7476.


Download data is not yet available.