# Machine learning applications for predicting safety incidents in construction industry

**Authors:** Saleh Alsulamy, Mohamed Alshayeb, Inamullah Inam, Anwar Ahmed

PMC · DOI: 10.1038/s41598-025-34763-0 · Scientific Reports · 2026-01-10

## TL;DR

This paper uses machine learning to predict construction site accidents in Saudi Arabia, showing how factors like weather and training affect incident severity.

## Contribution

The study introduces a novel approach by jointly predicting incident type and severity using machine learning models.

## Key findings

- XGBoost achieved 89% accuracy in predicting incident severity.
- SHAP analysis identified incident type, precipitation, and workforce size as key predictors.
- Combining incident type with other factors improved severity prediction accuracy.

## Abstract

Construction site accidents pose serious risks to workers and organizations, necessitating proactive measures to mitigate fatalities and severe injuries. Identifying key contributing factors and developing predictive models are essential. Whereas earlier studies relied on questionnaires or basic statistics and often focused on a single outcome, this study develops machine learning (ML) models that jointly address both the nature of incidents (NOI) and the severity of incidents (SOI). A dataset of 203 incidents from Saudi Arabia (2018–2024), comprising 14 explanatory variables, was used. Six ML algorithms, K-Nearest Neighbor (KNN), Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), Gradient Boosting (GB), and Extreme Gradient Boosting (XGB) were employed. Results show that all models achieved over 60% accuracy, with XGB performing best, reaching 89% accuracy in SOI prediction. Incorporating NOI as an explanatory feature further improved SOI prediction, highlighting the interdependence of incident characteristics and severity. SHAP analysis provided interpretable insights, revealing that NOI, precipitation, date of incident, and workforce size were the most influential predictors. Factors such as location, safety training, and PPE compliance contributed additional explanatory power. These findings provide practical insights for construction firms, supporting the development of targeted emergency response strategies and the efficient deployment of first-aid resources on site.

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}
- **Diseases:** OIICS (MESH:D060051), slip (MESH:D004839), fatigue (MESH:D005221), traffic accidents (MESH:D000081084), NOI (MESH:D012893), deaths (MESH:D003643), III (MESH:C537189), Injury and Illness (MESH:D014947), falls (MESH:C537863), bruises (MESH:D003288), electrical (MESH:D004556), fatalities (MESH:C565541), fractures (MESH:D050723), burns (MESH:D002056)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12867970/full.md

## Figures

11 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12867970/full.md

## References

16 references — full list in the complete paper: https://tomesphere.com/paper/PMC12867970/full.md

---
Source: https://tomesphere.com/paper/PMC12867970