Next Article in Journal
Evaluation of Geometric Characteristics of Fine Aggregate and Its Impact on Viscoelastic Property of Asphalt Mortar
Previous Article in Journal
Theoretical Investigation of All Optical Switching by Intersystem Crossing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Model Evaluation for Forecasting Traffic Accident Severity in Rainy Seasons Using Machine Learning Algorithms: Seoul City Study

1
Transportation Pollution Research Center, National Institute of Environmental Research, (Environmental Research Complex), Hwangyeong-ro 42 Seo-gu, Incheon 22689, Korea
2
Smart Infrastructure Center, Korea Research Institute for Human Settlements, 5 Gukchaegyeonguwon-ro, Sejong-si 30149, Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2020, 10(1), 129; https://doi.org/10.3390/app10010129
Submission received: 2 December 2019 / Revised: 18 December 2019 / Accepted: 19 December 2019 / Published: 23 December 2019
(This article belongs to the Section Civil Engineering)

Abstract

:
There have been numerous studies on traffic accidents and their severity, particularly in relation to weather conditions and road geometry. In these studies, traditional statistical methods have been employed, such as linear regression, logistic regression, and negative binomial regression modeling, which are the most common linear and non-linear regression analysis methods. In this research, machine learning architecture was applied to this problem using the random forest, artificial neural network, and decision tree techniques to ascertain the strengths and weaknesses of these methods. Three data sets were used: road geometry data, precipitation data, and traffic accident data over nine years corresponding to the Naebu Expressway, which is located in Seoul, Korea. For the model evaluation, three measures were employed: the out-of-bag estimate of error rate (OOB), mean square error (MSE), and root mean square error (RMSE). The low mean OOB, MSE, and RMSE observed in the results obtained using the proposed random forest model demonstrate its accuracy.

1. Introduction

More than 3000 people die in road crashes every day worldwide, including approximately 1000 people in the United States. Such accidents cost $518 billion globally and $230.6 billion per year in the United States. In particular, many young people are affected by traffic accidents, as most traffic accidents are caused by the 15–29 age group (Association for Safe International Road Travel Data). Hence, substantial efforts have been made to address the main factors that cause traffic accidents, such as speeding, distracted driving, driver fatigue, road conditions, use of mobile phones, and poor weather conditions.
Regarding bad road conditions due to the weather, previous studies have revealed that there is a strong correlation between road friction coefficient and traffic accident risk [1,2]. The friction coefficient can be influenced by road conditions such as ice or wetness caused by snow or rainfall. Research has revealed that single-vehicle accidents are mostly caused by wet weather [3]. When a layer of water builds between the tire of a vehicle and the road surface, hydroplaning occurs. If all wheels experience hydroplaning simultaneously, the driver can no longer control the vehicle [4,5]. It has been shown that hydroplaning occurs at vehicle speeds of 80 km/h on thick water films when the water depth exceeds 2.5 mm [6]. According to the Korean Transportation Safety Authority, the total number of fatalities in road traffic accidents in the country has decreased, but rain-related road deaths increased from 430 in 2013 to 463 in 2016. In particular, in Seoul, the traffic fatality rates on rainy days were the highest among all cities [7].
Traffic accidents are unpredictable and can happen anywhere and at any time. However, drivers can at least be provided with useful information to help avoid accidents or reduce their probability. The forecasting of traffic accidents and the identification of related factors under various conditions are important for preventing accidents and reducing their frequency. For these reasons, traffic accident prediction models have been developed to reveal the significant factors that affect traffic accidents so that traffic safety can be improved by controlling and/or improving these factors [8].
The rest of this paper is organized as follows. Next, we provide literature reviews on traffic accident forecasting and machine learning applications. The methodologies of the proposed random forest, artificial neural networks (ANN), and decision tree algorithms are introduced, and the data sets employed are described. The modeling results are presented as the estimated values (importance) of factors influencing accidents as well as interpretations of the model evaluations including the mean square error (MSE) and root mean square error (RMSE). Finally, a discussion is provided and conclusions are drawn.

2. Literature Reviews

2.1. Traffic Accident Forecasting Model

Earlier research has revealed that the difference between the speed of a vehicle and those of the other vehicles in the traffic flow [9] and reckless driving are factors that are strongly correlated with accidents [10,11]. Other studies have investigated the relationships between traffic accidents and the designed road geometry and weather conditions, especially rainfall, using statistical methods [12,13,14,15,16]. It is revealed that rain factors including water depth are strongly correlated with traffic accident severity using the structural equation model [17]. On the other hand, other studies revealed that the effect of precipitation does not affect directly to accident severity, but increasing accident frequency does [18,19].
Approaches including a zero-inflated hierarchical ordered probit and random parameter logit model were utilized to figure out the correlations. The models explain the relation better and show a reasonable level of accuracy from less detailed data [20,21].
In previous studies, the methods used for modeling traffic accidents were primarily statistical, including linear regression modeling, logistic regression modeling, and negative binomial regression modeling, which are the most common types of linear and nonlinear regression analysis. These methods not only involve strong assumptions but also are limited in their application as some are not always appropriate, such as when the outcome (the response variable) is discrete [22,23,24].

2.2. Machine Learning Applications

