Dynamic Data Modeling Using Simultaneous Customer–Product Clustering Based on Markov Chains

Authors

Keywords:

Dynamic data modeling, customer–product co, clustering, Markov chains, customer segmentation, product clustering, transition probabilities, predictive analytics

Abstract

This study aimed to develop and evaluate a dynamic data-modeling framework based on simultaneous customer–product clustering and Markov chains for identifying latent transactional structures, estimating temporal transitions, and improving prediction of evolving customer–product interactions. This quantitative, applied, longitudinal study was conducted using electronic transaction records from selected retail and online businesses in Tehran, Iran. The final analytical dataset included 1,200 customers and 480 products observed over 12 consecutive monthly periods. Customer–product interaction matrices were constructed from standardized measures of purchase frequency and transaction value. Simultaneous co-clustering was applied to identify joint customer and product groups, and alternative clustering configurations were compared using the silhouette coefficient, within-cluster dispersion, adjusted Rand stability, and reconstruction error. First-order discrete-time Markov chains were then used to estimate monthly transition probabilities among customer and product clusters. Predictive performance was evaluated using holdout validation and compared with static independent clustering, static co-clustering, and dynamic clustering without simultaneous customer–product modeling. The four-customer-cluster and four-product-cluster solution provided the strongest overall clustering structure, with the highest silhouette coefficient (0.562) and adjusted Rand stability index (0.847). Markov analysis showed substantial state persistence, with customer self-transition probabilities ranging from 0.694 to 0.805 and product self-transition probabilities ranging from 0.681 to 0.754. The proposed dynamic co-clustering model achieved customer and product cluster prediction accuracies of 0.872 and 0.849, respectively, with adjusted Rand indices of 0.793 and 0.768. It also produced the lowest prediction errors (MAE = 0.074; RMSE = 0.118), reducing RMSE by approximately 32.2% relative to static independent clustering and 21.9% relative to static simultaneous co-clustering. Integrating simultaneous customer–product clustering with Markov transition modeling provides a robust approach for representing both relational structure and temporal evolution in transactional data and improves predictive accuracy compared with static or independently modeled alternatives.

Downloads

Download data is not yet available.

References

[1] Y. Zhang, Q. Ai, and Z. Li, "Grouping of Dynamic Electricity Consumption Behaviour: An f ‐divergence Based Hierarchical Clustering Model," Iet Generation Transmission & Distribution, vol. 15, no. 22, pp. 3164-3175, 2021, doi: 10.1049/gtd2.12248.

[2] R. Paharsingh, "Availability Modeling of Computing Systems With Virtual Architectures," 2021, doi: 10.32920/ryerson.14661660.v1.

[3] P. Damos, J. Dorrestijn, T. Thomidis, J. Tuells, and P. Caballero, "A Temperature Conditioned Markov Chain Model for Predicting the Dynamics of Mosquito Vectors of Disease," Insects, vol. 12, no. 8, p. 725, 2021, doi: 10.3390/insects12080725.

[4] M. Dhont and E. Tsiporkova, "Elucidating Transition State Behaviour From Mobility Data by Cascades of Markov Chains," 2023, doi: 10.21428/594757db.d65bfe6f.

[5] S. Lucas Lopes Ferreira de, F. Bassi, and F. Ana Augusta Ferreira de, "Longitudinal Analysis of Microfinance Borrowers in Brazil: A Dynamic Market Segmentation," Journal of International Development, vol. 33, no. 6, pp. 1063-1083, 2021, doi: 10.1002/jid.3561.

[6] A. Harish and C. Malathy, "Customer Segment Prediction on Retail Transactional Data Using K-Means and Markov Model," Intelligent Automation & Soft Computing, vol. 36, no. 1, pp. 589-600, 2023, doi: 10.32604/iasc.2023.032030.

[7] R. Huang, Z. Chen, J. He, and X. Chu, "Dynamic Heterogeneous User Generated Contents-Driven Relation Assessment via Graph Representation Learning," Sensors, vol. 22, no. 4, p. 1402, 2022, doi: 10.3390/s22041402.

[8] Q. Duchemin, "Reliable Prediction in the Markov Stochastic Block Model," Esaim Probability and Statistics, vol. 27, pp. 80-135, 2023, doi: 10.1051/ps/2022019.

[9] Y. Wang et al., "A Methodology of Phenotyping ICU Patients From EHR Data: High-Fidelity, Personalized, and Interpretable Phenotypes Estimation," 2023, doi: 10.1101/2023.03.15.23287315.

[10] M. Bani-Yaghoub, K. Rekab, J. Pluta, and S. Tabharit, "Estimating the Relative Risks of Spatial Clusters Using a Predictor–Corrector Method," Mathematics, vol. 13, no. 2, p. 180, 2025, doi: 10.3390/math13020180.

[11] I. W. Abdul and I. A. Gedel, "Modeling Downtime Severity of Telecommunication Networks Using Discrete Time Markov Chains," International Journal of Advanced Technology and Engineering Exploration, vol. 10, no. 101, 2023, doi: 10.19101/ijatee.2022.10100435.

[12] E. Nikolova, "Markov Models for Malware and Intrusion Detection: A Survey," Serdica Journal of Computing, vol. 15, no. 2, pp. 129-147, 2023, doi: 10.55630/sjc.2021.15.129-147.

[13] A. Jandera and T. Škovránek, "Customer Behaviour Hidden Markov Model," Mathematics, vol. 10, no. 8, p. 1230, 2022, doi: 10.3390/math10081230.

