Heterogeneous ensemble learning for enhanced crash forecasts - A frequentist and machine learning based stacking framework
- PMID: 36868672
- DOI: 10.1016/j.jsr.2022.12.005
Heterogeneous ensemble learning for enhanced crash forecasts - A frequentist and machine learning based stacking framework
Abstract
Introduction: This study aims to increase the prediction accuracy of crash frequency on roadway segments that can forecast future safety on roadway facilities. A variety of statistical and machine learning (ML) methods are used to model crash frequency with ML methods generally having a higher prediction accuracy. Recently, heterogeneous ensemble methods (HEM), including "stacking," have emerged as more accurate and robust intelligent techniques providing more reliable and accurate predictions.
Methods: This study applies "Stacking" to model crash frequency on five-lane undivided (5 T) segments of urban and suburban arterials. The prediction performance of "Stacking" is compared with parametric statistical models (Poisson and negative binomial) and three state-of-the-art ML techniques (Decision tree, random forest, and gradient boosting), each of which is termed as the base-learner. By employing an optimal weight scheme to combine individual base-learners through stacking, the problem of biased predictions in individual base-learners due to differences in specifications and prediction accuracies is avoided. Data including crash, traffic, and roadway inventory were collected and integrated from 2013 to 2017. The data are split into training (2013-2015), validation (2016), and testing (2017) datasets. After training five individual base-learners using training data, prediction outcomes are obtained for the five base-learners using validation data that are then used to train a meta-learner.
Results: Results of statistical models reveal that crashes increase with the density (number per mile) of commercial driveways whereas decrease with average offset distance to fixed objects. Individual ML methods show similar results - in terms of variable importance. A comparison of out-of-sample predictions of various models or methods confirms the superiority of "Stacking" over the alternative methods considered.
Conclusions and practical applications: From a practical standpoint, "stacking" can enhance prediction accuracy (compared to only one base-learner with a particular specification). When applied systemically, stacking can help identify more appropriate countermeasures.
Keywords: Base-learners; Count data models; Crash frequency; Crash prediction; Machine learning; Meta-learner; Stacking.
Copyright © 2022. Published by Elsevier Ltd.
Conflict of interest statement
Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Similar articles
-
Real-time milk analysis integrated with stacking ensemble learning as a tool for the daily prediction of cheese-making traits in Holstein cattle.J Dairy Sci. 2022 May;105(5):4237-4255. doi: 10.3168/jds.2021-21426. Epub 2022 Mar 10. J Dairy Sci. 2022. PMID: 35282909
-
Applying machine learning approaches to analyze the vulnerable road-users' crashes at statewide traffic analysis zones.J Safety Res. 2019 Sep;70:275-288. doi: 10.1016/j.jsr.2019.04.008. Epub 2019 May 10. J Safety Res. 2019. PMID: 31848006
-
A Bayesian optimization tunning integrated multi-stacking classifier framework for the prediction of radiodermatitis from 4D-CT of patients underwent breast cancer radiotherapy.Front Oncol. 2023 Jun 13;13:1152020. doi: 10.3389/fonc.2023.1152020. eCollection 2023. Front Oncol. 2023. PMID: 37384290 Free PMC article.
-
Advances, challenges, and future research needs in machine learning-based crash prediction models: A systematic review.Accid Anal Prev. 2024 Jan;194:107378. doi: 10.1016/j.aap.2023.107378. Epub 2023 Nov 15. Accid Anal Prev. 2024. PMID: 37976634
-
A literature review of machine learning algorithms for crash injury severity prediction.J Safety Res. 2022 Feb;80:254-269. doi: 10.1016/j.jsr.2021.12.007. Epub 2021 Dec 23. J Safety Res. 2022. PMID: 35249605 Review.
Cited by
-
Predicting the incidence of infectious diarrhea with symptom surveillance data using a stacking-based ensembled model.BMC Infect Dis. 2024 Feb 26;24(1):265. doi: 10.1186/s12879-024-09138-x. BMC Infect Dis. 2024. PMID: 38408967 Free PMC article.
-
Crash severity analysis: A data-enhanced double layer stacking model using semantic understanding.Heliyon. 2024 Apr 29;10(9):e30117. doi: 10.1016/j.heliyon.2024.e30117. eCollection 2024 May 15. Heliyon. 2024. PMID: 38765089 Free PMC article.
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources