<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Algoritmos basados en machine learning aplicados a la predicción de flujo de tráfico en ciudades inteligentes

dc.contributor.advisorFerro Escobar, Roberto
dc.contributor.authorAguirre Carpeta, William Yesid
dc.contributor.orcidAguirre Carpeta, William Yesid [0009-0000-4134-8239]
dc.contributor.orcidFerro Escobar, Roberto [0000-0002-8978-538X]
dc.creator.emailwilliamaguirrecarpeta@gmail.com
dc.creator.id20201495002
dc.date.accessioned2026-10-16T19:41:51Z
dc.date.available2026-10-16T19:41:51Z
dc.date.created2026-10-07
dc.descriptionBogotá ha figurado durante años entre las capitales latinoamericanas con peor desempeño en movilidad urbana debido a múltiples factores que afectan directamente la calidad de vida de los ciudadanos. El presente trabajo de grado reporta un estudio empírico que utiliza los datos de los detectores de video Siemens C900 recopilados por la Secretaría Distrital de Movilidad (SDM) durante el período julio–octubre de 2025, comprendiendo 105.867 registros distribuidos en 39 puntos de detección de 13 intersecciones semaforizadas a lo largo de las Carreras 7 y 9, entre la Calle 134 y la Calle 170. Se entrenaron y evaluaron cinco modelos de ML (Regresión Ridge, Random Forest, XGBoost, Red Neuronal Artificial (ANN) y LSTM) sobre 21 características construidas a partir de rezagos autorregresivos, estadísticos móviles y codificaciones temporales cíclicas. Cada modelo fue ejecutado 30 veces bajo diferentes condiciones de aleatoriedad. XGBoost alcanzó el mejor desempeño (R² = 0,947; RMSE = 126 veh/h), seguido por Random Forest (R² = 0,942). El LSTM obtuvo el peor resultado medio (R² = 0,822) con una varianza entre corridas 23 veces mayor que la de XGBoost. Sin embargo, la mejor corrida individual del LSTM alcanzó un R² de 0,941, lo que indica que la arquitectura recurrente posee capacidad representacional suficiente pero no converge de manera estable, constituyendo un riesgo para un despliegue operativo. El análisis de importancia de características reveló que dos predictores (la detección en t-24 h y en t-168 h) concentran conjuntamente el 78% de la ganancia predictiva de XGBoost, confirmando que los ciclos diarios y semanales de desplazamiento son los principales determinantes del flujo vehicular en el corredor. Para las autoridades de transporte estos resultados ofrecen una recomendación clara: los modelos de gradient boosting tabular son más precisos y significativamente más confiables que las arquitecturas recurrentes profundas, y su estabilidad los hace aptos para un despliegue en producción
dc.description.abstractBogotá has ranked among the worst-performing Latin American capitals in urban mobility for years, yet only recently has its northern corridor gained real-time traffic instrumentation. This thesis reports an empirical study using the Siemens C900 detector data collected by the Secretaría Distrital de Movilidad (SDM) from July through October 2025, comprising 105,867 records across 39 detection points at 13 signalized intersections along Carreras 7 and 9 between Calle 134 and Calle 170. Five machine learning models (Ridge Regression, Random Forest, XGBoost, a feedforward ANN, and an LSTM) were trained and tested on 21 features built from autoregressive lags, rolling statistics, and cyclical temporal encodings. To ensure statistical robustness, each model was re-run 30 times under different randomness conditions. XGBoost achieved the best performance (R² = 0.947, RMSE = 126 veh/h), with Random Forest as a close second (R² = 0.942). The LSTM finished last on average (R² = 0.822) and showed run-to-run variance 23 times larger than XGBoost. However, the LSTM's single best run reached R² = 0.941, revealing that the recurrent architecture has sufficient representational capacity but fails to converge reliably (a critical shortcoming for operational deployment. Feature importance analysis revealed that two predictors alone (detection counts at t-24 h and t-168 h) accounted for 78% of XGBoost's predictive gain, confirming that daily and weekly commuting cycles are the main drivers of flow in this corridor. For transport authorities operating sensor networks, these results provide a clear recommendation: gradient-boosted tabular models are more accurate and far more reliable than recurrent Deep architectures, and their stability makes them suitable for production deployment.
dc.format.mimetypepdf
dc.identifier.urihttp://hdl.handle.net/11349/104119
dc.language.isospa
dc.publisherUniversidad Distrital Francisco José de Caldas
dc.relation.referencesAfandizadeh, S., Abdolahi, S., & Mirzahossein, H. (2024). Deep Learning Algorithms for Traffic Forecasting: A Comprehensive Review and Comparison with Classical Ones. In Journal of Advanced Transportation (Vol. 2024). https://doi.org/10.1155/2024/9981657
dc.relation.referencesArnold, K., Camargo, O., Eugenia, V., Becerra, O., Conti, D., & Director, F. (2024). Fecha de entrega: 26 Junio 2024.
dc.relation.referencesAyyüce Kızrak, M., & Bolat, B. (2018). Derin Öğrenme ile Kalabalık Analizi Üzerine Detaylı Bir Araştırma TT , A Comprehensive Survey of Deep Learning in Crowd Analysis. Bilişim Teknolojileri Dergisi, 11(3).
dc.relation.referencesBartlett, Z., Han, L., Nguyen, T. T., & Johnson, P. (2019). A Machine Learning Based Approach for the Prediction of Road Traffic Flow on Urbanised Arterial Roads. Proceedings - 20th International Conference on High Performance Computing and Communications, 16th International Conference on Smart City and 4th International Conference on Data Science and Systems, HPCC/SmartCity/DSS 2018. https://doi.org/10.1109/HPCC/SmartCity/DSS.2018.00215
dc.relation.referencesBergmeir, C., & Benítez, J. M. (2012). On the use of cross-validation for time series predictor evaluation. Information Sciences, 191. https://doi.org/10.1016/j.ins.2011.12.028
dc.relation.referencesBouhali, A., Zeroual, A., & Harrou, F. (2024). Enhancing Traffic Flow Prediction with Machine Learning Models: A Comparative Study. 2024 IEEE International Conference of the African Federation of Operational Research Societies, AFROS 2024 - Proceedings. https://doi.org/10.1109/AFROS62115.2024.11036955
dc.relation.referencesBreiman, L. (2001). [1] Breiman L 2001 Random Forests Machine Learning 45 5– 32Random Forests. Machine Learning, 45(1).
dc.relation.referencesCalatayud, A., Sánchez González, S., Bedoya-Maya, F., Giraldez Zúñiga, F., & Márquez, J. M. (2021). Urban Road Congestion in Latin America and the Caribbean: Characteristics, Costs, and Mitigation. In Urban Road Congestion in Latin America and the Caribbean: Characteristics, Costs, and Mitigation. https://doi.org/10.18235/0003149
dc.relation.referencesCaragliu, A., Del Bo, C., & Nijkamp, P. (2009). Smart cities in Europe, series research memoranda 0048. VU University Amsterdam, Faculty of Economics, Business Administration and Econometrics, 48.
dc.relation.referencesCastellanos, S., Baena, A., & Ramírez, J. C. (2023). Predictive Modelling of Traffic Accidents in Bogota, Colombia: Uncovering Key Contributing Factors. CEUR Workshop Proceedings, 3520.
dc.relation.referencesChai, T., & Draxler, R. R. (2014). Root mean square error (RMSE) or mean absolute error (MAE)? -Arguments against avoiding RMSE in the literature. Geoscientific Model Development, 7(3). https://doi.org/10.5194/gmd-7-1247-2014
dc.relation.referencesChen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 13-17-August-2016. https://doi.org/10.1145/2939672.2939785
dc.relation.referencesDoroshenko, A., & Savchuk, D. (2025). Explainable AI for high-risk applications: comparative analysis of traffic forecasting models in smart cities ⋆.
dc.relation.referencesElassy, M., Al-Hattab, M., Takruri, M., & Badawi, S. (2024). Intelligent transportation systems for sustainable smart cities. In Transportation Engineering (Vol. 16). https://doi.org/10.1016/j.treng.2024.100252
dc.relation.referencesEnrique, C., & Calderón, R. (2023). MACHINE LEARNING.
dc.relation.referencesEssien, A., Petrounias, I., Sampaio, P., & Sampaio, S. (2019). Improving Urban Traffic Speed Prediction Using Data Source Fusion and Deep Learning. 2019 IEEE International Conference on Big Data and Smart Computing, BigComp 2019 - Proceedings. https://doi.org/10.1109/BIGCOMP.2019.8679231
dc.relation.referencesGrinsztajn, L., Oyallon, E., & Varoquaux, G. (2022). Why do tree-based models still outperform Deep learning on typical tabular data? Advances in Neural Information Processing Systems, 35.
dc.relation.referencesHernando Martínez Rodríguez, W., Johana, E., & Liberato, M. (2024). Análisis de modelos machine learning en las posibles causas que originan la siniestralidad vial en Bogotá.
dc.relation.referencesHochreiter, S., & Schmidhuber, J. (1997). Long Short Term Memory. Neural Computation. Neural Computation, 9(8).
dc.relation.referencesHoerl, A. E., & Kennard, R. W. (1970). Ridge Regression: Biased Estimation for Nonorthogonal Problems. Technometrics, 12(1). https://doi.org/10.1080/00401706.1970.10488634
dc.relation.referencesÍndice IESE Cities in Motion. (2025). www.cajaalta.es
dc.relation.referencesJiang, W., & Luo, J. (2022). Graph neural network for traffic forecasting: A survey. In Expert Systems with Applications (Vol. 207). https://doi.org/10.1016/j.eswa.2022.117921
dc.relation.referencesLam, K. N. (2025). Traffic Prediction Using LSTM, RF and XGBoost. https://doi.org/10.5220/0013515600004619
dc.relation.referencesLeonardo, B., & Forero, S. (2024). MODELO PARA PREDICCIÓN DEL RENDIMIENTO DE CULTIVOS DE MAÍZ EN COLOMBIA EMPLEANDO APRENDIZAJE PROFUNDO
dc.relation.referencesLiu, X., Qin, L., Xu, M., Zhou, Y., Wang, B., Yu, W., & Xiong, W. (2026). A comprehensive review of traffic flow forecasting based on Deep learning. In Neurocomputing (Vol. 668). https://doi.org/10.1016/j.neucom.2025.132269
dc.relation.referencesLu, N., Cheng, N., Zhang, N., Shen, X., & Mark, J. W. (2014). Connected vehicles: Solutions and challenges. In IEEE Internet of Things Journal (Vol. 1, Number 4, pp. 289–299). Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1109/JIOT.2014.2327587
dc.relation.referencesLv, Y., Duan, Y., Kang, W., Li, Z., & Wang, F. Y. (2015). Traffic Flow Prediction with Big Data: A Deep Learning Approach. IEEE Transactions on Intelligent Transportation Systems, 16(2). https://doi.org/10.1109/TITS.2014.2345663
dc.relation.referencesMedina-salgado, B., Sánchez-delacruz, E., Pozos-parra, P., & Sierra, J. E. (2022). Sustainable Computing: Informatics and Systems Urban traffic flow prediction techniques: A review. Sustainable Computing: Informatics and Systems, 35(May 2021).
dc.relation.referencesMohammed, O., & Kianfar, J. (2018). A Machine Learning Approach to Short-Term Traffic Flow Prediction: A Case Study of Interstate 64 in Missouri. 2018 IEEE International Smart Cities Conference, ISC2 2018. https://doi.org/10.1109/ISC2.2018.8656924
dc.relation.referencesPapageorgiou, M., Diakaki, C., Dinopoulou, V., Kotsialos, A., & Wang, Y. (2003). Review of road traffic control strategies. Proceedings of the IEEE, 91(12). https://doi.org/10.1109/JPROC.2003.819610
dc.relation.referencesPedraza-Farías, S.-R., Cáceres-Castellanos, G., & Quevedo-Reyes, J.-E. (2025). Smart Mobility: Road Incident Monitoring System for Urban Traffic Management. Revista Facultad de Ingeniería, 34(71). https://doi.org/10.19053/uptc.01211129.v34.n71.2025.19015
dc.relation.referencesPedregosa FABIANPEDREGOSA, F., Michel, V., Grisel OLIVIERGRISEL, O., Blondel, M., Prettenhofer, P., Weiss, R., Vanderplas, J., Cournapeau, D., Pedregosa, F., Varoquaux, G., Gramfort, A., Thirion, B., Grisel, O., Dubourg, V., Passos, A., Brucher, M., Perrot andÉdouardand, M., Duchesnay, andÉdouard, & Duchesnay EDOUARDDUCHESNAY, Fré. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research. In Journal of Machine Learning Research (Vol. 12).
dc.relation.referencesRahmani, S., Baghbani, A., Bouguila, N., & Patterson, Z. (2023). Graph Neural Networks for Intelligent Transportation Systems: A Survey. IEEE Transactions on Intelligent Transportation Systems, 24(8). https://doi.org/10.1109/TITS.2023.3257759
dc.relation.referencesShmueli, G., & Koppius, O. R. (2011). PREDICTIVE ANALYTICS IN INFORMATION SYSTEMS RESEARCH 1
dc.relation.referencesSun, S., Zhang, C., & Yu, G. (2006). A Bayesian network approach to traffic flow forecasting. IEEE Transactions on Intelligent Transportation Systems, 7(1). https://doi.org/10.1109/TITS.2006.869623
dc.relation.referencesTang, J., Zhu, R., Wu, F., He, X., Huang, J., Zhou, X., & Sun, Y. (2025). Deep spatiotemporal dependent convolutional LSTM network for traffic flow prediction. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-95711-6
dc.relation.referencesTedjopurnomo, D. A., Bao, Z., Zheng, B., Choudhury, F. M., & Qin, A. K. (2022). A Survey on Modern Deep Neural Network for Traffic Prediction: Trends, Methods and Challenges. IEEE Transactions on Knowledge and Data Engineering, 34(4). https://doi.org/10.1109/TKDE.2020.3001195
dc.relation.referencesThakuriah, P. (Vonu), Tilahun, N. Y., & Zellner, M. (2017). Introduction to seeing cities through big data: Research, methods and applications in urban informatics. In Springer Geography. https://doi.org/10.1007/978-3-319-40902-3_1
dc.relation.referencesVlahogianni, E. I., Karlaftis, M. G., & Golias, J. C. (2014). Short-term traffic forecasting: Where we are and where we’re going. Transportation Research Part C: Emerging Technologies, 43. https://doi.org/10.1016/j.trc.2014.01.005
dc.relation.referencesWitten, I. H., Frank, E., Hall, M. A., & Pal, C. J. (2016). Data Mining: Practical Machine Learning Tools and Techniques. In Data Mining: Practical Machine Learning Tools and Techniques
dc.relation.referencesZhang, Y., & Haghani, A. (2015). A gradient boosting method to improve travel time prediction. Transportation Research Part C: Emerging Technologies, 58. https://doi.org/10.1016/j.trc.2015.02.019
dc.rights.accesoAbierto (Texto Completo)
dc.rights.accessrightsOpenAccess
dc.subjectPredicción de flujo vehicular
dc.subjectAprendizaje automático
dc.subjectXGBoost
dc.subjectLSTM
dc.subjectMovilidad inteligente
dc.subject.keywordTraffic flow forecasting
dc.subject.keywordMachine learning
dc.subject.keywordXGBoost
dc.subject.keywordLSTM
dc.subject.keywordSmart mobility
dc.subject.lembMaestría en Ciencias de la Información y las Comunicaciones Metodología Profundización -- Tesis y disertaciones académicas
dc.subject.lembAprendizaje automático
dc.subject.lembFlujo de tráfico -- Predicción
dc.subject.lembInteligencia artificial -- Aplicaciones
dc.subject.lembTráfico urbano -- Modelos matemáticos
dc.subject.lembCiudades inteligentes
dc.titleAlgoritmos basados en machine learning aplicados a la predicción de flujo de tráfico en ciudades inteligentes
dc.title.titleenglishMachine learning-based algorithms applied to traffic flow prediction in smart cities
dc.typemasterThesis
dc.type.coarhttp://purl.org/coar/resource_type/c_bdcc
dc.type.degreeInvestigación-Innovación
dc.type.driverinfo:eu-repo/semantics/masterThesis

Archivos

Bloque original

Mostrando 1 - 3 de 3
Cargando...
Miniatura
Nombre:
AguirreCarpetaWilliamYesid.pdf
Tamaño:
2,49 MB
Formato:
Adobe Portable Document Format
Cargando...
Miniatura
Nombre:
AguirreCarpetaWilliamYesid2026Anexos.zip
Tamaño:
5,02 MB
Formato:
Cargando...
Miniatura
Nombre:
Licencia de uso y publicacion.pdf
Tamaño:
322,45 KB
Formato:
Adobe Portable Document Format

Bloque de licencias

Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
license.txt
Tamaño:
7 KB
Formato:
Item-specific license agreed upon to submission
Descripción: