Use of K-Means Clustering and Artificial Neutral Network for Predicting Waiting time of Queue system in different Distributions of Arrival and Service times

Main Article Content

O. R. Ajewole
A. A. Osagiede
S. O. Nwanya
C. O. Mmaduakor
B. A. Ngwu

Abstract

The combination of Machine learning techniques, K-means clustering and Artificial Neural Network(ANN) for analyzing data has not been fully explored especially for queue systems hence the keen interest in this area of research. Machine learning process selected for analysis plays a major role in the effectiveness of the analysis. This study proposes the use of the K-Means clustering and Artificial Neural Network for developing a structure when making predictions of waiting time of a queue system with different distributions of arrival and service times. This is done to understand data in unique ways. In this study, data that consists of the customers’ arrival and service duration (for exponential and erlang distributions) are simulated using Google Colab platform and thereafter used for the analysis. Data are grouped by distribution with the use of K-Means Clustering Method. It consists of 6 features altogether, with 3 features used for the prediction of waiting time. For the learning of the data, the optimization techniques; Stochastic Gradient Descent (SGD), Adaptive Moment Estimate (ADAM) and an optimization technique (Ajewole et al 2024a) were used for training the data with the Artificial Neural Network (ANN). The model was trained for 400 epochs with 80data used for training and 20(combination of K-means clustering and ANN) adapted for the analysis. The results obtained showed the performance of the new structure as effective for queue system analysis with different distributions. With this structure, making predictions for new arrivals into the queue system will be less time consuming.

Downloads

Download data is not yet available.

Article Details

Section

Articles

How to Cite

Ajewole, O., Osagiede, A., Nwanya, S., Mmaduakor, C., & Ngwu, B. (2025). Use of K-Means Clustering and Artificial Neutral Network for Predicting Waiting time of Queue system in different Distributions of Arrival and Service times. Benin Journal of Statistics, 8(1), 72– 83. https://bjs-uniben.org/index.php/home/article/view/46

References

Ajewole, O.R., Osagiede, A.A, Nwanya S.O. , Efebeh, A.F. and Ubaka, O.N. (2024). Optimizing Artificial Neural Network with a New Optimizer for Waiting Time Prediction in Queue System, Faculty Journal of Pure and Applied Sciences (FJPAS),9(2)

Ajewole, O.R., Osagiede A.A and J.O. Okoro (2024). A Review on the Application of Machine Learning for predictions of performance measures of queue systems, International Conference on Science, Engineering & Business for driving Sustainable Development goals (SEB4SDG)

Deshani, M.D.T., Attygalle, L.L.H., Hansen, L.L. and Karunaratne, A.(2014). An Exploratory Analysis on Half-Hourly Electricity Load Patterns Leading to Higher Performances in Neural Network Predictions. International journal of Artificial Intelligence and Applications (IJAIA), 5(3), May 2014

Diederick, P.K. and Jimmy, L.B. (2015). Adam, a Method for Stochastic Optimization, published as a Conference paper at ICLR

Donkuan, X. and Yingjie, T. (2015). A Comprehensive Survey of Clustering Algorithms, Ann. Data Sci. (2015) (2): 165-193

Dokkyun, Y., Jaehyun, A. and Sanguine, J. (2020). An Effective Optimization Method for Machine Learning Based on Adam, Applied Sciences, 10,1073

Gabriel, V., Juan, F. Pablo, C. and Fernando D.L.P. (2018). Artificial neural networks used in optimization problems, Neurocomputing 272(2018)10-16

Hassan, H. and Richard, O. (2021). Predicting Patient Waiting Time in the Queue system using Deep Learning Algorithms in the Emergency Room, International Journal of Industrial Engineering, 3(1), October 2021, 33-45.

Jiming, P. and Yu, X (2005). A new theoretical framework for K-means-type clustering, Studies in Fuzziness and Soft Computing, January 2005, 79-96

Josefin, S. and Fredrik, N. (2017). Prediction of Queueing behavior through the use of Artificial Neural Networks, Kth Royal Institute of Technology school of computer science and communication.

Medhi, J. (1975). Waiting time distribution in a Poisson queue with a general bulk service rule, Management Science, 21(7), 777-782

Mohammed, D., Armann, L., Bora, K. and Kenneth, S. (2019). Load effect on Service times, European Journal of Operational Research.

Satya, H.R.P., Suharjito, S. Diana and D. Ariadi Nugroho (2018). Waiting-Time Estimation in Bank Customer Queues using RPROP Neural Networks, Procedia Computer Science 135:35-42

Most read articles by the same author(s)