Analyzing the customer purchase data of an online shopping store by data mining: A real case study in Iran

Nowadays, online shopping plays a vital role in providing services and delivering goods to customers in the context of business intelligence and e-commerce. This research analyzes the customer purchase data of an Iranian online shopping company in Tehran. Among the available datasets provided by the company, 200 thousand records of one week of transactions have been selected for the present study. Several classification methods (i.e., Random Forest, gradient-boosted trees, K-Nearest Neighbor (KNN), Naïve Bayes, Kernel Naïve Bayes, and Neural Networks) and clustering approaches have been applied to discover the knowledge and patterns. The results show that before balancing the dataset, the KNN algorithm with K=5 is the best classification method among the existing methods. However, after balancing, gradient-boosted trees outperform the other classification methods. For clustering methods, the results show that the K-Means algorithm with K=3 is more efficient regarding the average within centroid distance for each cluster. Finally, concluding remarks and suggestions for future studies are stated.

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-03-01
DOI
https://doi.org/10.22105/riej.2024.468414.1458
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analyzing the customer purchase data of an online shopping store by data mining: A real case study in Iran

SHILAP Revista de lepidopterología
Customer churn and segmentation
article

Analyzing the customer purchase data of an online shopping store by data mining: A real case study in Iran

article en

Abstract

Nowadays, online shopping plays a vital role in providing services and delivering goods to customers in the context of business intelligence and e-commerce. This research analyzes the customer purchase data of an Iranian online shopping company in Tehran. Among the available datasets provided by the company, 200 thousand records of one week of transactions have been selected for the present study. Several classification methods (i.e., Random Forest, gradient-boosted trees, K-Nearest Neighbor (KNN), Naïve Bayes, Kernel Naïve Bayes, and Neural Networks) and clustering approaches have been applied to discover the knowledge and patterns. The results show that before balancing the dataset, the KNN algorithm with K=5 is the best classification method among the existing methods. However, after balancing, gradient-boosted trees outperform the other classification methods. For clustering methods, the results show that the K-Means algorithm with K=3 is more efficient regarding the average within centroid distance for each cluster. Finally, concluding remarks and suggestions for future studies are stated.

SHILAP Revista de lepidopterología
NEOMA Business School (FR), Concordia University (US), Concordia University (CA)
Openalex Percentile: Top 47%
Customer churn and segmentation
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.