Machine learning is a well-developed technique and is being applied in many academic fields, although there are not many examples in transportation research. Previous studies have focused on the causes of traffic accidents and the severity of injuries using neural networks and decision trees [25], and recurrent neural network [26]. Several other studies have been performed to forecast fundamental traffic parameters including speed, volume, and density [27,28] through deep learning approaches. There was also an attempt to forecast bus ridership at the stop and stop-to-stop levels and vehicle traffic flow prediction including delay with the development of a deep learning architecture [29,30,31]. In addition, a rainfall prediction model was developed by a machine learning algorithm [32].

2.2.1. Decision Tree

In recent studies, decision tree algorithms dealing with numerous non-parametric techniques in the field of data mining have been actively developed; these can solve complex relationships without the need for any assumptions about the nature of the nonlinearity [33]. Decision tree algorithms are popular for various machine learning tasks. They are invariant under scaling and various other transformations of feature values and are robust against the inclusion of irrelevant features. However, their low accuracy remains a weakness [34].
In particular, trees that are grown deeply learn highly irregular patterns and tend to over-fit their training sets. In these cases, the bias is low but the variance is very high. Unlike tree models, the random forest model is a means of averaging multiple deep decision trees, trained on different parts of the same training set, with the objective of reducing the variance [34]. Furthermore, the use of the strong law of large numbers indicates that the trees always converge (if the mean is finite); therefore, there is no issue with over-fitting the data [35].

2.2.2. Random Forest

The random forest technique applies the bootstrap aggregation (bagging) approach to overcome the bias–variance trade-off, which was not completely solved in the previous approaches. Bias and variance are the factors that constitute learning error. When the bias is high, the forecasted results are not accurate compared to the actual results, and when the variance is high, the forecast fits very well for certain data sets but not for others, which indicates low forecasting stability. Bagging is a method of maintaining low bias and reducing high variance by sampling observations and features randomly in the training set. The random forest algorithm is the most popular one using the bagging approach; its accuracy (low bias) remains as an average value of a decision tree, and the variance is reduced by the use of the central limit theorem.

2.2.3. Artificial Neural Networks

Artificial neural networks (ANNs) have previously been used in many fields for prediction as computer models designed for knowledge processing [36,37]. ANNs can be used in various powerful ways: to teach non-linear system dynamics without any mathematical modeling [38,39,40], to analyze and generalize from samples and to make predictions, to memorize the features of given data, and to match or make associations from new data to old data [41]. In transportation research, many studies have applied ANN models to predict traffic accidents and severity [42,43,44], and such models have shown greater accuracy in predicting injury severity compared to other traditional methods, including ordered probit modeling [45]. On the other hand, ANN is disadvantageous for interpreting human factors to predict traffic accident severity [26].
In this study, traffic accident severity level prediction models were established with several parameters using three algorithms (random forest, ANN, and decision tree algorithms). Each model was successfully applied to predict traffic accidents based on the road surface conditions on a data set with numerous traffic accidents.

3. Methodology

This section reviews the random forest, ANN, and decision tree algorithms and discusses their application for forecasting traffic accident severity. The three algorithms were implemented using the statistical software R in this study.

3.1. Random Forest

The random forest model is a widely used extension of bagged trees [33]. After a random forest is trained on data, the tree functions make predictions. Figure 1 illustrates the structure of the random forest model. The classification “votes” are compiled and can be used to classify the given point based on the consensus “winner,” or the vote distribution can be used to derive a probability for each possible class, as shown in Figure 1.
The random forest training algorithm applies the bagging technique. Bagging, a shorthand term for “bootstrap aggregation,” is an ensemble approach based on resampling or bootstrapping [46]. Instead of using the error from the prior round of fitting as a dependent variable or weight in subsequent rounds of fitting, bagging uses numerous random samplings of records in the data to fit many trees. In this study, the training examples were Z 1 = ( x 1 , y 1 ) ,   , Z n = ( x n , y n ) , an input x was applied to a prediction problem, and a base learner θ ^ ( x ) = t ( x ; Z 1 * , , Z n * ) was utilized. If t(x; Zi) is a decision tree trained on data, then the quantity θ ( x ) would be the output of the tree predictor on input x. Using bagging, it was attempted to stabilize the base learner t by resampling the training data. The bagged version of θ ^ ( x ) is defined as follows:
θ ^ ( x ) = E * [ t ( x ; Z 1 * , , Z n * ) ] ,
where the Z i * series corresponds to sampling with replacement, which can be driven independently from the original data in the process of applying the bootstrap method. The expectation ( E * ) was obtained in terms of the bootstrap measure. Because its value could not be evaluated exactly, the Monte Carlo bagged estimator was used. In Equation (2), Z b i * is an element i in the b th bootstrap sample. Here, B is defined as the number of trees grown.
θ ^ B ( x ) = 1 B b = 1 B t b * ( x ) ,   where   t b * ( x ) = t ( x ; Z b 1 * , , Z b n * ) .

3.2. ANN

There are numerous types of ANNs, of which the most commonly used type is the multilayer perceptron (MLP), which consists of three layers (input, hidden, and output), each of which has nodes and activation functions [43]. In this study, a neural network with MLP architecture was designed and implemented using the R package program.
The schematic structure of the MLP in the ANN model is presented in Figure 2. An MLP in an artificial neuron that consists of inputs (xi), weights (ωi), a summing function (Σ), an activation function (f), threshold value ( θ ), and an output (y). The mathematical expression of the MLP is defined as follows:
y = f ( i = 1 N ω i x i + θ ) .
In the basic ANN cell shown in Figure 2, x 1 ,   x 2 , x n denote the cell inputs. The obtained inputs are multiplied times the weights (ω), and the net input is formed by summing with threshold values varying between −1 and +1.
The role of activation functions is to make a neural network non-linear. These functions are useful for binary classification schemes. The generally preferred activation functions include the tangent hyperbolic, sigmoid, and linear functions. It is desirable to have a continuous and differentiable activation function [47,48]. In this study, the sigmoid function was adopted, which is mostly used to generalize within an ANN and is defined as follows:
x = 1 1 + e x .
Training was conducted using the backpropagation (BP) algorithm in the R package program. This method is utilized to compute the gradients of loss functions regarding the weights in ANNs. It is most widely used for the optimization of network performance by adjusting the weights. BP training consists of three steps [49,50]. The design utilized in this study is depicted in Figure 3.

3.3. Decision Tree

The decision tree model known as a classification and regression tree (CART) [51] is a popular data mining approach that is applied in traffic safety studies [52,53]. The CART model is utilized for comparison with statistical regression models and does not require any prespecified functional form, variable transformation, probability distribution, or error terms for fitting [54].
The CART model consists of a hierarchy of univariate binary decisions like an inverted tree, which grows from the top down. Each internal node in the tree specifies a binary test on a single variable, each branch represents an outcome of the test, and each leaf node represents a class label or class distribution.
A CART chooses the most suitable variable to split the data into two groups at the root node, partitioning the data into two disjoint branches such that the class labels in each branch are as homogeneous as possible; then, splitting is recursively applied to each branch, and so forth [55]. For instance, if dataset T contains examples from n classes, the Gini index (gini(T)) is defined as follows, where pj is the relative frequency of class j in T:
gini (T) = 1 − Σj = 1 to n pj2.
If dataset T is divided into two subsets T1 and T2 with sizes N1 and N2, the Gini index of the split data contains examples from n classes, gini(T) is defined as follows:
gini split (T) = N1/N gini(T1) + N2/N gini(T2).
Then, CART exhaustively searches for univariate splits. The attribute providing the smallest gini split (T) is chosen to split the node. CART recursively expands the tree from a root node and then gradually prunes back the large tree.

4. Data Descriptions

4.1. Location and Road Geometry Data Set

To analyze traffic accidents on an expressway, various types of geometric conditions are required. After reviewing several highways in Seoul, the Naebu Expressway, one of six motorways, was selected as the most appropriate site for this study (Figure 4). Its length is 17.5 km (10.9 mi) (excluding the tunnel), and it is the motorway with the highest severity rate under wet conditions. The available information about the expressway includes geometric characteristics such as the vertical grade, super-elevation, curve radius, road type (tangent or curve), and curve length.

4.2. Traffic Accident Data Set

All reported accident data in Korea can be obtained from the Traffic Accident Analysis System. A sample of 518 subjects was acquired for accidents on the Naebu Expressway for the nine-year period from 2007 to 2015. The data contained information on accident location (longitude and latitude), date, time, driver characteristics (age and gender), and road surface conditions (dry and wet).

4.3. Rainfall Data and Rain Estimation

Rainfall information was obtained from the Korea Meteorological Administration. Then, the rainfall intensity on the road was estimated based on the rainfall data obtained from six weather stations selected from the 30 weather stations in Seoul (Figure 5). The K-nearest neighbor methodology, one of the most common classification algorithms used to predict the class of a record with an unspecified class based on the classes of its neighbor records [56], was adopted to estimate the rainfall intensity. The average, maximum, and minimum distances between the six weather stations and the research site are 1.9 km (1.2 mi), 3.38 km (2.10 mi), and 0.29 km (0.18 mi), respectively. Snow data were excluded from this study because of the difficulty of collecting them.

4.4. Variable Classification

Descriptions of the variables are provided in Table 1. The data used in this study were derived from a sample of 518 subjects involved in fatal, serious injury, and minor injury accidents reported for the Naebu Expressway in traffic police records. The variable accident level (AL) has two levels: non-critical incident (0) and critical incident (1). The criterion for traffic accident severity in Korea has weights of 1.2 for each fatality and 0.3 for each non-fatal injury [57]. A critical incident (1) in this study had a weight of at least 1.2. In other words, a case with a minimum of one fatality or four injuries was considered a critical incident. Thus, an accident was classified as a non-critical incident (0) if it resulted in at least one injury but no fatalities and as a critical incident (1) if at least one fatality or four or more injuries resulted from the accident. Among the explanatory variables (independent variables), the road alignment factors (road geometry type (RT), vertical grade (VS), super-elevation (Se), horizontal alignment (HA), and curve length (CL)), rainfall intensity (RI), and driver age (Da) were continuous variables, and the others were categorical variables. The road surface condition (RC) was divided into two levels (dry and wet).

5. Modeling Results

5.1. Data Set

