Skip to content
Open access

Effectiveness of the Random Forest Classifier Algorithm in Credit Card Fraud Detection in Financial Institutions

Sep 2026 · Journal of Business Development and Management Research · 0 citations

TL;DR

The results demonstrate that the random forest classifier is highly precise but that recall remains constrained by severe class imbalance, indicating that resampling or cost-sensitive learning is required before deployment.

Abstract

The increase in the number of credit card users and transactions has caused fraudulent activities to increase significantly. As a result, it has become crucial for financial institutions to develop robust and accurate fraud detection systems to minimise financial losses. One of the popular ways of achieving this is through machine learning. The objective of this research is to develop a model that can detect whether a credit card used for a transaction has been compromised. In this study, a detection system was developed using the random forest classifier. The classifier was used to analyse one million, two hundred and ninety-six thousand, six hundred and seventy-five (1,296,675) synthetic credit card transactions generated with the Sparkov Data Generator and obtained from Kaggle. The dataset contained one million, two hundred and eighty-nine thousand, one hundred and sixty-nine (1,289,169) non-fraudulent transactions and seven thousand five hundred and six (7,506) fraudulent transactions. The data was split with 70% used for training and 30% for testing before being passed into the random forest classifier. The training data was used to fit the model while the testing data was used to evaluate it, and a confusion matrix was plotted. A feature importance plot showed the factors with the highest importance in the dataset. The performance of the algorithm was analysed using accuracy, precision, recall, and F1-score, with fraudulent transactions treated as the positive class. The software used was the Python programming language and the scikit-learn module. The model achieved an overall accuracy of 99.76%, a precision of 91.40%, a recall of 64.20%, and an F1-score of 75.43%, correctly identifying 64.20% of fraudulent transactions and 99.96% of non-fraudulent transactions. The results demonstrate that the random forest classifier is highly precise but that recall remains constrained by severe class imbalance, indicating that resampling or cost-sensitive learning is required before deployment. The model developed contributes to the management of credit card fraud in financial institutions.

Read PDF

Similar papers

Open access Nov 2026

Detection of Fraud in Credit Card Transactions

Detecting fraud in credit card transactions is a major strategic challenge for financial institutions, given the rapid growth of electronic payments and the steady increase in the volume of data generated. Traditional control approaches quickly reach their limits in the face of the growing complexity of fraudulent beha...

André Boris Nsankong, Ebenezer Maka Maka, Noulapeu Ngaffo Armielle et al. · 0 citations
Review Open access Oct 2026

Machine Learning for Financial Fraud Detection: A Survey of Algorithms and Applications

Financial fraud has emerged as a serious challenge faced by financial institutions as a result of the rise of online banking, electronic payment systems, and electronic transactions. One of the main problems faced by advanced fraud detection solutions is that they fall behind in dealing with evolving and complicated me...

A. Jain · 0 citations
Open access Sep 2026

CREDIT CARD FRAUD DETECTION USING ENSEMBLE MACHINE LEARNING METHODS

The study results show that ensemble techniques enhance the detection of fraudulent credit card transactions significantly and the proposed framework included data preprocessing and imbalanced data handling using SMOTE produced good results in terms of classification performance and reliable detections.

Moohanad Jawthari, Ihsan Sahib, Noor Hasan Fadhil · 0 citations
Open access Sep 2026

THE POWER OF MACHINE LEARNING MODELS IN EARLY DETECTION OF FRAUDULENT FINANCIAL STATEMENTS: THE EXAMPLE OF BORSA ISTANBUL

Detecting and preventing fraudulent financial statements is crucial to maintaining the reliability of financial markets, as such statements undermine stakeholders and disrupt healthy market functioning. This study develops an artificial intelligence–supported model to detect fraudulent financial statements of companies...

Metin Kılıç, İnci Merve Altan, Hicran Özgüner Kılıç et al. · 0 citations
Open access 2026

Machine Learning for Fraud Detection in Digital Banking and DeFi: Towards Sustainable Financial Systems

The rapid development of digital banking and decentralized finance (DeFi) has increased the complexity of financial fraud detection. Although machine learning methods are increasingly applied to fraud detection, the literature remains fragmented regarding the comparative performance of different algorithms under highly...

Iurie Caprian, Iulia Caprian, I. Lom · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.