LSTM Forecasting and K-Means Clustering for Passenger Mobility Management at Bus Terminals

Keywords: Smart Transportation, Principal Component Analysis, Mobility Pattern Segmentation, Public Transport Optimization, Data-Driven Decision Support

Abstract

Rapid urban population growth has increased the need for efficient public transportation systems, particularly at bus terminals as major mobility hubs. To address operational challenges such as traffic congestion and limited infrastructure, this study proposes an innovative data-driven approach. A hybrid model is applied, integrating Long Short-Term Memory (LSTM) for passenger volume forecasting and K-Means Clustering for mobility pattern segmentation at the Jepara Bus Terminal. Monthly passenger data was utilized, and the K-Means method was applied to group monthly mobility patterns into three categories: low, medium, and high. The optimal cluster selection (k=3) was based on the highest Silhouette score of 0.785, providing clear seasonal insights. Analysis results indicate that September is the peak mobility period, while months like January and February fall into the low category. Furthermore, an LSTM model was trained to predict future passenger volumes. The model's performance was carefully validated and proven accurate, with a Mean Squared Error (MSE) of 0.0304 and a Root Mean Squared Error (RMSE) of 0.1745. These findings confirm that the model is reliable in capturing complex passenger movement patterns. Overall, this study concludes that the combination of LSTM and K-Means is an effective solution for supporting proactive decision-making. The results of this study can assist terminal managers in optimizing resource allocation and formulating more adaptive operational strategies, thereby contributing to the development of a more responsive and efficient intelligent transportation system.

Downloads

Download data is not yet available.

References

A. M. Yasin and S. Yuliani, “Kajian Strategi Desain Terminal Bus Berkelanjutan Studi Kasus Terminal Induk di Kota Bekasi,” Ilmiah Arsitektur dan Lingkungan Binaan (ARSITEKTURA), vol. 22, no. 1, pp. 25–36, 2024, doi: 10.20961/arst.v22i1.81401.

C. Filippi, G. Guastaroba, L. Peirano, and M. G. Speranza, “Trends in passenger transport optimisation,” International Transactions in Operational Research, vol. 30, no. 6, pp. 3057–3086, 2023, doi: 10.1111/itor.13300.

K. Steiner and S. Irnich, “Strategic planning for integrated mobility-on-demand and urban public bus networks,” Transportation Science, vol. 54, no. 6, pp. 1616–1639, 2020, doi: 10.1287/trsc.2020.0987.

A. Abdelwahed, P. L. van den Berg, T. Brandt, and W. Ketter, “Balancing convenience and sustainability in public transport through dynamic transit bus networks,” Transp Res Part C Emerg Technol, vol. 151, p. 104100, 2023, doi: 10.1016/j.trc.2023.104100.

Q. Sun, S. Chien, D. Hu, G. Chen, and R. Sen Jiang, “Optimizing Multi-Terminal Customized Bus Service with Mixed Fleet,” IEEE Access, vol. 8, pp. 156456–156469, 2020, doi: 10.1109/ACCESS.2020.3018883.

L. Monje, R. A. Carrasco, C. Rosado, and M. Sánchez-Montañés, “Deep Learning XAI for Bus Passenger Forecasting: A Use Case in Spain,” Mathematics, vol. 10, no. 9, p. 1428, 2022, doi: 10.3390/math10091428.

L. H. Tamiyati, “Redesain Terminal Tipe A Poris Plawad di Kota Tangerang dengan Tema Arsitektur Hijau” Jurnal Arsitektur WASTUPADMA, vol. 1, no. 1, pp. 010–022, 2023, doi: 10.62024/jawp.v1i1.2.

M. Ariyanto, Zulkifli, Hamirul, Darmawanto, and Tarjo, “Manajemen Pelayanan Penumpang Di Terminal Bus,” Akuntansi Manajemen,Bisnis, dan Teknologi (AMBITEK), vol. 2, no. 1, pp. 41–58, 2022, doi: 10.56870/ambitek.v2i1.34.

V. Shetty, S. Shinde, A. Sawant, and A. A. Kokate, “Smart Commute Application for Public Transport Management,” Interantional Journal of Scientific Research in Engineering and Management, vol. 08, no. 05, pp. 1–5, 2024, doi: 10.55041/IJSREM35110.

M. Davi and E. Winarko, “Rancang Bangun Aplikasi Peramalan Jumlah Penumpang Menggunakan Long Short-Term Memory (LSTM),” Infotekmesin, vol. 14, no. 2, pp. 303–310, 2023, doi: 10.35970/infotekmesin.v14i2.1911.

P. Martí, A. Ibáñez, V. Julian, P. Novais, and J. Jordán, “Bus Ridership Prediction and Scenario Analysis through ML and Multi-Agent Simulations,” ADCAIJ: Advances in Distributed Computing and Artificial Intelligence Journal, vol. 13, pp. e31866–e31866, 2024, doi: 10.14201/adcaij.31866.

Prof. Gade S. A, Prof. Pandit R.B, Kalpesh Pawara, Tanveer Pinjari, Girish Patil, and Prakash Datir, “Real-Time Tracking System for City Bus Location and Passenger Count,” International Journal of Advanced Research in Science, Communication and Technology, vol. 4, no. 2, pp. 295–302, 2024, doi: 10.48175/IJARSCT-22155.

S. Inzudheen, J. Paul Mulerikkal, M. Jojee John, M. K, and G. M. Beveira, “Short-Term Passenger Count Prediction for Metro Stations using LSTM Network,” Journal of Computer and Mathematics Education, vol. 12, no. 3, pp. 4026–4034, 2021, doi: 10.17762/TURCOMAT.V12I3.1693.