In the models, the original data set (a sample of 518 subjects, as described in the previous section) was divided into two parts: a training data set and a test data set. The model was developed by training the classifier using the training data set, and the performance of the classifier was tested on the test data set. For this study, 75% of the data were utilized in the training data set, and the rest were used as the test data set. Since the process of assigning data can influence the model outcomes, the cases were randomly assigned to the training and test data subsets.
Before evaluating the models, the out-of-bag estimate of error rate (OOB) of each model was calculated to identify the optimal number of trees for model evaluation. The OOB is the mean prediction error on each training sample xᵢ determined using only the trees that do not have xᵢ in their bootstrap sample [58].
In this study, 500 trees were used and were divided into samples of five sizes, N = {100, 200, 300, 400, 500}, for simulation. For each data point (xᵢ, yᵢ), the classifiers built on a bootstrap sample that did not contain (xᵢ, yᵢ) were retained and aggregated. Then, the predicted labels were compared to obtain the final value, yᵢ. After performing these steps for each data point (xᵢ, yᵢ) of the learning set, the OOB for each point was calculated as the mean of the OOBs over 10 runs to avoid insignificant-sampling effects. The resulting OOB was 4%. Figure 6 illustrates the OOB, showing that both curves tend to stabilize when the number of trees exceeds 200.

5.2. Model Evaluation

To evaluate the model performance, the difference between the predicted and true values of every incident was calculated. The prediction values for AL were obtained from the individual models using the test data set (sample of 130 subjects). The random forest model yielded the closest values to the observed values among the three models, while the ANN model tended to overestimate AL compared with the observed values. Previous research has also indicated this overestimation issue in ANN prediction models [59]. The results are presented in Table 2.
In the examples in Figure 7, the blue lines show the predicted outputs of the AL values obtained from the three models on Seoul roads. Overall, the outputs of each model do not differ significantly, although the AL values correspond to different levels. In particular, the ANN has more blue lines on the roads, while the random forest model tends to have the fewest blue lines on the roads, as shown in Figure 7.
The performance of the models was evaluated in detail using the MSE and RMSE, which were calculated for the test data. Low values of MSE and RMSE indicate that a model can be considered superior. These quantities are defined as follows:
MSE = 1 N i = 1 n ( t m i t g i ) 2 ,     RMSE = 1 N i = 1 n ( t m i t g i ) 2 .
For model evaluation, t m i is the i th observation value, t g i is the i th model value, N is the number of trained data, and m is the number of parameters in the model (the total number of weights and invariables in the net structure). The MSE and RMSE values for the models are shown in Table 3. The lower MSE and RMSE of the random forest model indicate its superior performance among the three models. Meanwhile, the ANN model exhibits higher values of MSE and RMSE, which is assumed to be because the ANN model overpredicted the AL.

6. Case Study for Forecasting Traffic Accident Severity

Variable Importance

The variable importance plot is a crucial output of the random forest model. For each variable in the matrix, this plot presents the importance of the variable in classifying the data. The plot shows each variable on the y-axis and its importance on the x-axis. These variables are ordered top to bottom from the most to least important. The mean decrease in accuracy is how much the model fit decreases when a variable is dropped. The greater the drop, the more significant the variable.
The top two feature variables in the random forest importance list (Table 4) are the RI, which is a meteorological factor, and curve length (CL), which is a road alignment factor. These results presume the probability of traffic accidents to be higher when driving into a curve in the rain. The feature ranked third is the gender of the driver (Dg), which is a human factor. These three top-ranked variables for AL are evenly distributed among the three factors (weather, road alignment, and human). Table 4 shows the importance values for the feature variables in both models.

7. Conclusions

In this study, random forest, ANN, and decision tree algorithms were applied to road accident data. The random forest model yielded the most accurate predictions, while the ANN algorithm overestimated the AL compared to the other models. In the model evaluation using the MSE and RMSE, the ANN model produced the highest values due to AL overestimation.
After the random forest model was verified to be superior for prediction, variables having strong correlations with traffic accidents were analyzed and an accident forecast model was built using the random forest algorithm. The model was developed to estimate accident severity according to road surface conditions using traffic accident data.
Three data sets containing road geometry data, precipitation data, and traffic accident data for the Naebu Expressway in Seoul, Korea over the course of nine years were used. The data were analyzed using the random forest algorithm as a machine learning tool because this algorithm can handle complex relationships without any assumptions and reduces the risk of over-fitting, which is the main disadvantage of tree algorithms; furthermore, it is possible to evaluate various traffic accident characteristics. In the model evaluation, the low mean error of the OOB and low values of the MSE and RMSE demonstrate the accuracy of the proposed model.
From the variable importance plot, the RI, CL, and Dg are the top featured factors, which can be considered to be important parameters affecting the number of accidents based on the road surface conditions for the Naebu Expressway. This finding supports previous literature reports, where the main factor affecting traffic injury severity was determined to be the designed road geometry [60,61] and one of the factors that was significantly related to severity was road wetness [62,63]. In addition, it has been found that the traffic accident severity correlates with Dg and that male drivers show increased severity [64].
This work will improve the ability of decision-makers such as policy-makers and transportation safety designers to take proper actions for traffic safety control of Seoul under various weather conditions. Furthermore, this study will enable researchers adopting the random forest model for traffic accident forecasts to obtain more accurate results.
Even though the accident data covered a nine-year period from 2007 to 2015 for the Naebu Expressway, the low quantity of data for particular road surface conditions did not allow an analysis of wet road conditions. In further research, larger data sets will allow estimation for the various types of road conditions, which is expected to improve the prediction performance. A limitation of the current study is that the analysis does not consider about the road construction situation, which causes the same amount of rain to have different consequences, but the assumption that the same amount of rain has the same consequences.

