Journal of Machine and Computing


Customer Behavior Classification Using Deep Stacked Autoencoder with Dragonfly Optimization



Journal of Machine and Computing

Received On : 10 April 2025

Revised On : 28 May 2025

Accepted On : 28 July 2025

Published On : 05 October 2025

Volume 05, Issue 04

Pages : 2230-2240


Abstract


Customer Relationship Management (CRM) plays a major role in analyzing customer behavior and the opinions of an organization or enterprise. Data mining methods are widely uutilize to analyze customer data to increase business and revenue. Data mining refers to the extraction of essential and useful information from customer feedback and activities on websites through mining technologies. However, extracting essential information from customer behavior is quite challenging as it requires a detailed analysis of customer desires, requirements, buying patterns, etc., all the information in the e-commerce market is essential for an enterprise as it will support knowing the customer behavior. Deep learning algorithms based on customer behavior classification models are evolved in recent times. However, the performance can be improved if the network parameters are optimized through optimization algorithms. Based on this, a deep stacked autoencoder-based customer behavior classification model is presented in this research work along with the dragonfly optimization algorithm. The network parameters of the deep-stacked autoencoder are optimized using the dragonfly optimization algorithm to attain enhanced classification accuracy. Benchmark customer behavior dataset is used for experimentation and analyzed the performance in terms of recall, precision, f1-score, and accuracy. The proposed optimized deep learning model attains better performance compared to deep learning approaches like Long-Short Term Memory (LSTM), Convolutional Neural network (CNN), and Autoencoder models.


Keywords


Customer Relationship Management, Customer Behavior Analysis, Classification, Deep Learning, Optimization, Dragonfly Optimization.


  1. T. Reutterer, M. Platzer, and N. Schröder, “Leveraging purchase regularity for predicting customer behavior the easy way,” International Journal of Research in Marketing, vol. 38, no. 1, pp. 194–215, Mar. 2021, doi: 10.1016/j.ijresmar.2020.09.002.
  2. Y. Yan, C. Huang, Q. Wang, and B. Hu, “Data mining of customer choice behavior in internet of things within relationship network,” International Journal of Information Management, vol. 50, pp. 566–574, Feb. 2020, doi: 10.1016/j.ijinfomgt.2018.11.013.
  3. A. Martínez, C. Schmuck, S. Pereverzyev, C. Pirker, and M. Haltmeier, “A machine learning framework for customer purchase prediction in the non-contractual setting,” European Journal of Operational Research, vol. 281, no. 3, pp. 588–596, Mar. 2020, doi: 10.1016/j.ejor.2018.04.034.
  4. X. Wang, M. Zhang, and F. Ren, “Learning Customer Behaviors for Effective Load Forecasting,” IEEE Transactions on Knowledge and Data Engineering, vol. 31, no. 5, pp. 938–951, May 2019, doi: 10.1109/tkde.2018.2850798.
  5. A. Al-Mousa and A. Faza, “A fuzzy-based customer response prediction model for a day-ahead dynamic pricing system,” Sustainable Cities and Society, vol. 44, pp. 265–274, Jan. 2019, doi: 10.1016/j.scs.2018.10.014.
  6. J. Fabra, P. Alvarez, and J. Ezpeleta, “Log-Based Session Profiling and Online Behavioral Prediction in E–Commerce Websites,” IEEE Access, vol. 8, pp. 171834–171850, 2020, doi: 10.1109/access.2020.3024649.
  7. R. Guidotti, G. Rossetti, L. Pappalardo, F. Giannotti, and D. Pedreschi, “Personalized Market Basket Prediction with Temporal Annotated Recurring Sequences,” IEEE Transactions on Knowledge and Data Engineering, vol. 31, no. 11, pp. 2151–2163, Nov. 2019, doi: 10.1109/tkde.2018.2872587.
  8. C. Chen, Z. Wang, and W. Li, “Tracking Dynamics of Opinion Behaviors with a Content-Based Sequential Opinion Influence Model,” IEEE Transactions on Affective Computing, vol. 11, no. 4, pp. 627–639, Oct. 2020, doi: 10.1109/taffc.2018.2821123.
  9. D. Kilroy, G. Healy, and S. Caton, “Using Machine Learning to Improve Lead Times in the Identification of Emerging Customer Needs,” IEEE Access, vol. 10, pp. 37774–37795, 2022, doi: 10.1109/access.2022.3165043.
  10. J. Cambra-Fierro, L. (Xuehui) Gao, and I. Melero-Polo, “The power of social influence and customer–firm interactions in predicting non-transactional behaviors, immediate customer profitability, and long-term customer value,” Journal of Business Research, vol. 125, pp. 103–119, Mar. 2021, doi: 10.1016/j.jbusres.2020.12.013.
  11. M. Nilashi et al., “Big social data and customer decision making in vegetarian restaurants: A combined machine learning method,” Journal of Retailing and Consumer Services, vol. 62, p. 102630, Sep. 2021, doi: 10.1016/j.jretconser.2021.102630.
  12. L.-M. Kieu, Y. Ou, L. T. Truong, and C. Cai, “A class-specific soft voting framework for customer booking prediction in on-demand transport,” Transportation Research Part C: Emerging Technologies, vol. 114, pp. 377–390, May 2020, doi: 10.1016/j.trc.2020.02.010.
  13. S. Chen, X. Wang, H. Zhang, and J. Wang, “Customer purchase prediction from the perspective of imbalanced data: A machine learning framework based on factorization machine,” Expert Systems with Applications, vol. 173, p. 114756, Jul. 2021, doi: 10.1016/j.eswa.2021.114756.
  14. M. A. Rahim, M. Mushafiq, S. Khan, and Z. A. Arain, “RFM-based repurchase behavior for customer classification and segmentation,” Journal of Retailing and Consumer Services, vol. 61, p. 102566, Jul. 2021, doi: 10.1016/j.jretconser.2021.102566.
  15. N. N. Moon, I. M. Talha, and I. Salehin, “An advanced intelligence system in customer online shopping behavior and satisfaction analysis,” Current Research in Behavioral Sciences, vol. 2, p. 100051, Nov. 2021, doi: 10.1016/j.crbeha.2021.100051.
  16. C. Ling, T. Zhang, and Y. Chen, “Customer Purchase Intent Prediction Under Online Multi-Channel Promotion: A Feature-Combined Deep Learning Framework,” IEEE Access, vol. 7, pp. 112963–112976, 2019, doi: 10.1109/access.2019.2935121.
  17. N. Chaudhuri, G. Gupta, V. Vamsi, and I. Bose, “On the platform but will they buy? Predicting customers’ purchase behavior using deep learning,” Decision Support Systems, vol. 149, p. 113622, Oct. 2021, doi: 10.1016/j.dss.2021.113622.
  18. L. Cheng, H. Zang, Y. Xu, Z. Wei, and G. Sun, “Probabilistic Residential Load Forecasting Based on Micrometeorological Data and Customer Consumption Pattern,” IEEE Transactions on Power Systems, vol. 36, no. 4, pp. 3762–3775, Jul. 2021, doi: 10.1109/tpwrs.2021.3051684.
  19. https://www.kaggle.com/code/mitultandon/customer-behaviour/data .

