Laaziza Hammoumi, Saad Farah, Mohamed Benayad, Mehdi Maanan, Hassan Rhinane
{"title":"Leveraging machine learning to predict traffic jams: Case study of Casablanca, Morocco","authors":"Laaziza Hammoumi, Saad Farah, Mohamed Benayad, Mehdi Maanan, Hassan Rhinane","doi":"10.1016/j.jum.2025.02.004","DOIUrl":null,"url":null,"abstract":"<div><div>Traffic congestion in urban centers not only hampers mobility but also significantly impacts economic activities and environmental sustainability. This study leverages advanced machine learning techniques to analyze and predict traffic jams, utilizing a detailed dataset of 9847 recorded accident pixels from Waze, a popular navigation platform that aggregates real-time and historical traffic data from millions of users. The study is centered on Casablanca, Morocco and serves as a critical case study for urban traffic management. Advanced algorithms including Random Forest (RF), K-Nearest Neighbors (KNN), XGBoost, and Artificial Neural Network (ANN) were evaluated for their effectiveness in congestion prediction. The Random Forest model demonstrated exceptional performance with an accuracy of 96% and an AUC of 0.997, effectively distinguishing between congested and non-congested states. In contrast, the ANN displayed a lower performance with an accuracy of 64% and an AUC of 0.5, indicating challenges in handling complex traffic patterns. These findings underscore the potential of tailored machine learning solutions to enhance urban traffic management and planning, offering a foundation for deploying intelligent traffic systems that could significantly alleviate congestion in major urban areas.</div></div>","PeriodicalId":45131,"journal":{"name":"Journal of Urban Management","volume":"14 3","pages":"Pages 813-826"},"PeriodicalIF":5.0000,"publicationDate":"2025-03-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Urban Management","FirstCategoryId":"90","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2226585625000172","RegionNum":2,"RegionCategory":"社会学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"URBAN STUDIES","Score":null,"Total":0}
引用次数: 0
Abstract
Traffic congestion in urban centers not only hampers mobility but also significantly impacts economic activities and environmental sustainability. This study leverages advanced machine learning techniques to analyze and predict traffic jams, utilizing a detailed dataset of 9847 recorded accident pixels from Waze, a popular navigation platform that aggregates real-time and historical traffic data from millions of users. The study is centered on Casablanca, Morocco and serves as a critical case study for urban traffic management. Advanced algorithms including Random Forest (RF), K-Nearest Neighbors (KNN), XGBoost, and Artificial Neural Network (ANN) were evaluated for their effectiveness in congestion prediction. The Random Forest model demonstrated exceptional performance with an accuracy of 96% and an AUC of 0.997, effectively distinguishing between congested and non-congested states. In contrast, the ANN displayed a lower performance with an accuracy of 64% and an AUC of 0.5, indicating challenges in handling complex traffic patterns. These findings underscore the potential of tailored machine learning solutions to enhance urban traffic management and planning, offering a foundation for deploying intelligent traffic systems that could significantly alleviate congestion in major urban areas.
期刊介绍:
Journal of Urban Management (JUM) is the Official Journal of Zhejiang University and the Chinese Association of Urban Management, an international, peer-reviewed open access journal covering planning, administering, regulating, and governing urban complexity.
JUM has its two-fold aims set to integrate the studies across fields in urban planning and management, as well as to provide a more holistic perspective on problem solving.
1) Explore innovative management skills for taming thorny problems that arise with global urbanization
2) Provide a platform to deal with urban affairs whose solutions must be looked at from an interdisciplinary perspective.