Author Contributions

Conceptualization, J.L. (Jonghak Lee). and T.Y.; methodology, T.Y.; software, J.L. (Jonghak Lee); validation, S.K.; formal analysis, J.L. (Jongtae Lee); writing—original draft preparation, J.L. (Jongtae Lee); writing—review and editing, T.Y.; visualization, S.K.; supervision, J.L. (Jonghak Lee), All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Institute of Environmental Research (NIER), Ministry of Environment (MOE), grant number NIER-2018-01-01-072.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wallman, C.-G.; Henrik, Å. Friction Measurement Methods and the Correlation Between Road Friction and Traffic Safety: A Literature Review; Swedish National Road and Transport Research Institute: Linköping, Sweden, 2001. [Google Scholar]
  2. Yoon, T.; Cherry, C.R. Development of bicycle throw distance estimation model based on Akaike information criterion statistical method. J. Ergon. 2015, S3, 015. [Google Scholar]
  3. Satterthwaite, S.P. An assessment of seasonal and weather effects on the frequency of road accidents in California. Accid. Anal. Prev. 1976, 8, 87–96. [Google Scholar] [CrossRef]
  4. Sillem, A. Feasibility Study of a Tire Hydroplaning Simulation in a Monolithic Finite Element Code Using a Coupled Eulerian-Lagrangian Method. Master’s Thesis, Delft University of Technology, Delft, The Netherlands, 2008. [Google Scholar]
  5. Cerezo, V.; Gothie, M.; Menissier, M.; Gilbrat, M. Hydroplaning speed and infrastructure characteristics. J. Eng. Tribol. 2010, 224, 891–898. [Google Scholar] [CrossRef] [Green Version]
  6. Yager, T.; Phillips, W.P.; Hore, W. A Comparison of Aircraft and Ground Vehicle Stopping Performance on Dry, Wet, Flooded, Slush-, Snow-, and Ice- Covered Runways; NASA Technical Note D-6098. Washington, DC, USA, 1970; Available online: https://www.semanticscholar.org/paper/A-Comparison-of-Aircraft-and-Ground-Vehicle-on-Dry%2C-Yager-Phillips/a4ea49e378ae6f3808755a753dd64f9c5e88431e (accessed on 23 December 2019).
  7. Korea Road Traffic Authority. Analysis of Traffic Accident Statistics. 2016. Available online: http://taas.koroad.or.kr/ (accessed on 10 November 2019).
  8. Solomon, D. Accidents on Main Rural Highways Related to Speed, Driver, and Vehicle; U.S. Department of Transportation: Washington, DC, USA, 1964.
  9. Doherty, S.T.; Andrey, J.C.; MacGregor, C. The situational risks of young drivers: The influence of passengers, time of day and day of week on accident rates. Accid. Anal. Prev. 1998, 30, 45–52. [Google Scholar] [CrossRef]
  10. Fergusson, D.; Swain-Campbell, N.; Horwood, J. Risky driving behaviour in young people: Prevalence, personal characteristics and traffic accidents. Aust. N. Z. J. Public Health 2003, 27, 337–342. [Google Scholar] [CrossRef]
  11. Shankar, V.; Mannering, F.; Barfield, W. Effect of roadway geometrics and environmental factors on rural freeway accident frequencies. Accid. Anal. Prev. 1995, 27, 371–389. [Google Scholar] [CrossRef]
  12. Brodsky, H.; Hakkert, A.S. Risk of a road accident in rainy weather. Accid. Anal. Prev. 1988, 20, 161–176. [Google Scholar] [CrossRef]
  13. Golob, T.F.; Recker, W.W. Relationships among urban freeway accidents, traffic flow, weather, and lighting conditions. J. Transp. Eng. 2003, 129, 342–353. [Google Scholar] [CrossRef]
  14. Andreescu, M.-P.; Frost, D.B. Weather and traffic accidents in Montreal, Canada. Clim. Res. 1998, 9, 225–230. [Google Scholar] [CrossRef] [Green Version]
  15. Edwards, J.B. The relationship between road accident severity and recorded weather. J. Saf. Res. 1998, 29, 249–262. [Google Scholar] [CrossRef]
  16. Milton, J.; Mannering, F. The relationship among highway geometric, traffic-related elements, and motor-vehicle accident frequencies. Transportation 1998, 25, 395–413. [Google Scholar] [CrossRef]
  17. Lee, J.; Chae, J.; Yoon, T.; Yang, H. Traffic accident severity analysis with rain-related factors using structural equation modeling—A case study of Seoul city. Accid. Anal. Prev. 2018, 112, 1–10. [Google Scholar] [CrossRef] [PubMed]
  18. Theofilatos, A.; Yannis, G. A review of the effect of traffic and weather characteristics on road safety. Accid. Anal. Prev. 2014, 72, 244–256. [Google Scholar] [CrossRef] [PubMed]
  19. Theofilatos, A. Incorporating real-time traffic and weather data to explore road accident likelihood and severity in urban arterials. J. Saf. Res. 2017, 61, 9–21. [Google Scholar] [CrossRef]
  20. Fountas, G.; Anastasopoulos, P.C. Analysis of accident injury-severity outcomes: The zero-inflated hierarchical ordered probit model with correlated disturbances. Anal. Methods Accid. Res. 2018, 20, 30–45. [Google Scholar] [CrossRef]
  21. Anastasopoulos, P.C.; Mannering, F.L. An empirical assessment of fixed and random parameter logit models using crash- and non-crash-specific injury data. Accid. Anal. Prev. 2011, 43, 1140–1147. [Google Scholar] [CrossRef]
  22. James, J.; Kim, K. Restraint use by children involved in crashes in Hawaii, 1986–1991. Transp. Res. Rec. J. Transp. Res. Board 1996, 1560, 8–12. [Google Scholar] [CrossRef]
  23. Mercier, C.; Shelley, M.C., II; Rimkus, J.B.; Mercier, J.M. Age and gender as predictors of injury severity in head-on highway vehicular collisions. Transp. Res. Rec. J. Transp. Res. Board 1997, 1581, 37–46. [Google Scholar] [CrossRef]
  24. Chong, M.; Abraham, A.; Paprzycki, M. Traffic accident analysis using machine learning paradigms. Informatica 2005, 29, 89–98. [Google Scholar]
  25. Huang, W.; Hong, H.; Li, M.; Hu, W.; Song, G.; Xie, K. Deep architecture for traffic flow prediction. In Advanced Data Mining and Applications: 9th International Conference, ADMA 2013, Hangzhou, China, 14–16 December 2013; Part II; Motoda, H., Wu, Z., Cao, L., Zaiane, O., Yao, M., Wang, W., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; pp. 165–176. [Google Scholar]
  26. Sameen, M.I.; Pradhan, B. Severity prediction of traffic accidents with recurrent neural networks. Appl. Sci. 2017, 7, 476. [Google Scholar] [CrossRef] [Green Version]
  27. Lv, Y.; Duan, Y.; Kang, W.; Li, Z.; Wang, F.-Y. Traffic flow prediction with big data: A deep learning approach. IEEE Trans. Intell. Transp. Syst. 2015, 16, 865–873. [Google Scholar] [CrossRef]
  28. Baek, J.; Sohn, K. Deep-learning architectures to forecast bus ridership at the stop and stop-to-stop levels for dense and crowded bus networks. Appl. Artif. Intell. 2016, 30, 861–885. [Google Scholar] [CrossRef]
  29. Hadidi, N. Classification ratemaking using decision trees. Casualty Actuar. Soc. Forum 2003, 253–284. [Google Scholar]
  30. Impedovo, D.; Dentamaro, V.; Pirlo, G.; Sarcinella, L. TrafficWave: Generative deep learning architecture for vehicular traffic flow prediction. Appl. Sci. 2019, 9, 5504. [Google Scholar] [CrossRef] [Green Version]
  31. Hernández-Jiménez, R.; Cardenas, C.; Muñoz Rodríguez, D. Modeling and solution of the routing problem in vehicular delay-tolerant networks: A dual, deep learning perspective. Appl. Sci. 2019, 9, 5254. [Google Scholar] [CrossRef] [Green Version]
  32. Aguasca-Colomo, R.; Castellanos-Nieves, D.; Méndez, M. Comparative analysis of rainfall prediction models using machine learning in islands with complex orography: Tenerife Island. Appl. Sci. 2019, 9, 4931. [Google Scholar] [CrossRef] [Green Version]
  33. Hastie, T.; Tibshirani, R.; Friedman, J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed.; Springer: New York, NY, USA, 2009. [Google Scholar]
  34. Brence, J.R.; Brown, D.E. Analysis of Robust Measures in Random Forest Regression. Ph.D. Thesis, University of Virginia, Charlottesville, VA, USA, 2004. [Google Scholar]
  35. Breiman, L. Bagging predictors. Mach. Learn. 1996, 24, 123–140. [Google Scholar] [CrossRef] [Green Version]
  36. Lee, S.; Lee, T.S.; Kim, J.; Lee, Y.K. Development of accident prediction model with intel system theory. In Computational Science and Its Applications—ICCSA 2005; Lecture Notes Computer Science Series Volume 3481; Springer: Amsterdam, The Netherlands, 2005; pp. 880–888. [Google Scholar]
  37. Mussone, L.; Ferrar, A.; Oneta, M. An analysis of urban collisions using an artificial intelligence model. Accid. Anal. Prev. 1999, 31, 705–718. [Google Scholar] [CrossRef]
  38. Narendra, K.S.; Parthasarathy, K. Identification and control of dynamical systems using neural networks. IEEE Trans. Neural Netw. 1990, 1, 4–27. [Google Scholar] [CrossRef] [Green Version]
  39. Narendra, K.S.; Mukhopadhyay, S. Adaptive control using neural networks and approximate models. IEEE Trans. Neural Netw. 1997, 1, 475–485. [Google Scholar] [CrossRef]
  40. Singh, P.; Deo, M.C. Suitability of different neural networks in daily flow forecasting. Appl. Soft Comput. 2007, 7, 968–978. [Google Scholar] [CrossRef]
  41. Ertuğrul, S.; Hizal, N.A. Neuro-fuzzy controller design via modelling human operator actions. J. Intell. Fuzzy Syst. 2005, 16, 133–140. [Google Scholar]
  42. Abdelwahab, H.; Abdel-Aty, A.M. Development of artificial neural network models to predict driver injury severity in traffic accidents at signalized intersections. Transp. Res. Rec. 2001, 1746, 6–13. [Google Scholar] [CrossRef]
  43. Dursun, D.; Sharda, R.; Bessonov, M. Identifying significant predictors of injury severity in traffic accidents using a series of artificial neural networks. Accid. Anal. Prev. 2005, 38, 434–444. [Google Scholar]
  44. Alkheder, S.; Taamneh, M.; Taamneh, S. Severity prediction of traffic accident using an artificial neural network. J. Forecast. 2017, 36, 100–108. [Google Scholar] [CrossRef]
  45. Abdel-Aty, M.A.; Abdelwahab, H.T. Predicting injury severity levels in traffic crashes: A modeling comparison. J. Transp. Eng. 2004, 130. [Google Scholar] [CrossRef]
  46. Lin, Y.; Jeon, Y. Random forests and adaptive nearest neighbors. J. Am. Stat. Assoc. 2006, 101, 578–590. [Google Scholar] [CrossRef]
  47. Saray, U.; Lüy, M.; Çam, E. Wind speed estimation with artificial neural networks for Amasya. In Proceedings of the Electrical and Electronics Engineering Days, Ankara, Turkey, 20–24 September 2011. (In Turkish). [Google Scholar]
  48. Luy, M.; Saray, U. Wind speed estimation for missing wind data with three different backpropagation algorithms. Energy Educ. Sci. Technol. Part A Energy Sci. Res. 2012, 30, 45–54. [Google Scholar]
  49. Gonzalez, R.C.; Woods, R.E. Digital Image Processing; Addison-Wesley: New York, NY, USA, 1993. [Google Scholar]
  50. Kingdon, J. Intelligent Systems and Financial Forecasting; Springer: New York, NY, USA, 1997. [Google Scholar]
  51. Breiman, L.; Friedman, J.H.; Olshen, R.A.; Stone, J. Classification and Regression Trees; Chapman & Hall/CRC: Boca Raton, FL, USA, 1984. [Google Scholar]
  52. Chang, L.-Y.; Chen, W.-C. Data mining of tree-based models to analyze freeway accident frequency. J. Saf. Res. 2005, 36, 365–375. [Google Scholar] [CrossRef]
  53. Zhang, X.-F.; Fan, L. A decision tree approach for traffic accident analysis of Saskatchewan highways. In Proceedings of the 2013 26th IEEE Canadian Conference on Electrical and Computer Engineering (CCECE), Regina, SK, Canada, 5–8 May 2013. [Google Scholar]
  54. Saha, D. Improved Criteria for Estimating Calibration Factors for Highway Safety Manual (HSM) Applications. Ph.D. Thesis, Florida International University, Miami, FL, USA, 2014. [Google Scholar]
  55. Han, E.H.; Shekhar, S.; Kumar, V.; Ganesh, M.; Srivastava, J. Search Framework for Mining Classification Decision Trees, Technical Report No. 96-023; University of Minnesota: Minneapolis, MN, USA, 1996. [Google Scholar]
  56. Kim, K.-H.; Park, B.-H. Developing the traffic accident severity models by vehicle type. J. Korean Soc. Saf. 2010, 25, 131–136. [Google Scholar]
  57. Lee, J.-Y.; Chung, J.-H.; Son, B.S. Analysis of traffic accident severity for Korean highway using structural equations model. J. Korean Soc. Transp. 2008, 26, 17–24. [Google Scholar]
  58. Swets, J.A. Signal Detection Theory and ROC Analysis in Psychology and Diagnostics: Collected Papers; Lawrence Erlbaum Associates: Mahwah, NJ, USA, 1996. [Google Scholar]
  59. Yu, B.; Yang, Y.T.; Yao, J.B.; Wang, J.Y. A comparison of the performance of ANN and SVM for the prediction of traffic accident duration. Neural Netw. World 2016, 3, 271–287. [Google Scholar] [CrossRef] [Green Version]
  60. Dadashova, B.; Ramírez, B.A.; McWilliams, J.M.; Izquierdo, F.A. The identification of patterns of interurban road accident frequency and severity using road geometry and traffic indicators. Transp. Res. Procedia 2016, 14, 4122–4129. [Google Scholar] [CrossRef] [Green Version]
  61. Shi, Q.; Abdel-Aty, M.; Yu, R. Multi-level Bayesian safety analysis with unprocessed automatic vehicle identification data for an urban expressway. Accid. Anal. Prev. 2016, 88, 68–76. [Google Scholar] [CrossRef]
  62. Kassu, A.; Anderson, M. Determinants of severe injury and fatal traffic accidents on urban and rural highways. Int. J. Traffic Transp. Eng. 2018, 8, 294–308. [Google Scholar]
  63. Naik, B.; Tung, L.-W.; Zhao, S.; Khattak, A.J. Weather Impacts on Single-Vehicle Truck Crash Injury Severity. J. Saf. Res. 2016, 58, 57–65. [Google Scholar] [CrossRef]
  64. Lu, J.J.; Xing, Y.; Wang, C.; Cai, X. Risk Factors Affecting the Severity of Traffic Accidents at Shanghai River-Crossing Tunnel. Traffic Inj. Prev. 2016, 17, 176–180. [Google Scholar] [CrossRef]
