Volume List  / Volume 12 (4)

Article

TRAFFIC EVENT ANALYSIS MODELING WITH MACHINE LEARNING METHODS USING SOCIAL MEDIA DATA

DOI: 10.7708/ijtte2022.12(4).03


12 / 4 / 464-479 Pages

Author(s)

Cihan Çiftçi - Istanbul University, Faculty of Economics, Business Administration, Beyazıt, Istanbul, Turkey -

Halim Kazan - Istanbul University, Faculty of Economics, Business Administration, Beyazıt, Istanbul, Turkey -


Abstract

There is increasing interest in predicting traffic measures by modeling big data-driven complex scenarios with data mining and machine learning methods. In this study, the parameters of the traffic analysis model were created using 35,697 Twitter traffic notifications. The relationships and effects between the parameters of hour, day, month, season, year, lane, accident status, traffic events were revealed. By using the chi-square method, significant relationships were obtained between the day, time, month, season, and lane parameters of the traffic incidents on the D100 highway. Traffic events analysis machine learning methods of the D100 highway, which has a very important place in Istanbul traffic, were carried out. The traffic events prediction accuracy values of the created model were obtained as Naive Bayes 91.2%, Bayes 91.0% and Artificial Neural Network 93.1%. It has been concluded that accident events occur mostly on Fridays, vehicle breakdowns and maintenance-repair works occur mostly on Thursdays, accident events, vehicle breakdowns and maintenance-repair works mostly occur in the right lane. It was concluded that noon times as time, Thursday and Friday as days, January and July as months, winter season as season and right lane as lane are important parameters in terms of ensuring D100 road traffic safety.


Download Article

Number of downloads: 239


Acknowledgements:

This study was produced from the doctoral thesis of “Analysis of Istanbul Traffic with Data Mining and Machine Learning: D100 Highway Application” prepared by the first author under the supervision of the second author.


References:

Abbasi, A.; Rashidi, T. H.; Maghrebi, M.; Waller, S. T. 2015. Utilising location based social media in travel survey methods: Bringing twitter data into the play. In Proceedings of the 8th ACM SIGSPATIAL International Workshop on Location-Based Social Networks, LBSN 2015 - Held in Conjunction with ACM SIGSPATIAL 2015, 1-9 https://doi.org/10.1145/2830657.2830660.

 

Abel, F.; Hauff, C.; Houben, G. J.; Tao, K.; Stronkman, R. 2012. Twitcident: Fighting fire with information from Social Web streams. In Proceedings of the 21st Annual Conference on World Wide Web Companion WWW’12, 305–308. https://doi.org/10.1145/2187980.2188035.

 

Alkheder, S.; Taamneh, M.; Taamneh, S. 2017. Severity prediction of traffic accident using an artificial neural network. Journal of Forecasting, 36(1), 100-108.

 

Chaniotakis, E.; Antoniou, C.; Mitsakis, E. 2015. Data for Leisure Travel Demand from Social Networking Services. In 4th hEART Symposium (European Association for Research in Transportation), 1-10.

 

Cheng, Z.; Caverlee, J.; Lee, K.; Sui, D. Z. 2011. Exploring Millions of Footprints in Location Sharing Services. In Proceedings of the International AAAI Conference on Web and Social Media, 5(1): 81-88. https://doi.org/papers3://publication/uuid/0C46BD5D-4908-4A8A-BD06-5BCB2F1DE282.

 

Collins, C.; Hasan, S.; Ukkusuri, S. V. 2013. A novel transit rider satisfaction metric: Rider sentiments measured from online social media data, Journal of Public Transportation 16(2): 21–45. https://doi.org/10.5038/2375-0901.16.2.2.

 

Contreras, E.; Torres-Treviño, L.; & Torres, F. 2018. Prediction of car accidents using a maximum sensitivity neural network, Lecture Notes of the Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering, LNICST 213: 86–95. https://doi.org/10.1007/978-3-319-73323-4_9.

 

Cottrill, C.; Gault, P.; Yeboah, G.; Nelson, J. D.; Anable, J.; Budd, T. 2017. Tweeting Transit: An examination of social media strategies for transport information management during a large event, Transportation Research Part C: Emerging Technologies 77: 421–432. https://doi.org/10.1016/j.trc.2017.02.008.

 

Dabiri, S.; Heaslip, K. 2019. Developing a Twitter-based traffic event detection model using deep learning architectures, Expert Systems with Applications 118: 425–439. https://doi.org/10.1016/j.eswa.2018.10.017.

 

Daly, E. M.; Lecue, F.; Bicer, V. 2013. Westland row why so slow? Fusing social media and linked data sources for understanding real-time traffic conditions. In Proceedings of the International Conference on Intelligent User Interfaces, 203–212. https://doi.org/10.1145/2449396.2449423.

 