[14] L. Amalia, Sertiningsih, F. Hayatuki, S. Muliani, and A. M. Junaidi, "Advantages and Disadvantages of Utilizing Markov Chains in a Digital Marketing Strategy to Predict E-Commerce Sales," Scientia Technology Science and Society, vol. 1, no. 3, pp. 43-61, 2024, doi: 10.59324/stss.2024.1(3).03.

[15] L. Bar-El, H. Chalutz-BenGal, S. Gazit, T. Patalon, and I. Ben-Gal, "Analyzing the Digital Customer Journey: A Novel Framework for Sequential Behavior Modeling," Scientific Reports, vol. 16, no. 1, 2026, doi: 10.1038/s41598-026-43762-8.

[16] J. Chang and W. Chan, "Latent Classification of Time-Dependent Transition Rates in Longitudinal Binary Outcome Data," Statistical Methods in Medical Research, vol. 35, no. 1, pp. 61-78, 2025, doi: 10.1177/09622802251393610.

[17] D. Sharpe and D. J. Wales, "Nearly Reducible Finite Markov Chains: Theory and Algorithms," The Journal of Chemical Physics, vol. 155, no. 14, 2021, doi: 10.1063/5.0060978.

[18] S. Xiao, P. Pan, P. Zheng, and Z. Wu, "A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem," Mathematics, vol. 12, no. 7, p. 947, 2024, doi: 10.3390/math12070947.

[19] F. Chen, "Research on the Performance of Network Propagation by Using the Machine Learning and Internet-of-Things Technology Integrating Model," Computational Intelligence and Neuroscience, vol. 2022, pp. 1-13, 2022, doi: 10.1155/2022/5480015.

[20] K. Kolar, D. Dondorp, J. C. Zwiggelaar, J. Høyer, and M. Chatzigeorgiou, "Mesmerize Is a Dynamically Adaptable User-Friendly Analysis Platform for 2D and 3D Calcium Imaging Data," Nature Communications, vol. 12, no. 1, 2021, doi: 10.1038/s41467-021-26550-y.

[21] A. Blanca, Z. Chen, D. Štefankovič, and E. Vigoda, "The Swendsen–Wang Dynamics on Trees," Random Structures and Algorithms, vol. 62, no. 4, pp. 791-831, 2022, doi: 10.1002/rsa.21121.

[22] W. Feng, H. Guo, and J. Wang, "Swendsen-Wang Dynamics for the Ferromagnetic Ising Model With External Fields," 2022, doi: 10.48550/arxiv.2205.01985.

[23] G. Aletti and I. Crimaldi, "The Rescaled Pólya Urn: Local Reinforcement and Chi-Squared Goodness-of-Fit Test," Advances in Applied Probability, vol. 54, no. 3, pp. 849-879, 2022, doi: 10.1017/apr.2021.56.

[24] R. Qiao, F. Dong, X. Xie, and R. Ji, "Regional Differences, Dynamic Evolution, and Spatial Spillover Effects of Carbon Emission Intensity in Urban Agglomerations," Environmental Science and Pollution Research, vol. 30, no. 58, pp. 121993-122010, 2023, doi: 10.1007/s11356-023-30807-y.

[25] X. Zheng and W. Liao, "Coupling Coordination Between Agricultural Carbon Emission Efficiency and Food Security in China: The Spatial-Temporal Evolution and Prediction," Plos One, vol. 20, no. 7, p. e0325026, 2025, doi: 10.1371/journal.pone.0325026.

[26] Y. Li, C. Wen, S. Yang, M. Ma, J. Cheng, and W. Li, "Measuring High-Speed Train Delay Severity: Static and Dynamic Analysis," Plos One, vol. 19, no. 4, p. e0301762, 2024, doi: 10.1371/journal.pone.0301762.

[27] J. Lara, M. Samper, and D. G. Colomé, "Load Profile Assignment for Planning and Operation Support in Distribution Networks Under Partial Smart Meter Penetration," Processes, vol. 14, no. 10, p. 1505, 2026, doi: 10.3390/pr14101505.

[28] S. Kwon, J. Kim, and Z. Lee, "Advances in Search Strategy Using the Set of Brand Considerations in the Web Ecosystem," Applied Sciences, vol. 11, no. 8, p. 3514, 2021, doi: 10.3390/app11083514.

[29] R. Favela, "Bridging Realities: Blockchain Adoption Dynamics and a Quantum Wormhole Framework for Spacetime-Optimized Supply Chains," 2025, doi: 10.21203/rs.3.rs-7216400/v1.

[30] V. Krishnamurthy, R. Luo, and B. Nettasinghe, "Segregation in Social Networks: MARKOV Bridge Models and Estimation," 2021, doi: 10.1109/icassp39728.2021.9413690.

[31] J. Culp, D. M. Ashby, A. G. George, G. C. Teskey, W. Nicola, and A. McGirr, "A Markovian Neural Barcode Representing Mesoscale Cortical Spatiotemporal Dynamics," 2024, doi: 10.1101/2024.06.29.601346.

[32] F.-C. Jeng and Y.-S. Jeng, "Implementation of Machine Learning on Human Frequency-Following Responses: A Tutorial," Seminars in Hearing, vol. 43, no. 03, pp. 251-274, 2022, doi: 10.1055/s-0042-1756219.

Downloads

Publication Timeline

Published
Submitted
Revised
Accepted

Issue

Section

Articles

How to Cite

Khodkameh, S., Behzadi, M. H., & Rostamy Malkhalifeh, M. (2027). Dynamic Data Modeling Using Simultaneous Customer–Product Clustering Based on Markov Chains. Future of Work and Digital Management Journal, 1-18. https://www.journalfwdmj.com/index.php/fwdmj/article/view/375

Similar Articles

61-70 of 250

You may also start an advanced similarity search for this article.