E-Commerce Fraud Detection Using Machine Learning

The rapid expansion of e-commerce has simultaneously increased the sophistication and frequency of fraudulent activities. This paper presents a machine learning-based approach for detecting e-commerce fraud using ensemble models-Stacking Classifier and XGBoost. A synthetic dataset of 23,634 transactions was generated to simulate realistic user and fraud behavior. The proposed system leverages Python and the Flask framework, offering real-time detection capabilities. Evaluation metrics such as precision, recall, and F1-score were used due to the highly imbalanced nature of fraud data. The results indicate significant improvement in fraud detection performance compared to traditional models, particularly in reducing false positives and negatives. The system shows strong adaptability to evolving fraud patterns and can be effectively integrated into e-commerce platforms for live transaction monitoring.

Authors

Publication Details

Journal
International Journal of Science and Research (IJSR)
Published
2025-04-22
DOI
https://doi.org/10.21275/sr25416171957
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

E-Commerce Fraud Detection Using Machine Learning

J. Naga Vamshi Krishna, Shoshana Daniel
International Journal of Science and Research (IJSR)
Imbalanced Data Classification Techniques
article

E-Commerce Fraud Detection Using Machine Learning

J. Naga Vamshi Krishna, Shoshana Daniel
article en

Abstract

The rapid expansion of e-commerce has simultaneously increased the sophistication and frequency of fraudulent activities. This paper presents a machine learning-based approach for detecting e-commerce fraud using ensemble models-Stacking Classifier and XGBoost. A synthetic dataset of 23,634 transactions was generated to simulate realistic user and fraud behavior. The proposed system leverages Python and the Flask framework, offering real-time detection capabilities. Evaluation metrics such as precision, recall, and F1-score were used due to the highly imbalanced nature of fraud data. The results indicate significant improvement in fraud detection performance compared to traditional models, particularly in reducing false positives and negatives. The system shows strong adaptability to evolving fraud patterns and can be effectively integrated into e-commerce platforms for live transaction monitoring.

International Journal of Science and Research (IJSR)Vol. 14(4)
Peace, Justice and strong institutions
Openalex Percentile: Top 96%
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.