Fancello, G.; Soddu, S.; Fadda, P. 2018. An accident prediction model for urban road networks, Journal of Transportation Safety and Security 10(4): 387–405. https://doi.org/10.1080/19439962.2016.1268659.

 

Fu, K. 2015. Social Media Analysis For Traffic Incident Detection And Management. Transportation Research Board 94th Annual Meeting, 1–10.

 

Fu, H.; Zhou, Y. 2011. The traffic accident prediction based on neural network. In Proceedings of the 2nd International Conference on Digital Manufacturing and Automation, ICDMA 2011, 1349–1350. https://doi.org/10.1109/ICDMA.2011.331.

 

Gal-Tzur, A.; Grant-Muller, S. M.; Kuflik, T.; Minkov, E.; Nocera, S.; Shoor, I. 2014. The potential of social media in delivering transport policy goals, Transport Policy 32: 115–123. https://doi.org/10.1016/j.tranpol.2014.01.007.

 

Grant‐Muller, S. M.; Gal‐Tzur, A.; Minkov, E.; Nocera, S.; Kuflik, T.; Shoor, I. 2015. Enhancing transport data collection through social media sources: methods, challenges and opportunities for textual data. IET Intelligent Transport Systems, 9(4), 407-417.

 

Gu, X.; Li, T.; Wang, Y.; Zhang, L.; Wang, Y.; Yao, J. 2018. Traffic fatalities prediction using support vector machine with hybrid particle swarm optimization, Journal of Algorithms and Computational Technology 12(1): 20–29. https://doi.org/10.1177/1748301817729953.

 

Hasan, S.; Ukkusuri, S. V. 2014. Urban activity pattern classification using topic models from online geo-location data, Transportation Research Part C: Emerging Technologies 44: 363–381. https://doi.org/10.1016/j.trc.2014.04.003.

 

Hasan, S.; Zhan, X.; Ukkusuri, S. V. 2013. Understanding urban human activity and mobility patterns using large-scale location-based data from online social media. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1-8. https://doi.org/10.1145/2505821.2505823.

 

Huang, A.; Gallegos, L.; Lerman, K. 2017. Travel analytics: Understanding how destination choice and business clusters are connected based on social media data, Transportation Research Part C: Emerging Technologies 77: 245–256. https://doi.org/10.1016/j.trc.2016.12.019.

 

Huang, W.; Xu, S.; Yan, Y.; Zipf, A. 2019. An exploration of the interaction between urban human activities and daily traffic conditions: A case study of Toronto, Canada, Cities 84: 8–22. https://doi.org/10.1016/j.cities.2018.07.001.

 

IMM Open Data. 2020. Available at: https://data.ibb.gov.tr/en/ (Accessed: 01 January 2020).

 

Jadaan, K. S.; Al-Fayyad, M.; Gammoh, H. F. 2014. Prediction of Road Traffic Accidents in Jordan using Artificial Neural Network (ANN), Journal of Traffic and Logistics Engineering 2(2): 92–94. https://doi.org/10.12720/jtle.2.2.92-94.

 

Kumar, A.; Jiang, M.; Fang, Y. 2014. Where not to go? Detecting road hazards using Twitter. In Proceedings of the 37th International ACM SIGIR Conference on Research and Development in Information Retrieval - SIGIR 2014, 1223–1226. https://doi.org/10.1145/2600428.2609550.

 

Lana, I.; Del Ser, J.; Velez, M.; Vlahogianni, E. I. 2018 Road Traffic Forecasting: Recent Advances and New Challenges, IEEE Intelligent Transportation Systems Magazine 10(2): 93–109. https://doi.org/10.1109/MITS.2018.2806634.

 

Luong, T. T. B.; Houston, D. 2015. Public opinions of light rail service in Los Angeles, an analysis using Twitter data. In Proceedings of the IConference, 1–4.

 

Ma, W.; Yuan, Z. 2018. Analysis and Comparison of Traffic Accident Regression Prediction Model. In 3rd International conference on electromechanical control technology and transportation, 364–369. https://doi.org/10.5220/0006970803640369.

 

Maghrebi, M.; Abbasi, A.; Rashidi, T. H.; Waller, S. T. 2015.Complementing Travel Diary Surveys with Twitter Data: Application of Text Mining Techniques on Activity Location, Type and Time. In Proceedings of the IEEE Conference on Intelligent Transportation Systems, ITSC, 2015-Octob, 208–213. https://doi.org/10.1109/ITSC.2015.43.

 

Mai, E.; Hranac, R. 2013. Twitter Interactions as a Data Source for Transportation Incidents. In Proceedings of the 92nd Annual Meeting Transportation Research Board. 11 p. Available from Internet: http://docs.trb.org/prp/13-1636.pdf.

 

Martín, L.; Baena, L.; Garach, L.; López, G.; de Oña, J. 2014. Using Data Mining Techniques to Road Safety Improvement in Spanish Roads. Procedia - Social and Behavioral Sciences, 160, 607–614. https://doi.org/10.1016/j.sbspro.2014.12.174.

 

Ni, M.; He, Q.; Gao, J. 2017. Forecasting the Subway Passenger Flow under Event Occurrences with Social Media, IEEE Transactions on Intelligent Transportation Systems 18(6): 1623–1632. https://doi.org/10.1109/TITS.2016.2611644.

 

Nikolaidou, A.; Papaioannou, P. 2018. Utilizing Social Media in Transport Planning and Public Transit Quality: Survey of Literature, Journal of Transportation Engineering, Part A: Systems 144(4): 04018007. https://doi.org/10.1061/jtepbs.0000128.

 

Özden, C.; Acı, Ç. 2018. Analysis of injury traffic accidents with machine learning methods: Adana case, Pamukkale University Journal of Engineering Sciences 24(2): 266-275.

 

Pender, B.; Currie, G.; Delbosc, A.; Shiwakoti, N. 2014. Social media use during unplanned transit network disruptions: A review of literature, Transport Reviews 34(4): 501-521.

 

Rahman, R.; Roy, K. C.; Abdel-Aty, M.; Hasan, S. 2019. Sharing real-time traffic information with travelers using twitter: An analysis of effectiveness and information content Frontiers in Built Environment 5(83): 1-15. https://doi.org/10.3389/fbuil.2019.00083.

 

Ramani, R. G.; Shanthi, S. 2012. Classifier prediction evaluation in modeling road traffic accident data. In Proceedings of the IEEE International Conference on Computational Intelligence and Computing Research, ICCIC 2012, 1-4.

 

Rashidi, T. H.; Abbasi, A.; Maghrebi, M.; Hasan, S.; Waller, T. S. 2017. Exploring the capacity of social media data for modelling travel behaviour: Opportunities and challenges, Transportation Research Part C: Emerging Technologies 75: 197–211. https://doi.org/10.1016/j.trc.2016.12.008.

 

Ren, H.; Song, Y.; Wang, J.; Hu, Y.; Lei, J. 2018. A Deep Learning Approach to the Citywide Traffic Accident Risk Prediction. IEEE Conference on Intelligent Transportation Systems, Proceedings, ITSC, 2018-November, 3346–3351. https://doi.org/10.1109/ITSC.2018.8569437.

 

Schweitzer, L. 2012. How are We Doing? Opinion Mining Customer Sentiment in US Transit Agencies and Airlines via Twitter. In Proceedings of the Transportation Research Board 91st Annual Meeting. 16 p. Available from Internet: http://trid.trb.org/view.aspx?id=1129878.

 

Shi, Q.; Abdel-Aty, M. 2015. Big Data applications in real-time traffic operation and safety monitoring and improvement on urban expressways, Transportation Research Part C: Emerging Technologies 58: 380–394. https://doi.org/10.1016/j.trc.2015.02.022.

 

Steur, R.J. 2015. Twitter as a spatio-temporal source for incident management. Master's thesis. https://dspace.library.uu.nl/handle/1874/303174.

 

Taamneh, M.; Alkheder, S; Taamneh, S. 2017. Data-mining techniques for traffic accident modeling and prediction in the United Arab Emirates, Journal of Transportation Safety and Security 9(2): 146–166. https://doi.org/10.1080/19439962.2016.1152338.

 

Tayeb, A. A. El.; Pareek, V.; & Araar, A. 2015. Applying Association Rules Mining Algorithms for Traffic Accidents in Dubai, International Journal of Soft Computing and Engineering (IJSCE) (4): 2231–2307. http://www.ijsce.org/wp-content/uploads/papers/v5i4/D2679095415.pdf.

 

Vlahogianni, 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: 3–19. https://doi.org/10.1016/j.trc.2014.01.005.

 

Wanichayapong, N.; Pruthipunyaskul, W.; Pattara-Atikom, W.; Chaovalit, P. 2011. Social-based traffic information extraction and classification. In Proceedings of the 11th International Conference on ITS Telecommunications, ITST 2011, 107–112. https://doi.org/10.1109/ITST.2011.6060036.

 

Xu, S.; Li, S.; Wen, R.; Huang, W. 2019. Traffic event detection using Twitter data based on associated rules, ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences 4(2/W5): 543–547. https://doi.org/10.5194/isprs-annals-IV-2-W5-543-2019.

 

You, J.; Wang, J.; Guo, J. 2017. Real-time crash prediction on freeways using data mining and emerging techniques, Journal of Modern Transportation 25(2): 116–123. https://doi.org/10.1007/s40534-017-0129-7.

 

Zhang, Z.; He, Q.; Gao, J.; Ni, M. 2018. A deep learning approach for detecting traffic accidents from social media data, Transportation Research Part C: Emerging Technologies 86: 580–596. https://doi.org/10.1016/j.trc.2017.11.027.