A novel hybrid machine learning model for credit card fraud detection using anomaly detection and optimised classification

Credit card fraud poses a significant challenge to financial institutions, necessitating models that can detect rare and complex fraudulent patterns in highly imbalanced datasets. This study introduced a hybrid approach that integrated one-class support vector machine (OCSVM) for anomaly removal, random forest (RF) for classification and genetic algorithm (GA) for hyperparameter optimisation. The method was evaluated on the publicly available PaySim dataset, which simulates real-world financial transactions. Model performance was assessed using F1-score, accuracy, precision, recall, average precision-recall curve and area under the receiver operating characteristic curve. The proposed model achieved superior results compared to baseline methods, with an F1-score of 90.74% and accuracy of 99.95%, along with notable improvements in precision and recall. These findings demonstrate that combining anomaly detection with optimised classification significantly enhances fraud detection performance. The proposed framework can serve as a robust tool for improving fraud prevention in financial applications.

Authors

Publication Details

Journal
PeerJ Computer Science
Published
2026-04-17
DOI
https://doi.org/10.7717/peerj-cs.3748
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
article

A novel hybrid machine learning model for credit card fraud detection using anomaly detection and optimised classification

Mourad Ykhlef, Maram Alamri
PeerJ Computer Science
Imbalanced Data Classification Techniques
article

A novel hybrid machine learning model for credit card fraud detection using anomaly detection and optimised classification

Mourad Ykhlef, Maram Alamri
article en

Abstract

Credit card fraud poses a significant challenge to financial institutions, necessitating models that can detect rare and complex fraudulent patterns in highly imbalanced datasets. This study introduced a hybrid approach that integrated one-class support vector machine (OCSVM) for anomaly removal, random forest (RF) for classification and genetic algorithm (GA) for hyperparameter optimisation. The method was evaluated on the publicly available PaySim dataset, which simulates real-world financial transactions. Model performance was assessed using F1-score, accuracy, precision, recall, average precision-recall curve and area under the receiver operating characteristic curve. The proposed model achieved superior results compared to baseline methods, with an F1-score of 90.74% and accuracy of 99.95%, along with notable improvements in precision and recall. These findings demonstrate that combining anomaly detection with optimised classification significantly enhances fraud detection performance. The proposed framework can serve as a robust tool for improving fraud prevention in financial applications.

PeerJ Computer ScienceVol. 12
Peace, Justice and strong institutions
Openalex Percentile: Top 20%
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.

A novel hybrid machine learning model for credit card fraud detection using anomaly detection and optimised classification — Mourad Ykhlef, Maram Alamri · PeerJ Computer Science (2026) | TGRS Research Map | TGRS