# Influencing factors of urban safety perception based on the combination of multi-source data and machine learning: a case study of Nanchang City, China

**Authors:** Linduo Yuan, Yuze Dan, Yi Leng, Jiaxin Zhang

PMC · DOI: 10.1038/s41598-025-34110-3 · 2025-12-30

## TL;DR

This study explores how urban environments and psychological factors influence residents' safety perceptions in Nanchang City using machine learning.

## Contribution

The study introduces psychological perception data into urban safety analysis and applies nonlinear modeling to explain variable influences.

## Key findings

- Perceived urban vitality and wealth significantly influence residents' safety perceptions.
- Nonlinear models reveal variable influence mechanisms across different spatial zones.
- The study provides a framework for precision urban planning in historically rich medium-sized cities.

## Abstract

Research examines the influence of multisource urban data on residents’ perceptions of safety. Utilizing the SHAP machine learning model, the research conducts a comprehensive analysis of the nonlinear relationships and interactive effects between built environment factors and psychological perception factors on urban residents’ safety perceptions. Focusing on Nanchang City as a case study, the research integrates multidimensional data encompassing urban spatial environments, resident perceptions, and socioeconomic indicators. The findings highlight the critical role of perceived urban vitality and perceived wealth in shaping residents’ safety perceptions, addressing the insufficient consideration of individual psychological factors in previous research, this study innovatively incorporates psychological perception data, thereby extending traditional built environment theories. By employing nonlinear models to elucidate the influence mechanisms of different variables across spatial zones, it provides a scientific foundation for urban planning and safety governance. Additionally, selecting Nanchang, a representative medium-sized city characterized by historical and cultural heritage, as the sample addresses the previous research gap in such urban contexts. By establishing an evaluation framework for urban safety perception based on multi-source data, this study offers theoretical support and practical guidance for precision planning in medium-sized cities dominated by historical and cultural heritage. This contributes to advancing sustainable urban development and enhancing residents’ well-being.

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}
- **Diseases:** Death (MESH:D003643), fire (MESH:D000092422)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

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

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