, 44:151 | Cite as

Road risk assessment using fuzzy Context-free Grammar based Association Rule Miner

  • S SaranyadeviEmail author
  • R Murugeswari
  • S Bathrinath


Road traffic accidents are a major social concern as well as a crucial issue for the public in recent days due to the risk factors involved. Analysing and identifying the major risk factors of road accident is still a challenging task. In this paper, a fuzzy Context-free Grammar (FCFG)-based association rule mining (ARM) technique is proposed to categorize a heterogeneous road accident dataset into two categories based on the critical factors such as total number of accidents (TA), persons killed (PK) and persons injured (PI). The role of the fuzzy grammar in this paper is to govern the entire algorithm using the prescribed grammar rules to proceed further. The considered road accident dataset does not have class labels; hence there is a need to assign class labels for the available data instance. The accident data with assigned class labels are given as input to K-nearest neighbour (KNN) machine learning algorithm in order to train the classifier for testing purpose. Further, the collected test data from the user are utilized by the KNN classifier for carrying out the performance analysis of the proposed algorithm. The case study is conducted on the National Highway roads, India, to examine the proposed approach. The experimentations are executed for road accident records using MATLAB software and the analysis is made using the following performance measures: accuracy, recall or sensitivity, precision or specificity and F1 score. A comparative study is accomplished with existing algorithms in order to show that the proposed algorithm works with improved accuracy of more than 83%. The results suggested that the road users are responsible for the acceptance or rejection of safe or un-safe roads, respectively.


Road accidents data mining association rule mining formal grammars K-nearest neighbour fuzzy logic 



The first author would like to thank the management of Kalasalingam Academy of Research and Education (KARE) for providing fellowship to carry the research work.


  1. 1.
  2. 2.
  3. 3.
    Boghey R K and Singh S 2016 A sequential tree approach for incremental sequential pattern mining. Sādhanā 41(12): 1369–1380MathSciNetzbMATHGoogle Scholar
  4. 4.
    Kumar S and Toshniwal D 2015 A data mining framework to analyze road accident data. J. Big Data 2(1): 26CrossRefGoogle Scholar
  5. 5.
    Kumar S and Toshniwal D 2016 A data mining approach to characterize road accident locations. J. Mod. Transp. 24(1): 62–72CrossRefGoogle Scholar
  6. 6.
    Kwon O H, Rhee W and Yoon Y 2015 Application of classification algorithms for analysis of road safety risk factor dependencies. Accid. Anal. Prev. 75: 1–15CrossRefGoogle Scholar
  7. 7.
    Driss M, Benabdeli K, Saint-Gerand T and Hamadouche M A 2015 Traffic safety prediction model for identifying spatial degrees of exposure to the risk of road accidents based on fuzzy logic approach. Geocarto Int. 30(3): 243–257CrossRefGoogle Scholar
  8. 8.
    Imprialou M I M, Quddus M and Pitfield D E 2014 High accuracy crash mapping using fuzzy logic. Transp. Res. Part C Emerg. Technol. 42: 107–120CrossRefGoogle Scholar
  9. 9.
    Wang A, An N, Chen G, Li L and Alterovitz G 2015 Accelerating wrapper-based feature selection with K-nearest-neighbor. Knowl. Based Syst. 83: 81–91CrossRefGoogle Scholar
  10. 10.
    Nithya N S and Duraiswamy K 2014 Gain ratio based fuzzy weighted association rule mining classifier for medical diagnostic interface. Sadhana 39(1): 39–52CrossRefGoogle Scholar
  11. 11.
    Darma Y, Karim M R and Abdullah S 2017 An analysis of Malaysia road traffic death distribution by road environment. Sādhanā 42(9): 1605–1615CrossRefGoogle Scholar
  12. 12.
    Luna J M, Romero J R and Ventura S 2012 Design and behavior study of a grammar-guided genetic programming algorithm for mining association rules. Knowl. Inf. Syst. 32(1): 53–76CrossRefGoogle Scholar
  13. 13.
    Luna J M, Romero J R and Ventura S 2013 Grammar-based multi-objective algorithms for mining association rules. Data Knowl. Eng. 86: 19–37CrossRefGoogle Scholar
  14. 14.
    Hahn K S 1989 Investigation of a fuzzy grammar for automated visual inspection. Doctoral dissertation, Texas Tech UniversityGoogle Scholar
  15. 15.
    Ventura S and Luna J M 2016 Pattern mining with evolutionary algorithms. Berlin: Springer, pp. 1–190zbMATHGoogle Scholar
  16. 16.
    Ventura S and Luna J M 2018 Supervised descriptive pattern mining. Springer International Publishing, CrossRefGoogle Scholar
  17. 17.
    Das S, Dutta A, Avelar R, Dixon K, Sun X and Jalayer M 2018 Supervised association rules mining on pedestrian crashes in urban areas: identifying patterns for appropriate countermeasures. Int. J. Urban Sci. 23(1): 30–48CrossRefGoogle Scholar
  18. 18.
    Kumar S and Toshniwal D 2015 Analysing road accident data using association rule mining. In: Proceedings of the 2015 International Conference on Computing, Communication and Security (ICCCS), IEEE, pp. 1–6Google Scholar
  19. 19.
    Dimitriou L and Vlahogianni E I 2015 Fuzzy modeling of freeway accident duration with rainfall and traffic flow interactions. Anal. Methods Accid. Res. 5: 59–71CrossRefGoogle Scholar
  20. 20.
    Hopcroft J E 2008 Introduction to automata theory, languages, and computation. Pearson Education IndiaGoogle Scholar
  21. 21.
    Jung S, Qin X and Oh C 2016 Improving strategic policies for pedestrian safety enhancement using classification tree modeling. Transp. Res. Part A Policy Pract. 85: 53–64CrossRefGoogle Scholar
  22. 22.
    Selvi O 2009 Traffic accident predictions based on fuzzy logic approach for safer urban environments, case study: İzmir Metropolitan Area. PhD thesisGoogle Scholar
  23. 23.
    Mandal S N, Choudhury J P and Chaudhuri S B 2012 In search of suitable fuzzy membership function in prediction of time series data. Int. J. Comput. Sci. Issues 9(3): 293–302Google Scholar
  24. 24.
    Road Accidents Statistics in India 2015
  25. 25.
    Moghaddam H K and Wang X 2014 Vehicle accident severity rules mining using fuzzy granular decision tree. In: Proceedings of the International Conference on Rough Sets and Current Trends in Computing. Cham: Springer, pp. 280–287Google Scholar
  26. 26.
    Pakgohar A, Tabrizi R S, Khalili M and Esmaeili A 2011 The role of human factor in incidence and severity of road crashes based on the CART and LR regression: a data mining approach. Procedia Comput. Sci. 3: 764–769CrossRefGoogle Scholar
  27. 27.
    Castro Y and Kim Y J 2016 Data mining on road safety: factor assessment on vehicle accidents using classification models. Int. J. Crashworth. 21(2): 104–111CrossRefGoogle Scholar

Copyright information

© Indian Academy of Sciences 2019

Authors and Affiliations

  1. 1.Department of Computer Science and EngineeringKalasalingam Academy of Research and EducationKrishnankoilIndia
  2. 2.Faculty of Mechanical EngineeringKalasalingam Academy of Research and EducationKrishnankoilIndia

Personalised recommendations