CRediT Author Statement


The authors confirm contribution to the paper as follows:

Conceptualization: Gajendran K S and Arunkumar Thangavelu; Methodology: Gajendran K S; Software: Arunkumar Thangavelu; Data Curation: Gajendran K S and Arunkumar Thangavelu; Writing- Original Draft Preparation: Gajendran K S; Visualization: Gajendran K S and Arunkumar Thangavelu; Investigation: Arunkumar Thangavelu; Supervision: Arunkumar Thangavelu; Validation: Gajendran K S; Writing- Reviewing and Editing: Gajendran K S and Arunkumar Thangavelu; All authors reviewed the results and approved the final version of the manuscript.


Acknowledgements


Author(s) thanks to Dr.Arunkumar Thangavelu for this research completion and support.


Funding


No funding was received to assist with the preparation of this manuscript.


Ethics declarations


Conflict of interest

The authors have no conflicts of interest to declare that are relevant to the content of this article.


Availability of data and materials


Data sharing is not applicable to this article as no new data were created or analysed in this study.


Author information


Contributions

All authors have equal contribution in the paper and all authors have read and agreed to the published version of the manuscript.


Corresponding author


Rights and permissions


Open Access This article is licensed under a Creative Commons Attribution NoDerivs is a more restrictive license. It allows you to redistribute the material commercially or non-commercially but the user cannot make any changes whatsoever to the original, i.e. no derivatives of the original work. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/


Cite this article


Gajendran K S and Arunkumar Thangavelu, “Customer Behavior Classification Using Deep Stacked Autoencoder with Dragonfly Optimization”, Journal of Machine and Computing, vol.5, no.4, pp. 2230-2240, October 2025, doi: 10.53759/7669/jmc202505173.


Copyright


© 2025 Gajendran K S and Arunkumar Thangavelu. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.