Q. Ouyang, Y. Lv, J. Ma, and J. Li, “An LSTM-based method considering history and real-time data for passenger flow prediction,” Applied Sciences (Switzerland), vol. 10, no. 11, p. 3738, 2020, doi: 10.3390/app10113788.

M. Nitti, F. Pinna, L. Pintor, V. Pilloni, and B. Barabino, “Iabacus: A Wi-Fi-based automatic bus passenger counting system,” Energies (Basel), vol. 13, no. 6, p. 1446, 2020, doi: 10.3390/en13061446.

J. Jiang, C. Peng, W. Liu, S. Liu, Z. Luo, and N. Chen, “Environmental Prediction in Cold Chain Transportation of Agricultural Products Based on K-Means++ and LSTM Neural Network,” Processes, vol. 11, no. 3, p. 766, 2023, doi: 10.3390/pr11030776.

D. R. Sanjaya, B. Surarso, and T. Tarno, “Stock Price Forecasting on Time Series Data Using the Long Short-Term Memory (LSTM) Model,” International Journal of Current Science Research and Review, vol. 07, no. 12, pp. 8866–8875, 2024, doi: 10.47191/ijcsrr/V7-i12-26.

K. Yu, “Adaptive Bi-Directional LSTM Short-Term Load Forecasting with Improved Attention Mechanisms,” Energies (Basel), vol. 17, no. 15, p. 3709, 2024, doi: 10.3390/en17153709.

M. Ding, Z. Wang, X. Zhou, and K. Wang, “Study of the Load Forecasting based on AKDC and LSTM algorithms,” J Phys Conf Ser, vol. 2589, no. 1, p. 012035, 2023, doi: doi:10.1088/1742-6596/2589/1/012035.

J. Xu, J. Gong, L. Wang, and Y. Li, “Integrating k-means Clustering and LSTM for Enhanced Ship Heading Prediction in Oblique Stern Wave,” J Mar Sci Eng, vol. 11, no. 11, p. 2185, 2023, doi: 10.3390/jmse11112185.

L. Wang, S. Mao, B. M. Wilamowski, and R. M. Nelms, “Ensemble Learning for Load Forecasting,” IEEE Transactions on Green Communications and Networking, vol. 4, no. 2, pp. 616–628, 2020, doi: 10.1109/TGCN.2020.2987304.

G. K, M. S, S. Logavaseekarapakther, P. A, and M. Farook R, “Enhanced Unsupervised K-Means Clustering Algorithm,” ShodhKosh: Journal of Visual and Performing Arts, vol. 5, no. 1, pp. 1141–1150, 2024, doi: 10.29121/shodhkosh.v5.i1.2024.2867.

K. D. Hartomo and Y. Nataliani, “A New Model for Learning-based forecasting Procedure by Combining k-means Clustering and Time Series forecasting Algorithms,” PeerJ Comput Sci, vol. 7, p. e534, 2021, doi: 10.7717/PEERJ-CS.534.

M. A. Mohammed, M. M. Akawee, Z. H. Saleh, R. A. Hasan, A. H. Ali, and T. Sutikno, “The effectiveness of big data classification control based on principal component analysis,” Bulletin of Electrical Engineering and Informatics, vol. 12, no. 1, pp. 427–434, 2023, doi: 10.11591/eei.v12i1.4405.

B. M. S. Hasan and A. M. Abdulazeez, “A Review of Principal Component Analysis Algorithm for Dimensionality Reduction,” Journal of Soft Computing and Data Mining, vol. 2, no. 1, pp. 20–30, 2021, doi: 10.30880/jscdm.2021.02.01.003.

S. D. Axen, M. Baran, R. Bergmann, and K. Rzecki, “Manifolds.jl: An Extensible Julia Framework for Data Analysis on Manifolds,” ACM Transactions on Mathematical Software, vol. 49, no. 4, pp. 1–3, 2023, doi: 10.1145/3618296.

T. S. Sushanth, T. S. Siddarda, A. Sathvika, A. Shruthi, A. S. Lekha, and T. Kumar, “Time Series Forecasting using RNN,” Interantional Journal of Scientific Research in Engineering and Management, vol. 08, no. 11, pp. 1–8, 2024, doi: 10.55041/IJSREM39164.

S. M. Al-Selwi, M. F. Hassan, S. J. Abdulkadir, and A. Muneer, “LSTM Inefficiency in Long-Term Dependencies Regression Problems,” Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 30, no. 3, pp. 16–31, 2023, doi: 10.37934/araset.30.3.1631.

G. Li et al., “Towards smart transportation system: A case study on the rebalancing problem of bike sharing system based on reinforcement learning,” Journal of Organizational and End User Computing, vol. 33, no. 3, pp. 35–49, 2021, doi: 10.4018/JOEUC.20210501.oa3.

S. Murrar, F. Alhaj, and M. H. Qutqut, “Machine Learning Algorithms for Transportation Mode Prediction: A Comparative Analysis,” Informatica, vol. 48, no. 6, pp. 117–130, 2024, doi: 10.31449/INF.V48I6.5234.

Published
2025-09-21
Abstract views: 49 times
Download PDF: 28 times
How to Cite
Khairunnisa, H., & Hendrawan, A. (2025). LSTM Forecasting and K-Means Clustering for Passenger Mobility Management at Bus Terminals. Journal of Information Systems and Informatics, 7(3), 2129-2146. https://doi.org/10.51519/journalisi.v7i3.1159
Section
Articles