Model for Passenger Demand Prediction in a Public Transportation Company in Peru Using Machine Learning Algorithms
Public transportation in Peru faces significant challenges due to the lack of integration of advanced technologies, which impacts operational efficiency and user satisfaction. This issue results in inefficient resource planning and reduces the quality of the service provided. To address this situation, this study proposes a Machine Learning (ML) model for predicting passenger demand. The methodology was developed in four stages: dataset definition, data preprocessing, algorithm training, and result evaluation. The model considered five main variables (F1 to F5) to train and evaluate the performance of the algorithms Random Forest (RF), K-Nearest Neighbors (KNN), Linear Regression (LR), and Decision Tree (DT) using metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). The results showed that the RF algorithm achieved the highest accuracy and lowest error, standing out for its ability to fit real-world data, while DT demonstrated the poorest performance, with higher variability in its predictions. These findings position RF as an effective tool for accurately predicting passenger demand.
Authors
- Lenis Wong (ORCID: https://orcid.org/0000-0002-5032-3233)
- Wladimiro Dı́az-Villanueva (ORCID: https://orcid.org/0000-0002-8970-4367)
- José L. Castillo (ORCID: https://orcid.org/0000-0002-9131-1618)
- Melvin Torero
Institutions
- Peruvian University of Applied Sciences (PE)
- Universidad de Alcalá (ES)
Publication Details
- Published
- 2025-05-23
- DOI
- https://doi.org/10.1109/icaibd64986.2025.11082031
- Primary Topic
- Traffic Prediction and Management Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00