Figure 1. Conceptual diagram of random forest model.
Figure 1. Conceptual diagram of random forest model.
Applsci 10 00129 g001
Figure 2. Schematic diagram of multilayer perceptron (MLP).
Figure 2. Schematic diagram of multilayer perceptron (MLP).
Applsci 10 00129 g002
Figure 3. Artificial neural networks (ANN) design in this study.
Figure 3. Artificial neural networks (ANN) design in this study.
Applsci 10 00129 g003
Figure 4. Research site map.
Figure 4. Research site map.
Applsci 10 00129 g004
Figure 5. Process for estimating rainfall on the Naebu Expressway.
Figure 5. Process for estimating rainfall on the Naebu Expressway.
Applsci 10 00129 g005
Figure 6. Mean out-of-bag estimate (OOB) over 10.
Figure 6. Mean out-of-bag estimate (OOB) over 10.
Applsci 10 00129 g006
Figure 7. Examples of predicted AL values obtained from the three models.
Figure 7. Examples of predicted AL values obtained from the three models.
Applsci 10 00129 g007
Table 1. Variable descriptions.
Table 1. Variable descriptions.
ClassificationAbbreviationDescriptionCategory Coding/Value
AccidentALAccident levelRange of 0.08–1.88
One fatality has a weight of 1.2
one non-fatal injury has a weight of 0.3
Road alignment factorsRTRoad geometry type0 = Curve
1 = Tangent
VSVertical gradeRange of –4.3–10.8%
*Mean: 0.01%
SeSuper-elevationRange of −4.1–4.1%
*Mean: 0.01%
HAHorizontal alignmentRange of 180–3550 m
*Mean: 625 m
CLCurve lengthRange of 180–760 m
*Mean: 393 m
Weather factorsRIRainfall intensityRange of 0.5–56 mm/h
*Mean: 3.7 mm/h
RCRoad surface condition0 = Dry
1 = Wet
Road environment factorsVTVehicle type1 = Small passenger car
2 = Large passenger car
3 = Other
ATAccident time0 = Night
1 = Day
Human factorsDaDriver ageRange of 19–81 years
*Mean: 43 years
DgDriver gender0 = Male
1 = Female
NOTE: 1 m = 3.28 ft; 1 mm = 0.0394 in.
Table 2. Predicted accident level (AL) values obtained from three models.
Table 2. Predicted accident level (AL) values obtained from three models.
NumberObserved ValuesPredicted Values
Random ForestANNDecision Tree
10.080.190.470.49
20.280.160.430.49
::::
500.20.200.470.47
510.40.230.470.47
520.080.280.800.55
530.20.210.430.47
540.160.220.430.24
550.400.250.800.38
::::
1290.20.140.200.55
1300.360.190.470.43
Mean0.210.220.460.37
Table 3. Model comparison results.
Table 3. Model comparison results.
ModelMSERMSE
Random Forest0.0470.217
ANN0.1020.319
Decision Tree0.0790.281
Table 4. Importance values (mean decrease in accuracy).
Table 4. Importance values (mean decrease in accuracy).
Feature VariableMean Decrease in Accuracy
RI (rainfall intensity)1.6878244076 Applsci 10 00129 i001
CL (curve length)1.1212874347
Dg (driver gender)0.4364175560
HA (horizontal alignment)0.3302372701
RC (road surface condition)0.3283706054
Da (driver age)0.2036621645
RT (road geometry type)0.1976457683
VS (vertical grade)0.1974057994
VT (vehicle type)−1.2282141894
AT (accident time)−2.9598124259
Se (super-elevation)−3.8938194205

Share and Cite

MDPI and ACS Style

Lee, J.; Yoon, T.; Kwon, S.; Lee, J. Model Evaluation for Forecasting Traffic Accident Severity in Rainy Seasons Using Machine Learning Algorithms: Seoul City Study. Appl. Sci. 2020, 10, 129. https://doi.org/10.3390/app10010129

AMA Style

Lee J, Yoon T, Kwon S, Lee J. Model Evaluation for Forecasting Traffic Accident Severity in Rainy Seasons Using Machine Learning Algorithms: Seoul City Study. Applied Sciences. 2020; 10(1):129. https://doi.org/10.3390/app10010129

Chicago/Turabian Style

Lee, Jonghak, Taekwan Yoon, Sangil Kwon, and Jongtae Lee. 2020. "Model Evaluation for Forecasting Traffic Accident Severity in Rainy Seasons Using Machine Learning Algorithms: Seoul City Study" Applied Sciences 10, no. 1: 129. https://doi.org/10.3390/app10010129

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop