Data-Driven Customer Segmentation Using K-Means and PCA: Leveraging Meteorological and Behavioral
Keywords:
Weather-responsive segmentation, Machine learning, K-means clustering, Principal Component Analysis, Autonomous learning, E-commerce analytics, Meteorological data, Consumer behavior, Predictive analytics, Data-driven marketingAbstract
In today's competitive market, effective customer segmentation is essential for businesses to refine marketing strategies, optimize resources, and enhance customer satisfaction. This study introduces the Weather-Responsive Segmentation (WRS) framework by integrating autonomous K-means clustering with Principal Component Analysis (PCA) while incorporating real-time meteorological data. Our approach achieves 27.8% higher segmentation accuracy (Silhouette Score: 0.524 vs 0.410) and 23.4% improved campaign conversion rates compared to traditional demographic-only methods. Traditional segmentation relies primarily on demographic and behavioral data, but our method adds a new dimension by considering weather-related factors that significantly impact consumer behavior.
Using K-means, we identified four distinct customer segments and applied PCA for data visualization and dimensionality reduction. The inclusion of meteorological variables enhances segmentation accuracy and relevance, providing businesses with more actionable insights. By incorporating external environmental factors, this approach offers a deeper understanding of customer groups and enables more precise, data-driven marketing strategies.
This research contributes to the field by demonstrating the added value of weather-based segmentation in consumer analysis, offering businesses a novel perspective to optimize marketing efforts and improve decision-making.
References
V. Jain, B. Malviya, and S. Arya, "An overview of electronic commerce (e-commerce)," The Journal of Contemporary Issues in Business and Government, vol. 27, no. 3, Art. 3, 2021. https://doi.org/10.47750/cibg.2021.27.03.090.
H. Kilari, S. Edara, G. R. S. Yarra, and D. V. Gadhiraju, "Customer segmentation using k-means clustering," International Journal of Engineering Research and Technology, vol. 11, no. 3, 303-308, 2022.
L. Li, T. Chi, T. Hao, and T. Yu, "Customer demand analysis of the electronic commerce supply chain using big data," Ann Oper Res, vol. 268, no. 1, p. 113‑128, 2018, https://doi.org/10.1007/s10479-016-2342-x.
B. Gyenge, Z. Máté, I. Vida, Y. Bilan, and L. Vasa, "A new strategic marketing management model for the specificities of e-commerce in the supply chain," Journal of Theoretical and Applied Electronic Commerce Research, vol. 16, no. 4, pp. 1136‑1149, 2021, https://doi.org/10.3390/jtaer16040064.
D. Pattnaik, S. Ray, and R. Raman, "Applications of artificial intelligence and machine learning in the financial services industry: A bibliometric review," Heliyon, vol. 10, no. 1, p. e23492, 2024, https://doi.org/10.1016/j.heliyon.2023.e23492.
B. Yang and J. Li, "Precise marketing strategy optimization of e-commerce platform based on KNN clustering," Journal of Mathematics, vol. 2022, 2022, https://doi.org/10.1155/2022/7957509.
B. Mahesh, "Machine learning algorithms - A review," International Journal of Science and Research (IJSR), vol. 9, issue 1, pp. 381-386, 2020. https://doi.org/10.21275/ART20203995.
J. Qi, Y. Li, H. Jin, J. Feng, and W. Mu, "User value identification based on an improved consumer value segmentation algorithm," Kybernetes, vol. 52, issue 10, pp. 4495–4530, 2023, https://doi.org/10.1108/K-01-2022-0049.
S. Chellaboina, M. Gembali and S. P. S, "Product recommendation based on customer segmentation engine," Proceedings of the 2022 2nd International Conference on Intelligent Technologies (CONIT), Hubli, India, 2022, pp. 1-7, https://doi.org/10.1109/CONIT55038.2022.9847990.
S. Wu, W. -C. Yau, T. -S. Ong and S. -C. Chong, "Integrated churn prediction and customer segmentation framework for Telco business," IEEE Access, vol. 9, pp. 62118-62136, 2021, https://doi.org/10.1109/ACCESS.2021.3073776.
S. Tengse, E. Luis, D. Talreja, A. Kasar and K. Punjani, "Intelligent customer segmentation for targeted marketing: Leveraging k-means clustering and PCA in banking analytics," Proceedings of the 2025 3rd International Conference on Business Analytics for Technology and Security (ICBATS), Dubai, United Arab Emirates, 2025, pp. 1-8, https://doi.org/10.1109/ICBATS66542.2025.11258338.
S. S. Chong, Y. S. Ng, H.-Q. Wang, and J.-C. Zheng, "Advances of machine learning in materials science: Ideas and techniques," Front. Phys., vol. 19, no. 1, p. 1‑40, 2024, https://doi.org/10.1007/s11467-023-1325-z.
S. N. Lathifah and Z. F. Azzahra, "AI-driven customers segmentation using k-means clustering," G-Tech: Jurnal Teknologi Terapan, vol. 9, issue 1, pp. 320–329, 2025. https://doi.org/10.70609/gtech.v9i1.6202.
M. I. Jordan and T. M. Mitchell, "Machine learning: Trends, perspectives, and prospects," Science, vol. 349, no. 6245, pp. 255‑260, 2015, https://doi.org/10.1126/science.aaa8415.
G. James, D. Witten, T. Hastie, and R. Tibshirani, "Introduction," in An Introduction to Statistical Learning: with Applications in R, G. James, D. Witten, T. Hastie, and R. Tibshirani, Éd., New York, NY: Springer US, 2021, pp. 1‑14. https://doi.org/10.1007/978-1-0716-1418-1_1.
Deep Feedforward Networks, 2024. [Online]. available at: https://mnassar.github.io/deeplearninghandbook/slides/06_mlp.pdf.
S. Naeem, A. Ali, S. Anam, and M. M. Ahmed, "An unsupervised machine learning algorithms: Comprehensive review," International Journal of Computing and Digital Systems, vol. 13, issue 1, pp. 911-921, 2023, https://doi.org/10.12785/ijcds/130172.
S. Pitafi, T. Anwar, and Z. Sharif, "A taxonomy of machine learning clustering algorithms, challenges, and future realms," Applied Sciences, vol. 13, no. 6, Art. 6, 2023, https://doi.org/10.3390/app13063529.
T. Cheng and L. Li, "Optimization of E-commerce platform marketing method and comment recognition model based on deep learning and intelligent blockchain," IET Soft., vol. 17, issue 4, pp. 797–808, 2023. https://doi.org/10.1049/sfw2.12117.
O. Chapelle, B. Scholkopf, and A. Zien Eds., "Semi-supervised learning (Chapelle, O. and al., Eds.; 2006) [Book reviews]," IEEE Transactions on Neural Networks, vol. 20, no. 3, pp. 542‑542, 2009, https://doi.org/10.1109/TNN.2009.2015974.
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," Proceedings of the 2024 International Conference on Science, Engineering and Business for Driving Sustainable Development Goals (SEB4SDG), Omu-Aran, Nigeria, 2024, pp. 1-8, https://doi.org/10.1109/SEB4SDG60871.2024.10630052.
J. Liu, X. Liao, W. Huang, and X. Liao, "Market segmentation: A multiple criteria approach combining preference analysis and segmentation decision," Omega, vol. 83, pp. 1‑13, 2019, https://doi.org/10.1016/j.omega.2018.01.008.
K. Kumar, R. Daruvuri, Enhancing Online Retail Insights: K-Means Clustering and PCA for Customer Segmentation. 2025.
K. T. K. Kumar and J. Priyanka, "Customer segmentation using k-means clustering," vol. 12, no. 7, 2024.
G. Aslantaş, M. Gençgül, M. Rumelli, M. Özsaraç, and G. Bakırlı, "Customer segmentation using k-means clustering algorithm and RFM Model K-Means," Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, vol.25, issue 74, pp. 491-503, 2023. https://doi.org/10.21205/deufmd.2023257418.
Downloads
Published
How to Cite
Issue
Section
License
International Journal of Computing is an open access journal. Authors who publish with this journal agree to the following terms:• Authors retain copyright and grant the journal 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) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.