Comparative Analysis of Random Forest and Logistic Regression Models for Detecting Fraud in Bank Transactions Based on Performance Metrics

This study explores developing and evaluating machine learning models for detecting fraudulent bank transactions. By analyzing transaction data, features such as transaction type, amount, balance, and date are extracted and labeled as genuine or fraudulent based on balance consistency and transaction limits. The dataset is split into training and testing sets, and two models—Random Forest and Logistic Regression—are trained using standardized features. The models are evaluated on accuracy, precision, recall, and F1-score metrics. Results indicate that the Random Forest model outperforms Logistic Regression in terms of accuracy due to its ability to handle complex relationships within the data. However, Logistic Regression offers valuable probabilistic insights. Challenges such as data imbalance and feature extraction quality are addressed with techniques like Synthetic Minority Over-sampling Technique (SMOTE) and advanced preprocessing methods. Prediction probabilities are visualized using Matplotlib for better interpretation. Future work includes enhancing feature extraction, expanding the dataset, and exploring more advanced models to further improve performance. This study demonstrates the potential of combining multiple validation techniques and machine learning models with a userfriendly interface to create a robust solution for detecting fraudulent bank transactions, thereby enhancing financial security.

Authors

Institutions

Publication Details

Journal
RESEARCH JOURNAL OF PURE SCIENCE AND TECHNOLOGY
Published
2026-11-18
DOI
https://doi.org/10.56201/rjpst.v7.no4.2024.pg1.12
Citations
1
Primary Topic
Imbalanced Data Classification Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Comparative Analysis of Random Forest and Logistic Regression Models for Detecting Fraud in Bank Transactions Based on Performance Metrics

Mohammed Usman
1 citations
RESEARCH JOURNAL OF PURE SCIENCE AND TECHNOLOGY
Imbalanced Data Classification Techniques
article

Comparative Analysis of Random Forest and Logistic Regression Models for Detecting Fraud in Bank Transactions Based on Performance Metrics

Mohammed Usman
article en
1 citations

Abstract

This study explores developing and evaluating machine learning models for detecting fraudulent bank transactions. By analyzing transaction data, features such as transaction type, amount, balance, and date are extracted and labeled as genuine or fraudulent based on balance consistency and transaction limits. The dataset is split into training and testing sets, and two models—Random Forest and Logistic Regression—are trained using standardized features. The models are evaluated on accuracy, precision, recall, and F1-score metrics. Results indicate that the Random Forest model outperforms Logistic Regression in terms of accuracy due to its ability to handle complex relationships within the data. However, Logistic Regression offers valuable probabilistic insights. Challenges such as data imbalance and feature extraction quality are addressed with techniques like Synthetic Minority Over-sampling Technique (SMOTE) and advanced preprocessing methods. Prediction probabilities are visualized using Matplotlib for better interpretation. Future work includes enhancing feature extraction, expanding the dataset, and exploring more advanced models to further improve performance. This study demonstrates the potential of combining multiple validation techniques and machine learning models with a userfriendly interface to create a robust solution for detecting fraudulent bank transactions, thereby enhancing financial security.

RESEARCH JOURNAL OF PURE SCIENCE AND TECHNOLOGY
The Federal Polytechnic, Ado-Ekiti (NG), Federal Polytechnic Bali (NG)
Imbalanced Data Classification Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon