Application of the Apriori Algorithm for Traffic Crash Analysis in Thailand
Abstract
:1. Introduction
Author | Methodology | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Apriori Algorithm | Associated Rule | Bayesian Logistic | Cluster Analysis | Decision Tree | Deep Learning | Gradient Boosting | K-means | K-Nearest Neighbor | MultinomialLogistic Regression | Neural Network | Naïve Bayes | Random Forest | Regression on python | Support Vector Machine | |
Sonal and Suman [4] | - | - | - | - | - | - | - | - | - | - | - | - | - | ✓ | - |
Gutierrez-Osorio and Pedraza [5] | - | - | - | - | - | ✓ | - | - | - | - | ✓ | - | - | - | - |
Abellán, et al. [6] | - | - | - | - | ✓ | - | - | - | - | - | - | - | - | - | - |
Al Mamlook, et al. [7] | - | - | ✓ | ✓ | ✓ | - | - | - | ✓ | - | - | ✓ | ✓ | - | ✓ |
Mafi, et al. [8] | - | - | - | - | - | - | - | - | - | - | - | - | ✓ | - | - |
Recal and Demirel [9] | - | - | - | - | ✓ | - | ✓ | - | - | ✓ | ✓ | - | - | - | ✓ |
Bahiru, et al. [10] | - | - | - | - | ✓ | - | - | - | - | - | - | ✓ | - | - | - |
Cuenca, et al. [11] | - | - | - | - | - | ✓ | ✓ | - | - | - | - | ✓ | - | - | - |
Kuşkapan, et al. [12] | - | - | - | - | - | - | - | - | ✓ | - | - | ✓ | - | - | ✓ |
Ospina-Mateus, et al. [13] | - | - | - | - | ✓ | - | - | - | ✓ | - | ✓ | ✓ | ✓ | - | ✓ |
Kumar and Toshniwal [14] | - | ✓ | - | - | - | - | - | ✓ | - | - | - | - | - | - | - |
Helen, et al. [15] | - | ✓ | - | - | - | - | - | ✓ | - | - | - | - | - | - | - |
El Abdallaoui, et al. [16] | - | ✓ | - | - | - | - | - | - | - | - | - | - | - | - | - |
Guido, et al. [17] | - | - | - | - | - | - | - | - | - | - | ✓ | - | - | - | ✓ |
John and Shaiba [18] | ✓ | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Feng, et al. [19] | - | ✓ | - | - | - | - | - | - | - | - | ✓ | - | - | - | - |
Bhavsar, et al. [20] | - | ✓ | - | - | - | - | - | - | - | - | - | - | - | - | - |
Samerei, et al. [21] | - | ✓ | - | ✓ | - | - | - | - | - | - | - | - | - | - | - |
John and Shaiba [22] | ✓ | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Guido, et al. [23] | - | - | - | - | - | - | - | ✓ | - | - | - | - | - | - | - |
2. Data Description and Methodology
2.1. Data Description
- −
- Data cleaning: missing and incompletely captured data were detected and corrected;
- −
- Data validation: the quality of the data was assessed after the dataset was cleaned was validated;
- −
- Data conversion: to facilitate data analysis, the data were partitioned into binary mode;
- −
- Data analysis and interpretation: the research team then conducted an in-depth analysis of the data to uncover insights that would inform their conclusions;
- −
- Data visualization: data visualization techniques were used to create a visual representation of the information and data for enhanced clarity and understanding.
2.2. Methodology
- The accident transactions were sequenced by event (binary): If there was minimal support, the effectiveness of the accident was measured. If it was >50% (threshold), then others below 50% were removed;
- The frequency itemset from 1 was used to build a new itemset (length: 2). After using the join command, if all were set, the sequencing did not matter;
- The support score was recalculated by using the transaction in 1.1 until the intersection; for example:Transaction {Road wet} = {1,1,1,0,1, 0...};Transaction {Darkness} = {1,1,1,1,0,0…};Transaction {Road wet, Darkness} = {1,1,1,0,0,0…};If the minimum support was < threshold, it was removed;
- The frequency itemset from 1.2 was used to create a new itemset (length: 3). However, it was noted that the initial item needed to be the same (by using the join command) and only one linkage could join:Transaction {Road wet, Darkness} = {1,1,1,0,0,0…};Transaction {Road wet, Drunk} = {1,1,1,0,1,0…};Transaction {Road wet, Darkness, Drunk} = {1,1,1,0,0,0…};Frequency of all itemsets;
- The following two items or more were considered and then the confidence and lift were calculated.
3. Descriptive Statistics and Results
4. Discussion
5. Conclusions
6. Limitations and Further Research
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- WHO. World Health Organization: Global Status Report on Road Safety 2018. Available online: https://extranet.who.int/roadsafety/death-on-the-roads/ (accessed on 1 April 2018).
- Jomnonkwao, S.; Uttra, S.; Ratanavaraha, V. Forecasting Road Traffic Deaths in Thailand: Applications of Time-Series, Curve Estimation, Multiple Linear Regression, and Path Analysis Models. Sustainability 2020, 12, 395. [Google Scholar] [CrossRef]
- Perneger, T.V. The Swiss cheese model of safety incidents: Are there holes in the metaphor? BMC Health Serv. Res. 2005, 5, 71. [Google Scholar] [CrossRef] [PubMed]
- Sonal, S.; Suman, S. A framework for analysis of road accidents. In Proceedings of the 2018 International Conference on Emerging Trends and Innovations in Engineering and Technological Research, ICETIETR 2018, Ernakulam, India, 11–13 July 2018. [Google Scholar]
- Gutierrez-Osorio, C.; Pedraza, C. Modern data sources and techniques for analysis and forecast of road accidents: A review. J. Traffic Transp. Eng. Engl. Ed. 2020, 7, 432–446. [Google Scholar] [CrossRef]
- Abellán, J.; López, G.; de Oña, J. Analysis of traffic accident severity using Decision Rules via Decision Trees. Expert Syst. Appl. 2013, 40, 6047–6054. [Google Scholar] [CrossRef]
- Al Mamlook, R.E.; Ali, A.; Hasan, R.A.; Mohamed Kazim, H.A. Machine Learning to Predict the Freeway Traffic Accidents-Based Driving Simulation. In Proceedings of the IEEE National Aerospace Electronics Conference, NAECON, Dayton, OH, USA, 15–19 July 2019; pp. 630–634. [Google Scholar]
- Mafi, S.; AbdelRazig, Y.; Doczy, R. Machine Learning Methods to Analyze Injury Severity of Drivers from Different Age and Gender Groups. Transp. Res. Rec. 2018, 2672, 171–183. [Google Scholar] [CrossRef]
- Recal, F.; Demirel, T. Comparison of machine learning methods in predicting binary and multi-class occupational accident severity. J. Intell. Fuzzy Syst. 2021, 40, 10981–10998. [Google Scholar] [CrossRef]
- Bahiru, T.K.; Kumar Singh, D.; Tessfaw, E.A. Comparative Study on Data Mining Classification Algorithms for Predicting Road Traffic Accident Severity. In Proceedings of the International Conference on Inventive Communication and Computational Technologies, ICICCT 2018, Coimbatore, India, 20–21 April 2018; pp. 1655–1660. [Google Scholar]
- Cuenca, L.G.; Puertas, E.; Aliane, N.; Andres, J.F. Traffic Accidents Classification and Injury Severity Prediction. In Proceedings of the 2018 3rd IEEE International Conference on Intelligent Transportation Engineering, ICITE 2018, Singapore, 3–5 September 2018; pp. 52–57. [Google Scholar]
- Kuşkapan, E.; Çodur, M.Y.; Atalay, A. Speed violation analysis of heavy vehicles on highways using spatial analysis and machine learning algorithms. Accid. Anal. Prev. 2021, 155, 106098. [Google Scholar] [CrossRef]
- Ospina-Mateus, H.; Quintana Jiménez, L.A.; Lopez-Valdes, F.J.; Berrio Garcia, S.; Barrero, L.H.; Sana, S.S. Extraction of decision rules using genetic algorithms and simulated annealing for prediction of severity of traffic accidents by motorcyclists. J. Ambient Intell. Humaniz. Comput. 2021, 12, 10051–10072. [Google Scholar] [CrossRef]
- Kumar, S.; Toshniwal, D. A data mining approach to characterize road accident locations. J. Mod. Transp. 2016, 24, 62–72. [Google Scholar] [CrossRef]
- Helen, W.R.; Almelu, N.; Nivethitha, S. Mining Road Accident Data Based on Diverted Attention of Drivers. In Proceedings of the 2nd International Conference on Intelligent Computing and Control Systems, ICICCS 2018, Madurai, India, 14–15 June 2018; pp. 245–249. [Google Scholar]
- El Abdallaoui, H.E.A.; El Fazziki, A.; Ennaji, F.Z.; Sadgal, M. Decision Support System for the Analysis of Traffic Accident Big Data. In Proceedings of the 14th International Conference on Signal Image Technology and Internet Based Systems, SITIS 2018, Las Palmas de Gran Canaria, Spain, 26–29 November 2018; pp. 514–521. [Google Scholar]
- Guido, G.; Shaffiee Haghshenas, S.; Shaffiee Haghshenas, S.; Vitale, A.; Astarita, V.; Park, Y.; Geem, Z.W. Evaluation of Contributing Factors Affecting Number of Vehicles Involved in Crashes Using Machine Learning Techniques in Rural Roads of Cosenza, Italy. Safety 2022, 8, 28. [Google Scholar] [CrossRef]
- John, M.; Shaiba, H. Apriori-Based Algorithm for Dubai Road Accident Analysis. Procedia Comput. Sci. 2019, 163, 218–227. [Google Scholar] [CrossRef]
- Feng, M.; Zheng, J.; Ren, J.; Xi, Y. Association Rule Mining for Road Traffic Accident Analysis: A Case Study from UK. In Advances in Brain Inspired Cognitive Systems; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2020; pp. 520–529. [Google Scholar]
- Bhavsar, R.; Amin, A.; Zala, L. Development of Model for Road Crashes and Identification of Accident Spots. Int. J. Intell. Transp. Syst. Res. 2021, 19, 99–111. [Google Scholar] [CrossRef]
- Samerei, S.A.; Aghabayk, K.; Mohammadi, A.; Shiwakoti, N. Data mining approach to model bus crash severity in Australia. J. Saf. Res. 2021, 76, 73–82. [Google Scholar] [CrossRef]
- John, M.; Shaiba, H. Analysis of Road Accidents Using Data Mining Paradigm. Lect. Notes Data Eng. Commun. Technol. 2022, 68, 215–223. [Google Scholar] [CrossRef]
- Guido, G.; Haghshenas, S.S.; Haghshenas, S.S.; Vitale, A.; Astarita, V.; Haghshenas, A.S. Feasibility of Stochastic Models for Evaluation of Potential Factors for Safety: A Case Study in Southern Italy. Sustainability 2020, 12, 7541. [Google Scholar] [CrossRef]
- Zhang, X.F.; Fan, L. A decision tree approach for traffic accident analysis of Saskatchewan highways. In Proceedings of the Canadian Conference on Electrical and Computer Engineering, Regina, SK, Canada, 5–8 May 2013. [Google Scholar]
- Bucsuházy, K.; Matuchová, E.; Zůvala, R.; Moravcová, P.; Kostíková, M.; Mikulec, R. Human factors contributing to the road traffic accident occurrence. Transp. Res. Procedia 2020, 45, 555–561. [Google Scholar] [CrossRef]
- Ospina-Mateus, H.; Quintana Jiménez, L.A.; López-Valdés, F.J.; Morales-Londoño, N.; Salas-Navarro, K. Using Data-Mining Techniques for the Prediction of the Severity of Road Crashes in Cartagena, Colombia. Commun. Comput. Inf. Sci. 2019, 1052, 309–320. [Google Scholar] [CrossRef]
- Mohamad, I.; Jomnonkwao, S.; Ratanavaraha, V. Using a decision tree to compare rural versus highway motorcycle fatalities in Thailand. Case Stud. Transp. Policy 2022, 10, 2165–2174. [Google Scholar] [CrossRef]
- Mphela, T. Causes of road accidents in botswana: An econometric model. J. Transp. Supply Chain Manag. 2020, 14, 1–8. [Google Scholar] [CrossRef]
- Chen, C.; Zhang, G.; Yang, J.; Milton, J.C.; Alcántara, A.D. An explanatory analysis of driver injury severity in rear-end crashes using a decision table/Naïve Bayes (DTNB) hybrid classifier. Accid. Anal. Prev. 2016, 90, 95–107. [Google Scholar] [CrossRef] [PubMed]
- Malin, F.; Norros, I.; Innamaa, S. Accident risk of road and weather conditions on different road types. Accid. Anal. Prev. 2019, 122, 181–188. [Google Scholar] [CrossRef] [PubMed]
- Yadav, J.; Batra, K.; Goel, A.K. A Framework for Analyzing Road Accidents Using Machine Learning Paradigms. J. Phys. Conf. Ser. 2021, 1950, 012072. [Google Scholar]
- Chen, C.; Zhang, G.; Tarefder, R.; Ma, J.; Wei, H.; Guan, H. A multinomial logit model-Bayesian network hybrid approach for driver injury severity analyses in rear-end crashes. Accid. Anal. Prev. 2015, 80, 76–88. [Google Scholar] [CrossRef] [PubMed]
- Xie, Y.; Huynh, N. Analysis of driver injury severity in rural single-vehicle crashes. Accid. Anal. Prev. 2012, 47, 36–44. [Google Scholar] [CrossRef]
- Behnood, A.; Mannering, F. The effect of passengers on driver-injury severities in single-vehicle crashes: A random parameters heterogeneity-in-means approach. Anal. Methods Accid. Res. 2017, 14, 41–53. [Google Scholar] [CrossRef]
- Li, Z.; Wu, Q.; Ci, Y.; Chen, C.; Chen, X.; Zhang, G. Using latent class analysis and mixed logit model to explore risk factors on driver injury severity in single-vehicle crashes. Accid. Anal. Prev. 2019, 129, 230–240. [Google Scholar] [CrossRef]
- Wu, Q.; Zhang, G.; Zhu, X.; Liu, X.C.; Tarefder, R. Analysis of driver injury severity in single-vehicle crashes on rural and urban roadways. Accid. Anal. Prev. 2016, 94, 35–45. [Google Scholar] [CrossRef]
- Osman, M.; Mishra, S.; Paleti, R. Injury severity analysis of commercially-licensed drivers in single-vehicle crashes: Accounting for unobserved heterogeneity and age group differences. Accid. Anal. Prev. 2018, 118, 289–300. [Google Scholar] [CrossRef]
- Hou, Q.; Huo, X.; Leng, J.; Cheng, Y. Examination of driver injury severity in freeway single-vehicle crashes using a mixed logit model with heterogeneity-in-means. Phys. A Stat. Mech. Appl. 2019, 531, 121760. [Google Scholar] [CrossRef]
- Kim, J.-K.; Ulfarsson, G.F.; Kim, S.; Shankar, V.N. Driver-injury severity in single-vehicle crashes in California: A mixed logit analysis of heterogeneity due to age and gender. Accid. Anal. Prev. 2013, 50, 1073–1081. [Google Scholar] [CrossRef] [PubMed]
- Li, Z.; Chen, C.; Wu, Q.; Zhang, G.; Liu, C.; Prevedouros, P.D.; Ma, D.T. Exploring driver injury severity patterns and causes in low visibility related single-vehicle crashes using a finite mixture random parameters model. Anal. Methods Accid. Res. 2018, 20, 1–14. [Google Scholar] [CrossRef]
- Champahom, T.; Jomnonkwao, S.; Watthanaklang, D.; Karoonsoontawong, A.; Chatpattananan, V.; Ratanavaraha, V. Applying hierarchical logistic models to compare urban and rural roadway modeling of severity of rear-end vehicular crashes. Accid. Anal. Prev. 2020, 141, 105537. [Google Scholar] [CrossRef]
- Li, Z.; Ci, Y.; Chen, C.; Zhang, G.; Wu, Q.; Qian, Z.; Prevedouros, P.D.; Ma, D.T. Investigation of driver injury severities in rural single-vehicle crashes under rain conditions using mixed logit and latent class models. Accid. Anal. Prev. 2019, 124, 219–229. [Google Scholar] [CrossRef]
- Zhou, M.; Chin, H.C. Factors affecting the injury severity of out-of-control single-vehicle crashes in Singapore. Accid. Anal. Prev. 2019, 124, 104–112. [Google Scholar] [CrossRef] [PubMed]
- Wei, F.; Cai, Z.; Liu, P.; Guo, Y.; Li, X.; Li, Q. Exploring Driver Injury Severity in Single-Vehicle Crashes under Foggy Weather and Clear Weather. J. Adv. Transp. 2021, 2021, 9939800. [Google Scholar] [CrossRef]
- Krull, K.A.; Khattak, A.J.; Council, F.M. Injury Effects of Rollovers and Events Sequence in Single-Vehicle Crashes. Transp. Res. Rec. 2000, 1717, 46–54. [Google Scholar] [CrossRef]
- Yu, M.; Zheng, C.; Ma, C. Analysis of injury severity of rear-end crashes in work zones: A random parameters approach with heterogeneity in means and variances. Anal. Methods Accid. Res. 2020, 27, 100126. [Google Scholar] [CrossRef]
- Jafari Anarkooli, A.; Hosseinpour, M.; Kardar, A. Investigation of factors affecting the injury severity of single-vehicle rollover crashes: A random-effects generalized ordered probit model. Accid. Anal. Prev. 2017, 106, 399–410. [Google Scholar] [CrossRef]
- Se, C.; Champahom, T.; Jomnonkwao, S.; Karoonsoontawong, A.; Ratanavaraha, V. Temporal stability of factors influencing driver-injury severities in single-vehicle crashes: A correlated random parameters with heterogeneity in means and variances approach. Anal. Methods Accid. Res. 2021, 32, 100179. [Google Scholar] [CrossRef]
- Huo, X.; Leng, J.; Hou, Q.; Yang, H. A Correlated Random Parameters Model with Heterogeneity in Means to Account for Unobserved Heterogeneity in Crash Frequency Analysis. Transp. Res. Rec. J. Transp. Res. Board 2020, 2674, 036119812092221. [Google Scholar] [CrossRef]
- Yu, H.; Yuan, R.; Li, Z.; Zhang, G.; Ma, D.T. Identifying heterogeneous factors for driver injury severity variations in snow-related rural single-vehicle crashes. Accid. Anal. Prev. 2020, 144, 105587. [Google Scholar] [CrossRef] [PubMed]
- Jung, S.; Qin, X.; Noyce, D.A. Rainfall effect on single-vehicle crash severities using polychotomous response models. Accid. Anal. Prev. 2010, 42, 213–224. [Google Scholar] [CrossRef] [PubMed]
- Jafarzadeh Ghoushchi, S.; Shaffiee Haghshenas, S.; Memarpour Ghiaci, A.; Guido, G.; Vitale, A. Road safety assessment and risks prioritization using an integrated SWARA and MARCOS approach under spherical fuzzy environment. Neural Comput. Appl. 2023, 35, 4549–4567. [Google Scholar] [CrossRef] [PubMed]
- Shaheed, M.S.; Gkritza, K.; Zhang, W.; Hans, Z. A mixed logit analysis of two-vehicle crash seventies involving a motorcycle. Accid. Anal. Prev. 2013, 61, 119–128. [Google Scholar] [CrossRef] [PubMed]
- PDPM. Thailand Department of Public Disaster Prevention and Mitigation. Available online: https://www.disaster.go.th/en/ (accessed on 1 April 2020).
- Srikant, R.A.a.R. Fast algorithms for mining association rules. In Proceedings of the 20th International Conference on Very Large Data Bases, VLDB, Santiago, Chile, 12–15 September 1994; pp. 487–499. [Google Scholar]
- Frawley, W.J.; Piatetsky-Shapiro, G.; Matheus, C.J. Knowledge Discovery in Databases. AI Mag. 1992, 13, 57. [Google Scholar] [CrossRef]
- Demšar, J.; Curk, T.; Erjavec, A.; Gorup, C.; Hočevar, T.; Milutinovič, M.; Možina, M.; Polajnar, M.; Toplak, M.; Starič, A.; et al. Orange: Data mining toolbox in python. J. Mach. Learn. Res. 2013, 14, 2349–2353. [Google Scholar]
- DLT. Department of Land Transportation. Available online: https://www.dlt.go.th/th/public-news/view.php?_did=2806 (accessed on 1 June 2021).
- Mibileye. Available online: https://www.mobileye.com/ (accessed on 12 August 2023).
- Yoffie, D.B. Mobileye: The Future of Driverless Cars. In Harvard Business School Case; Harvard Business Publishing: Boston, MA, USA, 2014. [Google Scholar]
Variables | Findings |
---|---|
(1) Driver Characteristics | |
Gender | Decreased injury severity: |
Age | Decreased injury severity:
|
Speeding | Increased injury severity: |
Drunk | Increased injury severity: |
Fatigued | Increased injury severity:
|
Overtaking | Increased injury severity: |
(2) Vehicle Characteristics | |
Vehicle type | Decreased injury severity:Increased injury severity: |
(3) External Factors (environmental and road conditions) | |
Light status | Decreased injury severity:
|
Dry/wet road surface | Decreased injury severity: |
Weather | Decreased injury severity:
|
Time | Increased injury severity:
|
Road Type | Fatality | ||
---|---|---|---|
No | Yes | Grand Total | |
Non-Highway | 47,136 | 9207 | 56,343 |
Highway | 48,113 | 24,559 * | 72,672 |
Grand Total | 95,249 | 33,766 | 129,015 |
Group | Attribute Name | Attribute Description |
---|---|---|
Roadway | Highway | 1—Yes |
Dry surface road | 1—Yes, 0—Otherwise | |
Straightaway | 1—Yes, 0—Otherwise | |
Obstruction | 1—Yes, 0—Otherwise | |
Road condition | 1—Yes, 0—Otherwise | |
Vehicle condition | 1—Yes, 0—Otherwise | |
Vehicle Type | Motorcycle | 1—Yes, 0—Otherwise |
Mini-truck/pick-up (4 wheels) | 1—Yes, 0—Otherwise | |
Sedan | 1—Yes, 0—Otherwise | |
Light truck (6 wheels) | 1—Yes, 0—Otherwise | |
Heavy truck (10+ wheels) | 1—Yes, 0—Otherwise | |
Other type of car | 1—Yes, 0—Otherwise | |
External Factors (Environment and Weather Condition) | Daytime (06.00–18.00) | 1—Yes, 0—Otherwise |
Night with light | 1—Yes, 0—Otherwise | |
Night without light | 1—Yes, 0—Otherwise | |
Low visibility | 1—Yes, 0—Otherwise | |
Clear weather | 1—Yes, 0—Otherwise | |
Internal Factors | Drunk | 1—Yes, 0—Otherwise |
(Driver Behavior) | Over speed limit | 1—Yes, 0—Otherwise |
Breaking through traffic lights | 1—Yes, 0—Otherwise | |
Breaking through traffic signs | 1—Yes, 0—Otherwise | |
Overtaking | 1—Yes, 0—Otherwise | |
Using a mobile phone | 1—Yes, 0—Otherwise | |
Short cut-off | 1—Yes, 0—Otherwise | |
Drugs | 1—Yes, 0—Otherwise | |
Driving in the opposite direction | 1—Yes, 0—Otherwise | |
Dozing off | 1—Yes, 0—Otherwise | |
Overweight carry | 1—Yes, 0—Otherwise | |
Cannot conclude | 1—Yes, 0—Otherwise | |
Driver Info | Gender | 1— Male, 0—Otherwise |
Youth: 15–35 | 1—Yes, 0—Otherwise | |
Adult: 36–60 | 1—Yes, 0—Otherwise | |
Senior: 61–90+ | 1—Yes, 0—Otherwise | |
Driver Status | Fatality (death) | 1—Yes |
Antecedent_1 | Antecedent_2 | Antecedent_3 | Consequence | Support | Confidence | Lift |
---|---|---|---|---|---|---|
Over Speed Limit = 1 | Mini-truck/Pick-up = 0 | Sedan = 0 | Motorcycle = 1 | 0.551 | 0.966 | 1.206 |
Straightaway = 1 | Mini-truck/Pick-up = 0 | Sedan = 0 | Motorcycle = 1 | 0.577 | 0.964 | 1.203 |
Dry Surface Road = 1 | Mini-truck/Pick-up = 0 | Sedan = 0 | Motorcycle = 1 | 0.773 | 0.962 | 1.202 |
Clear Whether = 1 | Mini-truck/Pick-up = 0 | Sedan = 0 | Motorcycle = 1 | 0.704 | 0.962 | 1.201 |
Gender = 1 | Mini-truck/Pick-up = 0 | Sedan = 0 | Motorcycle = 1 | 0.689 | 0.958 | 1.196 |
Clear Weather = 1 | Over Speed Limit = 1 | Sedan = 0 | Dry Surface Road = 1 | 0.566 | 0.995 | 1.037 |
Clear Weather = 1 | Over Speed Limit = 1 | Mini-truck/Pick-up = 0 | Dry Surface Road = 1 | 0.548 | 0.995 | 1.037 |
Clear Whether = 1 | Drunk = 0 | Motorcycle = 1 | Dry Surface Road = 1 | 0.62 | 0.994 | 1.036 |
Clear Whether = 1 | Gender = 1 | Motorcycle = 1 | Dry Surface Road = 1 | 0.599 | 0.994 | 1.036 |
Clear Whether = 1 | Over Speed Limit = 1 | Gender = 1 | Dry Surface Road = 1 | 0.527 | 0.994 | 1.036 |
Straightaway = 1 | Clear Weather = 1 | Motorcycle = 1 | Dry Surface Road = 1 | 0.511 | 0.995 | 1.036 |
Clear Weather = 1 | Gender = 1 | Dry Surface Road = 1 | Dry Surface Road = 1 | 0.746 | 0.993 | 1.035 |
Straightaway = 1 | Clear Weather = 1 | Gender = 1 | Dry Surface Road = 1 | 0.546 | 0.993 | 1.035 |
Over Speed Limit = 1 | Motor Bike = 1 | Dry Surface Road = 1 | 0.535 | 0.972 | 1.013 | |
Straightaway = 1 | Motor Bike = 1 | Dry Surface Road = 1 | 0.56 | 0.97 | 1.011 | |
Road Condition = 0 | Gender = 1 | Motorcycle = 1 | Dry Surface Road = 1 | 0.659 | 0.968 | 1.008 |
Over Speed Limit = 1 | Road Condition = 0 | Gender = 1 | Dry Surface Road = 1 | 0.576 | 0.966 | 1.007 |
Drunk = 0 | Gender = 1 | Motorcycle = 1 | Dry Surface Road = 1 | 0.577 | 0.966 | 1.006 |
Gender = 1 | Motorcycle = 1 | Sedan = 0 | Dry Surface Road = 1 | 0.665 | 0.966 | 1.006 |
Gender = 1 | Motorcycle = 1 | Mini-truck/Pick-up = 0 | Dry Surface Road = 1 | 0.665 | 0.966 | 1.006 |
Gender = 1 | Motorcycle = 1 | Other Type of car = 0 | Dry Surface Road = 1 | 0.665 | 0.966 | 1.006 |
Gender = 1 | Motorcycle = 1 | Light Truck | Dry Surface Road = 1 | 0.665 | 0.966 | 1.006 |
(6 wheels) = 0 | ||||||
Gender = 1 | Motorcycle = 1 | Heavy Truck | Dry Surface Road = 1 | 0.665 | 0.966 | 1.006 |
(10+ wheels) = 0 | ||||||
Gender = 1 | Motorcycle = 1 | Dry Surface Road = 1 | 0.665 | 0.966 | 1.006 | |
Vehicle condition = 0 | Gender = 1 | Motorcycle = 1 | Dry Surface Road = 1 | 0.659 | 0.966 | 1.006 |
Straightaway = 1 | Vehicle condition = 0 | Gender = 1 | Dry Surface Road = 1 | 0.596 | 0.965 | 1.006 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Mohamad, I.; Kasemsri, R.; Ratanavaraha, V.; Jomnonkwao, S. Application of the Apriori Algorithm for Traffic Crash Analysis in Thailand. Safety 2023, 9, 58. https://doi.org/10.3390/safety9030058
Mohamad I, Kasemsri R, Ratanavaraha V, Jomnonkwao S. Application of the Apriori Algorithm for Traffic Crash Analysis in Thailand. Safety. 2023; 9(3):58. https://doi.org/10.3390/safety9030058
Chicago/Turabian StyleMohamad, Ittirit, Rattanaporn Kasemsri, Vatanavongs Ratanavaraha, and Sajjakaj Jomnonkwao. 2023. "Application of the Apriori Algorithm for Traffic Crash Analysis in Thailand" Safety 9, no. 3: 58. https://doi.org/10.3390/safety9030058
APA StyleMohamad, I., Kasemsri, R., Ratanavaraha, V., & Jomnonkwao, S. (2023). Application of the Apriori Algorithm for Traffic Crash Analysis in Thailand. Safety, 9(3), 58. https://doi.org/10.3390/safety9030058