Enhancing Fashion Product Sales Segmentation Using Random Forest with SMOTE and Hyperparameter Optimization

The rapid expansion of the fashion e-commerce sector has intensified the need for accurate sales segmentation to support targeted marketing and efficient inventory management. This study proposes a robust methodology for classifying fashion product sales into three categories: high-selling, moderately-selling, and low-selling, using the Random Forest algorithm integrated with the Synthetic Minority Over-sampling Technique (SMOTE) and hyperparameter optimization. A real-world dataset comprising over 20,000 product records from an online marketplace was preprocessed through missing-value handling, categorical encoding, and numerical feature standardization. Class labels were generated using quantile-based segmentation of sales volume, followed by class balancing with SMOTE. The Random Forest model was tuned using RandomizedSearchCV and evaluated through accuracy, precision, recall, F1-score, and Receiver Operating Characteristic–Area Under Curve (ROC-AUC) metrics. Experimental results demonstrate strong predictive performance, achieving an accuracy of 90.43%, macro-precision of 90.60%, macro-recall of 90.45%, macro-F1 of 90.50%, and macro ROC-AUC of 0.9783. Feature importance analysis revealed that price, category, and customer ratings were the most influential predictors of sales segmentation. These findings validate the effectiveness of ensemble learning combined with class imbalance handling for multi-class classification in retail datasets. From a scientific perspective, this research contributes to the literature by presenting a reproducible, data-driven framework for product segmentation in heterogeneous and imbalanced datasets. Practically, the proposed approach can guide fashion retailers in refining pricing strategies, optimizing marketing campaigns, and improving inventory decisions in competitive online marketplaces. The methodology is adaptable to other e-commerce domains, offering broader implications for business intelligence and predictive analytics.

Institutions

Publication Details

Journal
Jurnal Ilmu Komputer dan Informatika
Published
2025-08-30
DOI
https://doi.org/10.54082/jiki.280
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

Enhancing Fashion Product Sales Segmentation Using Random Forest with SMOTE and Hyperparameter Optimization

Jurnal Ilmu Komputer dan Informatika
Customer churn and segmentation
article

Enhancing Fashion Product Sales Segmentation Using Random Forest with SMOTE and Hyperparameter Optimization

article en

Abstract

The rapid expansion of the fashion e-commerce sector has intensified the need for accurate sales segmentation to support targeted marketing and efficient inventory management. This study proposes a robust methodology for classifying fashion product sales into three categories: high-selling, moderately-selling, and low-selling, using the Random Forest algorithm integrated with the Synthetic Minority Over-sampling Technique (SMOTE) and hyperparameter optimization. A real-world dataset comprising over 20,000 product records from an online marketplace was preprocessed through missing-value handling, categorical encoding, and numerical feature standardization. Class labels were generated using quantile-based segmentation of sales volume, followed by class balancing with SMOTE. The Random Forest model was tuned using RandomizedSearchCV and evaluated through accuracy, precision, recall, F1-score, and Receiver Operating Characteristic–Area Under Curve (ROC-AUC) metrics. Experimental results demonstrate strong predictive performance, achieving an accuracy of 90.43%, macro-precision of 90.60%, macro-recall of 90.45%, macro-F1 of 90.50%, and macro ROC-AUC of 0.9783. Feature importance analysis revealed that price, category, and customer ratings were the most influential predictors of sales segmentation. These findings validate the effectiveness of ensemble learning combined with class imbalance handling for multi-class classification in retail datasets. From a scientific perspective, this research contributes to the literature by presenting a reproducible, data-driven framework for product segmentation in heterogeneous and imbalanced datasets. Practically, the proposed approach can guide fashion retailers in refining pricing strategies, optimizing marketing campaigns, and improving inventory decisions in competitive online marketplaces. The methodology is adaptable to other e-commerce domains, offering broader implications for business intelligence and predictive analytics.

Jurnal Ilmu Komputer dan InformatikaVol. 5(1)
Universitas Amikom Yogyakarta
Openalex Percentile: Top 39%
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.

Enhancing Fashion Product Sales Segmentation Using Random Forest with SMOTE and Hyperparameter Optimization · Jurnal Ilmu Komputer dan Informatika (2025) | TGRS Research Map | TGRS