Related Experiment Video
Updated: Sep 15, 2025

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Traffic accident severity prediction based on an enhanced MSCPO-XGBoost hybrid model
Fei Chen1, Xiang Qun Liu1, Jian Jun Yang2,3
1School of Automobile and Transportation, Xihua University, Chengdu, 610039, China.
Abstract:
Road traffic accidents pose a significant threat to public safety in China. This study proposes a novel severity prediction framework based on a Modified Stochastic Crested Porcupine Optimizer (MSCPO) combined with the XGBoost algorithm. The model was trained on 4287 accident cases from China's National Automobile Accident In-depth Investigation System (NAIS), collected between 2018 and 2023. The dataset was first divided into training and testing sets, and the Synthetic Minority Oversampling Technique (SMOTE) was applied only to the training set to address class imbalance. The MSCPO algorithm was then employed to optimize XGBoost hyperparameters. Comparative experiments demonstrate that the MSCPO-XGBoost model outperforms baseline algorithms including SVM, Random Forest, BP Neural Network, and CNN, achieving an accuracy of 83.57%, a recall of 85.23%, an F1-score of 84.30%, and an AUC of 92.82%. To enhance interpretability, SHAP analysis was used to identify key predictors such as engine displacement, vehicle mass, traffic signals, and driver age. The findings offer valuable guidance for traffic safety policymaking and demonstrate the potential of integrating real-time severity prediction into intelligent traffic management systems.
Related Concept Videos
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Survival Tree
Building a Survival Tree
Constructing a...
Aggregates Classification
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
Hazard Ratio
For example, in a clinical trial...
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Sensitivity, Specificity, and Predicted Value
Sensitivity is the...
