Product Category Level Demand Forecasting Based on LRFM–CLV Customer Segmentation in B2B E-Marketplace Systems
Received: 14 February 2026 | Revised: 20 March 2026 and 4 April 2026 | Accepted: 5 April 2026 | Online: 6 June 2026
Corresponding author: Ariwiati
Abstract
Accurate demand forecasting poses a major challenge in B2B e-marketplace systems due to the heterogeneous, complex, and nonlinear nature of transaction data. This study introduces a customer-segmentation-based demand-forecasting method that employs tailored machine learning models for each cluster. Customers were first grouped by transaction behavior characteristics, and then several prediction models, namely Random Forest, Extreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LightGBM), and an averaging ensemble of these models, were evaluated within each cluster using metrics such as Mean Absolute Error (MAE), Symmetric Mean Absolute Percentage Error (SMAPE), Root Mean Square Error (RMSE), and the coefficient of determination (R²). The results showed that no single model outperformed the others across all clusters. LightGBM yielded the best results in most clusters, with R² values of 0.8202 in Cluster 0, 0.7505 in Cluster 1, and 0.6816 in Cluster 2, whereas the averaging ensemble model excelled in Cluster 3 with an R² of 0.9849. Visualization of positively growing product categories highlighted notable differences in demand patterns between clusters. These insights suggest that segmentation-based and contextual modeling approaches can enhance both the accuracy and interpretability of demand predictions, improving support for operational decisions and supply chain planning in B2B e-marketplaces.
Keywords:
customer segmentation, demand forecast, machine learning, B2B, transaction pattern analysisReferences
D. Mourtzis, J. Angelopoulos, and N. Panopoulos, "A survey of digital B2B platforms and marketplaces for purchasing industrial product service systems: A conceptual framework," Procedia CIRP, vol. 97, pp. 331–336, Jan. 2021.
R. M. van Steenbergen and M. R. K. Mes, "Forecasting demand profiles of new products," Decision Support Systems, vol. 139, Dec. 2020, Art. no. 113401.
A. Kumar, R. Shankar, and N. R. Aljohani, "A big data driven framework for demand-driven forecasting with effects of marketing-mix variables," Industrial Marketing Management, vol. 90, pp. 493–507, Oct. 2020.
J. Feizabadi, "Machine learning demand forecasting and supply chain performance," International Journal of Logistics Research and Applications, vol. 25, no. 2, pp. 119–142, Feb. 2022.
I. H. Ariyanto, A. A. Chamid, and R. Fiati, "Demand Prediction and Apparel Production Management Using AI-Based Decision Tree," bit-Tech, vol. 8, no. 1, pp. 59–67, Aug. 2025.
B. Huang, S. Chen, and H. Chen, "Product Demand Forecasting Method Based on Spatiotemporal Hypergraph Attention Network," Applied Sciences, vol. 15, no. 24, Dec. 2025, Art. no. 13196.
M. R. K. Ibrahim and R. Tyasnurita, "LRFM Model Analysis for Customer Segmentation Using K-Means Clustering," in 2022 International Conference on Electrical and Information Technology, Malang, Indonesia, 2022, pp. 383–391.
O. N. Akande, H. B. Akande, E. O. Asani, and B. T. Dautare, "Customer Segmentation through RFM Analysis and K-means Clustering: Leveraging Data-Driven Insights for Effective Marketing Strategy," in 2024 International Conference on Science, Engineering and Business for Driving Sustainable Development Goals, Omu-Aran, Nigeria, 2024, pp. 1–8.
Y. Syahra, A. Fadlil, and H. Yuliansyah, "Customer Segmentation Using RFM and K-Means Clustering to Support CRM in Retail Industry," Sinkron : jurnal dan penelitian teknik informatika, vol. 9, no. 3, pp. 1120–1131, July 2025.
F. A. Laksono, B. Rachmat, and Y. Sutasrso, "B2B Customer Segmentation Based on Customer Lifetime Value Concept and RFM Modeling," International Journal of Economics Development Research, vol. 4, no. 3, pp. 1856–1874, Dec. 2023.
Ariwiati, A. Susanty, and K. L. Batu, "An Integrated Lrfm and CLV-Based Customer Segmentation Model for B2B E-Marketplace Platform," in 2025 12th International Conference on Information Technology, Computer, and Electrical Engineering, Semarang, Indonesia, 2025, pp. 1–6.
H. GhorbanTanhaei, P. Boozary, S. Sheykhan, M. Rabiee, F. Rahmani, and I. Hosseini, "Predictive analytics in customer behavior: Anticipating trends and preferences," Results in Control and Optimization, vol. 17, Dec. 2024, Art. no. 100462.
E. Ezeife, M. E. Eyeregba, C. Mokogwu, and T. D. Olorunyomi, "Integrating predictive analytics into strategic decision-making: A model for boosting profitability and longevity in small businesses across the United States," World Journal of Advanced Research and Reviews, vol. 24, no. 2, pp. 2490–2507, Nov. 2024.
H. Ahaggach, L. Abrouk, and E. Lebon, "Systematic Mapping Study of Sales Forecasting: Methods, Trends, and Future Directions," Forecasting, vol. 6, no. 3, pp. 502–532, July 2024.
M. Husnah and R. A. Vinarti, "Customer Segmentation Analysis Using LRFM Based Product and Brand Dimensions," in 2023 2nd International Conference for Innovation in Technology, Bangalore, India, 2023, pp. 1–6.
C. Nisak and E. Sugiharti, "Customer Lifetime Value Clustering Using K-Means Algorithm with Length Recency Frequency Monetary Model to Enhance Customer Relationship Management," Journal of Advances in Information Systems and Technology, vol. 6, no. 1, pp. 149–165, Aug. 2024.
Z. Yu, "Machine Learning-Based Market Demand Forecasting in Product Development," in 2024 IEEE 6th Eurasia Conference on Biomedical Engineering, Healthcare and Sustainability, Tainan, Taiwan, 2024, pp. 425–427.
M. Zohdi, M. Rafiee, V. Kayvanfar, and A. Salamiraad, "Demand forecasting based machine learning algorithms on customer information: an applied approach," International Journal of Information Technology, vol. 14, no. 4, pp. 1937–1947, June 2022.
Z. Sun, G. Wang, P. Li, H. Wang, M. Zhang, and X. Liang, "An improved random forest based on the classification accuracy and correlation measurement of decision trees," Expert Systems with Applications, vol. 237, Mar. 2024, Art. no. 121549.
S. Hakkal and A. A. Lahcen, "XGBoost To Enhance Learner Performance Prediction," Computers and Education: Artificial Intelligence, vol. 7, Dec. 2024, Art. no. 100254.
D. Demirtürk, Ö. Mintemur, and A. Arslan, "Optimizing LightGBM and XGBoost Algorithms for Estimating Compressive Strength in High-Performance Concrete," Arabian Journal for Science and Engineering, vol. 51, no. 4, pp. 4401–4423, Feb. 2026.
R. Shwartz-Ziv and A. Armon, "Tabular data: Deep learning is not all you need," Information Fusion, vol. 81, pp. 84–90, May 2022.
K. A. B. Hamou, Z. Jarir, and S. Elfirdoussi, "Application of LightGBM Algorithm in Production Scheduling Optimization on Non-Identical Parallel Machines," Engineering, Technology & Applied Science Research, vol. 14, no. 6, pp. 17973–17978, Dec. 2024.
Downloads
How to Cite
License
Copyright (c) 2026 Ariwiati, Aries Susanty, Kardison Lumban Batu

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
