An Explainable Machine Learning Framework Based on XGBoost-SHAP and Multi-Source Geospatial Data: Systematic Analysis of Urban Vitality and Influencing Factors in Changsha
Abstract
1. Introduction
- Expansion of evaluation dimensions: Constructing a “Subjective-Objective integrated” framework. Current Urban Vitality evaluation systems predominantly focus on objective environment, lacking consideration of micro-scale, human-centric perspective, making it difficult to fully capture the complex dynamic mechanisms of vitality. Building upon previous research [15,16,54], our framework expands upon them by introducing a more comprehensive indicator system with a wider range of variables and dimensions, thereby capturing the multi-layered characteristics of urban space more thoroughly.
- Exploration in perception quantification: Utilizing deep learning and Street View imagery to break the limitations of traditional subjective evaluations. This study introduces Baidu Street View imagery and performs semantic segmentation to extract micro-visual features. Simultaneously, it integrates the emotional perception dataset provided by MIT Place Pulse 2.0 Dataset to predict emotional labels for the Street View images, successfully quantifying the emotional perception characteristics of urban spaces.
- Refinement of vitality representation: Introducing multi-source geospatial data to precisely capture dynamic Urban Vitality. Traditional Urban Vitality research mostly relies on static environmental cross-sectional data, which struggles to reflect the high-frequency dynamic changes of human activities. This study incorporates multi-source heterogeneous data—including POIs, Baidu Heatmaps, Street View Image, Social social sensing data (Sina Weibo and Dazhong Dianping)—as representation indicators of spatial vitality. These datasets can reflect the aggregation patterns and preferences of crowds in urban spaces in real-time and with high precision, providing a more reliable empirical basis for unveiling the genuine, dynamic driving mechanisms of Urban Vitality.

2. Materials and Methods
2.1. Research Area
2.2. Data Sources and Processing
2.2.1. Multi-Dimensional Urban Vitality Dataset
2.2.2. Street View Image Dataset
2.2.3. MIT Place Pulse 2.0 Dataset
2.2.4. The Other Basic Dataset
2.3. Research Methods
2.3.1. Construction of Urban Vitality Indicator System
2.3.2. Spatial Autocorrelation Analysis Method
2.3.3. XGBoost-SHAP Model
2.3.4. Influencing Factor Selection
3. Result Analysis
3.1. Features of Urban Vitality Distribution
3.1.1. Social Vitality Distribution Features


3.1.2. Economic Vitality Distribution Features
3.1.3. Cultural Vitality Distribution Features
3.1.4. Ecological Vitality Distribution Features
3.2. Spatial Autocorrelation Analysis
3.3. Analysis of Factors Influencing Urban Vitality
3.3.1. Model Evaluation and Cross-Validation
3.3.2. Analysis of SHAP Global Interpretation Results
- (1)
- Feature importance analysis
- (2)
- Analysis of the Honeycomb Plot.
- (3)
- Analysis of the Heatmap results

3.3.3. Analysis of Average Marginal Effects Based on PDP

3.3.4. Analysis of Univariate Dependence Plots and Threshold Effects


3.3.5. Analysis of Bivariate Interaction Dependence Plots
4. Discussions and Conclusions
4.1. Discussion
- Our results confirm that Building Density and Functional Aggregation Degree exhibit critical low-value inhibition, whereas Functional Diversity, Spatial Enclosure Sense, and Walking Convenience demonstrate narrow optimal-range configurations past which diminishing marginal returns emerge. Moving beyond traditional analyses [9,21], our interaction models utilize empirical evidence to explicitly define the structural boundaries between conditional coupling and positive synergy within these spatial relationships. Furthermore, our interaction models move beyond traditional segregated analyses.
- 2.
- Leveraging the “two-way regulation” of Subjective Perception to achieve precise interventions through micro-renewal. As shown in the fourth mechanism (Street View quality–human demand), positive perceptions—such as Beautiful Perception, Wealthy Perception, and the Interface Richness Index—rely on Population Density as a foundational demand to stably enhance vitality. Specifically, areas with higher Population Density exhibit stronger positive contributions within high-beauty, high-wealth, and high-interface-richness ranges. Spatially, this operational boundary represents a mechanism of demand-driven positive synergy, where aesthetic or quality enhancements do not independently generate vitality but serve as visual modifiers whose real-world utility requires a critical mass of human activity; without an adequate local population, such enhancements remain economically inert. Meanwhile, Lively Perception (threshold ≈ 4.99) and Transit Station Density demonstrate a complementary positive synergy, where perceptual vibrancy and traffic channeling jointly amplify vitality, illustrating a mutual reinforcement process where high-frequency transit nodes continuously pump pedestrian flows that organically feed into and sustain active street-level commercial interfaces.
- 3.
- Addressing Urban Vitality polarization and the siphon effect by identifying spatial vitality “collapse zones” and promoting “gradient transmission”. Spatial autocorrelation analysis indicates that Urban Vitality exhibits strong spatial aggregation (Global Moran’s I = 0.5045, p < 0.001). Local Indicators of Spatial Association (LISA) clustering reveals a gradient structure characterized by single-core polarization, peripheral cold spots, and local fractures. Specifically, High-High clusters (47, 17.09%) converge around the Wuyi Square core business district and the banks of the Xiangjiang River, where social, economic, and cultural vitalities are deeply coupled in a self-reinforcing loop of positive synergy fueled by multi-line TOD infrastructure and dense commercial aggregation. Conversely, Low-Low clusters (78, 28.36%) span peripheral zones—such as western Yuelu, southern Tianxin, and northern Kaifu districts—acting as spatial depressions in the comprehensive evaluation despite their ecological endowments. Spatially, this operational boundary marks a mechanism of rigid institutional and infrastructural inhibition; under the strict regulatory redlines of the “Changsha-Zhuzhou-Xiangtan Green Heart” ecological framework in southern Tianxin, land-use intensity is restricted, freezing these ecological zones into physical “vitality depressions” unable to convert green assets into daily public activity. Low-High outliers (10, 3.63%) peripheral to the core area signify a pronounced siphon effect, which operates through a negative spatial conflict of asymmetrical element extraction, where radial transit extensions act as pipelines that rapidly pull capital and consumer populations out of intermediate transitional neighborhoods and channel them into the polarized Wuyi Square core. SHAP heatmaps further substantiate the spatial differentiation in the marginal contributions of core variables (e.g., Building Density, Functional Aggregation Degree, and Intersection Density), showing positive contributions dominating the central urban area and negative contributions prevailing in peripheral zones. Consequently, urban planning must eschew undifferentiated regulation. For siphon zones, enhancing endogenous attractiveness via micro-renewal, shared infrastructure, and digital cultural tourism is critical to mitigating unidirectional element outflow. Conversely, for the stagnant Low-Low clusters, priority should be given to improving foundational elements, such as Building Density and Road Networks, to breach development thresholds and gradually establish a resilient network characterized by bidirectional element flows and vitality gradient transmission.
- 4.
- Disentangling “confounding synchronous indicators” to decouple statistical co-occurrence from true causality. To avoid urban planning fallacies, it is crucial to rationally examine confounding synchronous indicators within the model by separating causal positive synergies from conditional environmental costs. Although PM2.5 Density and Housing Price Level rank among the top six variables in feature importance (contributing 5.84% and 6.44%, respectively), they represent accompanying manifestations rather than direct drivers of Urban Vitality. The positive contribution of high PM2.5 Density represents a mechanism of environmental co-occurrence rather than causality. Elevated pollution metrics do not foster urban growth; instead, they serve as a downstream physical signal of the hyper-dense built configurations and heavy traffic volumes native to active urban cores. This is further substantiated by the interaction between PM2.5 Density and Spatial Enclosure Sense, which shows that high-PM2.5 positive samples cluster exclusively within tightly enclosed, hyper-active downtown street canyons. Meanwhile, Housing Price Level (threshold ≈ 2658.99) acts as a locational value proxy that captures resource aggregation. Its interactions with Functional Aggregation Degree and Transit Station Density indicate a conditional coupling relationship, where the robust purchasing power inherent to premium real estate enclaves facilitates the release of vitality effects from functional mixes and transit hubs. However, our analysis uncovers a critical high-value constraint where housing prices trigger a negative pullback at extreme configurations (4000–5000). Spatially, this corresponds to upscale, single-use gated luxury communities in Changsha, where excessive perimeter enclosure, low land-use mix, and private security protocols reduce public accessibility and suppress street-level public life. Therefore, planning interventions should prioritize optimizing functional organization to mitigate the negative externalities of high-intensity aggregation, resolutely avoiding the fallacy of misinterpreting environmental costs as indicators of vitality enhancement. Concretely, this entails deploying urban ventilation corridors and expanding street-side greenery to alleviate high-PM2.5 environmental costs, alongside distributing basic public facilities equitably to decentralize the resource advantages of high-housing-price enclaves and catalyze peripheral vitality.
4.2. Conclusions
- Threshold constraints and synergistic coupling of built environments. Within the specific geographic boundaries of this study area, the generation of Urban Vitality is bounded by localized non-linear spatial thresholds and synergistic constraints. The positive externalities of physical environment attributes exhibit distinct “activation milestones” and “iminishing marginal returns” rather than infinite monotonic growth. Crucially, while the precise numerical intervals of these identified thresholds are highly specific to the spatial fabric of the study region and possess limited external generalizability to independent geographic contexts, they demonstrate a valuable methodological template. Consequently, stock-era urban renewal within similar metropolitan contexts must abandon extensive incremental expansion in favor of the precise, localized allocation of core resources, unlocking non-linear vitality leaps through the strategic coupling of development intensity, transport networks, and functional configurations.
- Human-oriented perceptual regulation and conversion efficiency. Human-centric spatial perception serves as the critical nexus determining the conversion efficiency of Urban Vitality. Detaching physical environment enhancements from the visual and psychological demands of residents inevitably precipitates a spatial resource mismatch. The observed two-way regulatory effects of subjective perceptions demonstrate that mitigating spatial oppression and upgrading interface interaction quality are cost-effective pathways for spatial revitalization within existing functional and demographic frameworks.
- Evidence-based and differentiated urban governance. Urban governance in the stock era requires an evidence-based, differentiated regulatory paradigm. To mitigate intensifying vitality polarization and spatial siphoning, planning policies must look beyond statistical co-occurrence to uncover authentic causal mechanisms. Future spatial planning should shift from a globally uniform approach to targeted micro-renewal guided by quantitative diagnostics, prioritizing the remediation of “vitality collapse zones” in peripheral and siphon areas.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Mouratidis, K.; Delclòs-Alió, X. Urban Vitality versus Urban Livability: Does Vibrancy Matter for Neighborhood Satisfaction and Neighborhood Happiness? Cities 2026, 168, 106473. [Google Scholar] [CrossRef] [Scilit]
- Implementation Plan for New Urbanization During the 14th Five-Year Plan Period. Available online: https://www.ndrc.gov.cn/fggz/fzzlgh/gjjzxgh/202207/t20220728_1332050.html (accessed on 23 May 2026). (In Chinese)
- Jacobs, J. The Death and Life of Great American Cities; Random House: New York, NY, USA, 2015. [Google Scholar]
- Montgomery, J. Making a city: Urbanity, vitality and urban design. J. Urban Des. 1998, 3, 93–116. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Xu, W.; Liu, Y.; Liu, B.; Zhu, L. Urban Vitality Transfer: Analysis of 50 Factors Based on 24-h Weekday Activity in Nanjing. Front. Archit. Res. 2025, 14, 1249–1273. [Google Scholar] [CrossRef] [Scilit]
- Jiang, Y.; Han, Y.; Liu, M.; Ye, Y. Street vitality and built environment features: A data-informed approach from fourteen Chinese cities. Sustain. Cities Soc. 2022, 79, 103724. [Google Scholar] [CrossRef] [Scilit]
- Sheng, J.; He, Y.; Lu, T.; Wang, F.; Huang, Y.; Leng, B.; Zhang, X.; Chen, Y. Unveiling Urban Vitality and Its Interactions in Mountainous Cities: A Human Behaviour Perspective on Community-Level Dynamics. Cities 2025, 159, 105780. [Google Scholar] [CrossRef] [Scilit]
- Tartari, M.; Pedrini, S.; Sacco, P.L. Urban ‘Beautification’ and Its Discontents: The Erosion of Urban Commons in Milan. Eur. Plan. Stud. 2022, 30, 643–662. [Google Scholar] [CrossRef] [Scilit]
- Ewing, R.; Cervero, R. Travel and the Built Environment: A Meta-Analysis. J. Am. Plan. Assoc. 2010, 76, 265–294. [Google Scholar] [CrossRef] [Scilit]
- Zhan, D.; Wang, Y.; Wu, Q.; Zhang, W. Nonlinear Effects of the Urban Built Environment on Urban Vitality: A Case Study of Hangzhou, China. J. Geogr. Sci. 2025, 35, 1183–1203. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Yu, B.; Shu, B.; Yang, L.; Wang, R. Exploring the Spatiotemporal Patterns and Correlates of Urban Vitality: Temporal and Spatial Heterogeneity. Sustain. Cities Soc. 2023, 91, 104440. [Google Scholar] [CrossRef] [Scilit]
- Yang, D.; Wang, X.; Han, R. Nonlinear and Synergistic Effects of the Built Environment on Street Vitality: The Case of Shenyang. Urban Plan. Forum 2023, 5, 93–102. (In Chinese) [Google Scholar] [CrossRef]
- Shao, J.; Long, Y.; Liu, X.; Zheng, Y.; Song, Y.; Wang, J.; Liu, B.; Yang, J.; Chen, Y.; Zhang, F. Machine Learning-Based Study on Factors Influencing Street Vitality in Urban Fringe Commercial Districts: A Case of Wuhan. Front. Archit. Res. 2026, 15, 582–608. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Wang, X.; Ye, Y.; Wang, L.; Zhang, Y.; Qin, W.; Chi, Y.; Liu, G.; Yao, S. Nonlinear Relationships and Interaction Effects of Urban Built Environment on Urban Vitality Based on Explainable Machine Learning. City Environ. Interact. 2025, 28, 100244. [Google Scholar] [CrossRef] [Scilit]
- Yuan, L.; Dan, Y.; Leng, Y.; Zhang, J. Influencing Factors of Urban Safety Perception Based on the Combination of Multi-SouSrce Data and Machine Learning: A Case Study of Nanchang City, China. Sci. Rep. 2025, 16, 3972. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Han, C.; Zhang, Z. Nonlinear Effects of Built Environment Perception and Objective Features on Street Vitality in Historic Districts. Front. Archit. Res. 2026, 15, 1075–1091. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Zheng, M.; Zhang, T. Impact Characteristics and Interaction Effects of Built Environment on Street Space Quality in Megacities: A Case Study of Xi’an, China. City Environ. Interact. 2025, 28, 100257. [Google Scholar] [CrossRef] [Scilit]
- Lee, S.; Cho, N. Nonlinear and Interaction Effects of Multi-Dimensional Street-Level Built Environment Features on Urban Vitality in Seoul. Cities 2025, 165, 106145. [Google Scholar] [CrossRef] [Scilit]
- Doan, Q.C.; Zhang, X. A Systematic Review of Urban Vitality Studies: Trends and Research Opportunities. Land Use Policy 2025, 158, 107745. [Google Scholar] [CrossRef] [Scilit]
- Guo, H.; Zhang, S.; Xie, X.; Liu, J.; Ho, H.C. Moderation effects of streetscape perceptions on the associations between accessibility, land use mix, and bike-sharing use: A cross-sectional study. JMIR Public Health Surveill. 2024, 10, e58761. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, Y.; Liu, X.; Gao, S.; Gong, L.; Kang, C.; Zhi, Y.; Chi, G.; Shi, L. Social sensing: A new approach to understanding our socioeconomic environments. Ann. Assoc. Am. Geogr. 2015, 105, 512–530. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Wang, B.; Xiao, L. Non-Linear Associations between Built Environment and Active Travel for Working and Shopping: An Extreme Gradient Boosting Approach. J. Transp. Geogr. 2021, 92, 103034. [Google Scholar] [CrossRef] [Scilit]
- Shi, Y.; Zheng, J.; Pei, X. Measurement Method and Influencing Mechanism of Urban Subdistrict Vitality in Shanghai Based on Multisource Data. Remote Sens. 2023, 15, 932. [Google Scholar] [CrossRef] [Scilit]
- Zhu, T.; Tu, W.; Yue, Y.; Zhong, C.; Zhao, T.; Li, Q.; Li, Q. Sensing Urban Vibrancy Using Geo-Tagged Data. Acta Geod. Cartogr. Sin. 2020, 49, 365–374. [Google Scholar] [CrossRef]
- Wang, X.; Zhang, Y.; Yu, D.; Qi, J.; Li, S. Investigating the Spatiotemporal Pattern of Urban Vibrancy and Its Determinants: Spatial Big Data Analyses in Beijing, China. Land Use Policy 2022, 119, 106162. [Google Scholar] [CrossRef] [Scilit]
- Huang, H.; Shi, H.; Li, X.; Wang, Y. Exploring the Recreational Micromobility in Relation to Historic Urban Areas and Social Media: Insights from Machine Learning Approaches. Landsc. Urban Plan. 2025, 263, 105447. [Google Scholar] [CrossRef] [Scilit]
- Gao, C.; Li, S.; Sun, M.; Zhao, X.; Liu, D. Exploring the Relationship between Urban Vibrancy and Built Environment Using Multi-Source Data: Case Study in Munich. Remote Sens. 2024, 16, 1107. [Google Scholar] [CrossRef] [Scilit]
- Xu, Y.; Mao, W.; Hu, S. Unveiling the Pulse of Urban Metro Stations: A TOD-Driven Approach to Measuring Vibrancy Using Geographically Weighted Random Forest. Int. J. Digit. Earth 2025, 18, 2524054. [Google Scholar] [CrossRef] [Scilit]
- Ling, Z.; Zheng, X.; Chen, Y.; Qian, Q.; Zheng, Z.; Meng, X.; Kuang, J.; Chen, J.; Yang, N.; Shi, X. The Nonlinear Relationship and Synergistic Effects between Built Environment and Urban Vitality at the Neighborhood Scale: A Case Study of Guangzhou’s Central Urban Area. Remote Sens. 2024, 16, 2826. [Google Scholar] [CrossRef] [Scilit]
- Xia, X.; Zhang, Y.; Zhang, Y.; Rao, T. The Spatial Pattern and Influence Mechanism of Urban Vitality: A Case Study of Changsha, China. Front. Environ. Sci. 2022, 10, 942577. [Google Scholar] [CrossRef] [Scilit]
- Lian, A.; Zhang, Y.; Cai, Y.; Wang, Z.; Sun, X.; Jiao, Y.; Dong, R. Exploring the Nonlinear Relationship and Interaction Effects between the Built Environment and Street Vitality Using Machine Learning Methods. Ecol. Front. 2026, 46, 932–946. [Google Scholar] [CrossRef] [Scilit]
- Huang, Y.; Du, J.; Chen, M.; Lin, Y.; Huang, S.; Cai, Y. Evaluating the Spatial-Temporal Impact of Urban Nature on Urban Vitality in Vancouver: A Social Media and GPS Data Approach. Land Use Policy 2026, 160, 107824. [Google Scholar] [CrossRef] [Scilit]
- Huang, Y.; Zheng, B. Social Media Users’ Visual and Emotional Preferences of Internet-Famous Sites in Urban Riverfront Public Spaces: A Case Study in Changsha, China. Land 2024, 13, 930. [Google Scholar] [CrossRef] [Scilit]
- Yang, C.; Zhang, Y. Public emotions and visual perception of the East Coast Park in Singapore: A deep learning method using social media data. Urban For. Urban Green. 2024, 94, 128285. [Google Scholar] [CrossRef] [Scilit]
- Bao, W.; Gong, A.; Zhang, T.; Zhao, Y.; Li, B.; Chen, S. Mapping Population Distribution with High Spatiotemporal Resolution in Beijing Using Baidu Heat Map Data. Remote Sens. 2023, 15, 458. [Google Scholar] [CrossRef] [Scilit]
- Yu, M.; Ji, Q.; Zheng, X.; Cui, W. Nonlinear Effects of the Built Environment on Urban Vitality in Jinan Based on Multi-Source Data and Explainable AI. Sci. Rep. 2026, 16, 4923. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Montalto, V.; Tacao Moura, C.J.; Langedijk, S.; Saisana, M. Culture Counts: An Empirical Approach to Measure the Cultural and Creative Vitality of European Cities. Cities 2019, 89, 167–185. [Google Scholar] [CrossRef] [Scilit]
- Lan, W.; Duan, J.; Yang, B.; Li, J.; Jiang, Y. A Public Perception-Oriented Evaluation Model of Urban Spatial Identity and Its Empirical Research: Taking the Main Urban Area of Wuhan as an Example. City Plan. Rev. 2021, 45, 67–76. (In Chinese) [Google Scholar]
- Li, Y.; Yabuki, N.; Fukuda, T. Exploring the Association between Street Built Environment and Street Vitality Using Deep Learning Methods. Sustain. Cities Soc. 2022, 79, 103656. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Wang, X.; Ye, Y.; Wang, L.; Zhang, Y.; Yao, S. Spatially Heterogeneous Impacts of Urban Vitality on Carbon Emissions: A Multi-Source Data-Driven Mechanistic Analysis. Sustain. Cities Soc. 2025, 130, 106622. [Google Scholar] [CrossRef] [Scilit]
- Lin, J.; Zhuang, Y.; Zhao, Y.; Li, H.; He, X.; Lu, S. Measuring the Non-Linear Relationship between Three-Dimensional Built Environment and Urban Vitality Based on a Random Forest Model. Int. J. Environ. Res. Public Health 2023, 20, 734. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shao, Z.; Ahmad, M.N.; Javed, A. Comparison of Random Forest and XGBoost Classifiers Using Integrated Optical and SAR Features for Mapping Urban Impervious Surface. Remote Sens. 2024, 16, 665. [Google Scholar] [CrossRef] [Scilit]
- Gao, S.; Ge, X.; Li, H.; Zhou, H. Analysis of Urban Vitality and Its Driving Factors in Zhengzhou’s Main Urban Area Based on Multi-Source Data and XGBoost. Ecol. Indic. 2025, 179, 114187. [Google Scholar] [CrossRef] [Scilit]
- Li, N.; Yao, L. Exploring the Vitality of Tianjin’s Downtown Based on the Light GBM-SHAP Model. Comput. Urban Sci. 2024, 4, 48. [Google Scholar] [CrossRef] [Scilit]
- Duan, C.; Chen, Y. Quantifying Walkability’s Non-Linear and Synergistic Effect on Metro Station Area Vitality: An Empirical Study in Shanghai. Front. Archit. Res. 2025, 15, 1174–1191. [Google Scholar] [CrossRef] [Scilit]
- Ruan, Y.; Zhang, X.; Wang, J.; Liu, N. Understanding the Role of Urban Block Morphology in Innovation Vitality through Explainable Machine Learning. Sci. Rep. 2025, 15, 21337. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, X.; Zhang, Y.; Li, C.; Yin, C.; Shao, C. Investigating Nonlinear and Spatially Heterogeneous Impacts of the Built Environment on Urban Vitality. Sustain. Cities Soc. 2025, 135, 107033. [Google Scholar] [CrossRef] [Scilit]
- Gao, F.; Deng, X.; Liao, S.; Liu, Y.; Chen, W.; Li, G. Comparing Visitation Patterns in Distinct Types of Parks Using Geospatial Data and Interpretable Machine Learning. Urban For. Urban Green. 2025, 112, 128986. [Google Scholar] [CrossRef] [Scilit]
- Ding, J.; Luo, L.; Shen, X.; Xu, Y. Influence of built environment and user experience on the waterfront vitality of historical urban areas: A case study of the Qinhuai River in Nanjing, China. Front. Archit. Res. 2023, 12, 820–836. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Wang, Z.; Yao, M.; Zhang, Y.; Zhang, Q. Nonlinear Effects of Station-Area Environments on Commercial–Employment Composite Vitality: Evidence from Osaka’s Midosuji Line. Land 2026, 15, 1054. [Google Scholar] [CrossRef] [Scilit]
- Karanikola, P.; Panagopoulos, T.; Tampakis, S.; Simoglou, G.; Tzelepi, A. Perceptions of urban green infrastructure in two contrasting municipalities of the metropolitan area of Athens, Greece. Nat.-Based Solut. 2023, 3, 100063. [Google Scholar] [CrossRef] [Scilit]
- Ma, Y.; Wang, L.; Zhang, J. Quantifying Spatial Openness and Visual Perception in Historic Urban Environments. Buildings 2025, 15, 3295. [Google Scholar] [CrossRef] [Scilit]
- Rui, J.; Cai, C. Plausible or Misleading? Evaluating the Adaption of the Place Pulse 2.0 Dataset for Predicting Subjective Perception in Chinese Urban Landscapes. Habitat Int. 2025, 157, 103333. [Google Scholar] [CrossRef] [Scilit]
- Tan, Y.; Song, J.; Bai, Y.; Li, Y. Beyond Objective Features: Integrating Subjective Perceptions to Decipher Urban Vitality via Multimodal Machine Learning. Habitat Int. 2026, 168, 103676. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Qiu, W.; Jiang, Q.; Li, W.; Ji, T.; Dong, L. Drivers or Pedestrians, Whose Dynamic Perceptions Are More Effective to Explain Street Vitality? A Case Study in Guangzhou. Remote Sens. 2023, 15, 568. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; He, X.; Zikirya, B. Boba Shop, Coffee Shop, and Urban Vitality and Development—A Spatial Association and Temporal Analysis of Major Cities in China from the Standpoint of Nighttime Light. Remote Sens. 2023, 15, 903. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Tu, T.; Long, Y. Inferring Ghost Cities on the Globe in Newly Developed Urban Areas Based on Urban Vitality with Multi-Source Data. Habitat Int. 2025, 158, 103350. [Google Scholar] [CrossRef] [Scilit]
- Huang, J.; Hu, X.; Wang, J.; Lu, A. How Diversity and Accessibility Affect Street Vitality in Historic Districts? Land 2023, 12, 219. [Google Scholar] [CrossRef] [Scilit]
- Gao, F.; Liu, Y.; Liao, S.; Zhang, J.; Jiao, Z.; Hu, X.; Wu, J.; Chen, W.; Li, G. Lively Guangzhou: Deciphering the Divergent Intra-Urban Vibrancy across Historic Districts and CBD Using Interpretable Machine Learning. Cities 2025, 167, 106345. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Liu, J.; Zhao, Y.; Zhou, Q.; Song, L.; Xu, S. Community-Level Urban Vitality Intensity and Diversity Analysis Supported by Multisource Remote Sensing Data. Remote Sens. 2025, 17, 1056. [Google Scholar] [CrossRef] [Scilit]
- Zhao, X.; Lu, Y.; Huang, W.; Lin, G. Assessing and Interpreting Perceived Park Accessibility, Usability and Attractiveness through Texts and Images from Social Media. Sustain. Cities Soc. 2024, 112, 105619. [Google Scholar] [CrossRef] [Scilit]
- Wu, H.; Zhu, L.; Chen, Q.; Deng, H. Coupling Coordination Degree and Influencing Mechanisms of Virtual-Physical Vitality in Urban Space: A Case Study from Changsha, China. Land 2026, 15, 814. [Google Scholar] [CrossRef] [Scilit]
- Ji, H.; Qing, L.; Han, L.; Wang, Z.; Cheng, Y.; Peng, Y. A New Data-Enabled Intelligence Framework for Evaluating Urban Space Perception. ISPRS Int. J. Geo-Inf. 2021, 10, 400. [Google Scholar] [CrossRef] [Scilit]
- Long, Y.; Jiao, S.; Yu, Y.; Xiao, K. An Analysis of Spatial Vitality Distribution and Formation Mechanisms in Historical Urban Areas Based on Multi-Source Big Data: A Case Study of Changsha. Front. Archit. Res. 2025, 14, 1727–1749. [Google Scholar] [CrossRef] [Scilit]
- Jiang, X.; Zhang, Z.; Li, X.; Wang, Z.; Zhang, Y. Advances in the Blue-Green Space Evaluation Index System. Ecohydrology 2023, 16, e2527. [Google Scholar] [CrossRef] [Scilit]
- Bardhan, M.; Li, F.; Browning, M.H.E.M.; Dong, J.; Zhang, K.; Yuan, S.; İnan, H.E.; McAnirlin, O.; Dagan, D.T.; Maynard, A.; et al. From space to street: A systematic review of the associations between visible greenery and bluespace in street view imagery and mental health. Environ. Res. 2024, 263, 120213. [Google Scholar] [CrossRef] [Scilit] [PubMed]











| Dimension | Date Type | Quantification Method | Data Source | Literature | Weight |
|---|---|---|---|---|---|
| Social Vitality | Baidu Heatmap | Average Heatmap value across all time periods within the community units | https://rq.baidu.com/ (accessed on 30 December 2025) | [12,43,58] | 0.058 |
| Social Media Check-ins | Number of comments and likes within the community units | https://weibo.cn/ (accessed on 31 December 2025) | [23,45,59] | 0.334 | |
| Economic Vitality | Commercial Service Facilities | Number of POIs for dining, shopping, entertainment, accommodation, etc., within the community units | https://ditu.amap.com/ (accessed on 30 July 2025) | [54,60] | 0.094 |
| Consumption Reviews | Number of reviews for dining, shopping, entertainment, accommodation, sports, etc., within the community units | https://www.dianping.com/ (accessed on 29 December 2025) | [12,61] | 0.174 | |
| Nighttime Light Intensity | Average value of NPP/VIIRS nighttime light pixels within the community units | https://search.earthdata.nasa.gov/ (accessed on 29 December 2025) | [27,43,60] | 0.045 | |
| Cultural Vitality | Cultural Facility Density | Number of POIs for museums, libraries, art galleries, theaters, cultural centers, exhibition halls, media institutions, bookstores, cultural/creative shops, etc. | https://ditu.amap.com/ (accessed on 30 July 2025) | [27,40,60] | 0.084 |
| Public Service Facility Density | Number of POIs for schools, research institutions, training centers, sports/leisure, medical/health care, etc., within the community units | https://ditu.amap.com/ (accessed on 30 July 2025) | [54,60] | 0.096 | |
| Ecological Vitality | Landscape Facility Density | Number of POIs for scenic spots, parks, squares, etc., within the community units | https://ditu.amap.com/ (accessed on 30 July 2025) | [54,62] | 0.105 |
| Vegetation Coverage Index | Average Normalized Difference Vegetation Index (NDVI) within the community units | https://search.earthdata.nasa.gov/ (accessed on 29 December 2025) | [11,15,57] | 0.009 |
| Hyperparameter | Search Method | Search Range | Optimal Value |
|---|---|---|---|
| learning-rate | Log-uniform | 1 × 10−3–0.9 | 0.0329 |
| max-depth | Integer | 2–5 | 3 |
| reg-lambda | Log-uniform | 1 × 10−4–100 | 0.0002 |
| gamma | Log-uniform | 1 × 10−4–100 | 0.0003 |
| min-child-samples | Integer | 2–10 | 6 |
| n-estimators | Integer | 1–500 | 108 |
| colsample-bytree | Log-uniform | 0.1–1 | 0.1507 |
| subsample | Log-uniform | 0.1–1 | 0.1928 |
| random-state | Fixed | 1 | 1 |
| n-jobs | Fixed | −1 | −1 |
| Dimension | Variable | Measuring Method | Units | Literature |
|---|---|---|---|---|
| Objective Environment | Building Density | Building footprint area within the community units | [11,13,18] | |
| Functional Aggregation Degree | Density of POIs for commerceculture, public services, ecological landscapes, etc., within the community units | [13,23,64] | ||
| Functional Diversity | Degree of mixture of POIs for commerce, culture, public services, ecological landscapes, etc., within the community units | - | [2,23,40] | |
| Road Network Density | Total length of roads within the community unit | [13,27,43] | ||
| Intersection Density | Number of intersections within the community units | [7,10,27] | ||
| PM2.5 Density | Satellite-derived annual average near-surface PM2.5 concentration | μg/m3 | [43,60] | |
| Population Density | Number of permanent residents within the community units | [13,15] | ||
| Housing Price Level | Average housing price within the community units | CNY/m2 | [7,18,43] | |
| Transit Station Density | Number of bus and subway stations within the community units | [7,17,47] | ||
| Spatial Enclosure Sense | Proportion of the visual field occupied by elements other than the sky in Street View imagery within the community units | % | [12,17,54] | |
| Interface Richness Index | Degree of mixture calculated based on the area of various elements within the community units | % | [12,17,18] | |
| Environment Openness Index | Proportion of sky pixel area in Street View imagery within the community units | % | [18,40,47] | |
| Walking Convenience | Ratio of pedestrian space to vehicular space within the community units | % | [12,17] | |
| Motorization Level | Proportion of the visual field occupied by motorized lanes in Street View imagery within the community units | % | [15,17] | |
| Green Visibility Index | Proportion of greenery pixel area in Street View imagery within the community units | % | [12,40,47] | |
| Blue Visibility Index | Proportion of water body pixel area in Street View imagery within the community units | % | [65,66] | |
| Subjective Perception | Lively Perception | Perception of environmental vibrancy | - | [16,20,54] |
| Wealthy Perception | Perception of environmental affluence | - | [16,20,54] | |
| Beautiful Perception | Perception of environmental aesthetics | - | [15,16,54] | |
| Safety Perception | Perception of environmental safety | - | [15,20,54] | |
| Boring Perception | Perception of environmental boredom | - | [15,54,64] | |
| Depressing Perception | Perception of environmental depression | - | [15,54,64] |
| Model | Metric | Train Mean | Train Std. | Test Mean | Test Std. | Train Mean ± Std. | Test Mean ± Std. |
|---|---|---|---|---|---|---|---|
| XGBoost | R2 | 0.7750 | 0.0253 | 0.5967 | 0.1553 | 0.7750 ± 0.0253 | 0.5967 ± 0.1553 |
| RMSE | 0.0386 | 0.0036 | 0.0511 | 0.0180 | 0.0386 ± 0.0036 | 0.0511 ± 0.0180 | |
| MAE | 0.0241 | 0.0018 | 0.0308 | 0.0064 | 0.0241 ± 0.0018 | 0.0308 ± 0.0064 | |
| LightGBM | R2 | 0.7592 | 0.0260 | 0.5908 | 0.1491 | 0.7592 ± 0.0260 | 0.5908 ± 0.1491 |
| RMSE | 0.0399 | 0.0036 | 0.0513 | 0.0164 | 0.0399 ± 0.0036 | 0.0513 ± 0.0164 | |
| MAE | 0.0205 | 0.0018 | 0.0304 | 0.0063 | 0.0205 ± 0.0018 | 0.0304 ± 0.0063 | |
| SVR | R2 | 0.7504 | 0.0284 | 0.5943 | 0.1784 | 0.7504 ± 0.0284 | 0.5943 ± 0.1784 |
| RMSE | 0.0407 | 0.0040 | 0.0511 | 0.0191 | 0.0407 ± 0.0040 | 0.0511 ± 0.0191 | |
| MAE | 0.0161 | 0.0014 | 0.0288 | 0.0085 | 0.0161 ± 0.0014 | 0.0288 ± 0.0085 | |
| ExtraTrees | R2 | 0.7598 | 0.0266 | 0.5620 | 0.1452 | 0.7598 ± 0.0266 | 0.5620 ± 0.1452 |
| RMSE | 0.0398 | 0.0032 | 0.0532 | 0.0167 | 0.0398 ± 0.0032 | 0.0532 ± 0.0167 | |
| MAE | 0.0237 | 0.0018 | 0.0312 | 0.0060 | 0.0237 ± 0.0018 | 0.0312 ± 0.0060 | |
| GBDT | R2 | 0.6593 | 0.0226 | 0.5444 | 0.1192 | 0.6593 ± 0.0226 | 0.5444 ± 0.1192 |
| RMSE | 0.0475 | 0.0033 | 0.0544 | 0.0157 | 0.0475 ± 0.0033 | 0.0544 ± 0.0157 | |
| MAE | 0.0304 | 0.0013 | 0.0356 | 0.0054 | 0.0304 ± 0.0013 | 0.0356 ± 0.0054 | |
| RandomForest | R2 | 0.7700 | 0.0251 | 0.5690 | 0.1311 | 0.7700 ± 0.0251 | 0.5690 ± 0.1311 |
| RMSE | 0.0390 | 0.0033 | 0.0530 | 0.0164 | 0.0390 ± 0.0033 | 0.0529 ± 0.0164 | |
| MAE | 0.0228 | 0.0018 | 0.0313 | 0.0060 | 0.0228 ± 0.0018 | 0.0313 ± 0.0060 |
| Variable | Mean (|SHAP|) | Relative Importance % | Rank |
|---|---|---|---|
| Building Density | 0.01010 | 12.51 | 1 |
| Functional Aggregation Degree | 0.00698 | 8.64 | 2 |
| Intersection Density | 0.00557 | 6.90 | 3 |
| Transit Station Density | 0.00538 | 6.67 | 4 |
| Housing Price Level | 0.00520 | 6.44 | 5 |
| PM2.5 Density | 0.00472 | 5.84 | 6 |
| Lively Perception | 0.00445 | 5.51 | 7 |
| Population Density | 0.00406 | 5.02 | 8 |
| Walking Convenience | 0.00385 | 4.77 | 9 |
| Functional Diversity | 0.00376 | 4.65 | 10 |
| Wealthy Perception | 0.00357 | 4.43 | 11 |
| Spatial Enclosure Sense | 0.00346 | 4.28 | 12 |
| Depressing Perception | 0.00282 | 3.49 | 13 |
| Green Visibility Index | 0.00237 | 2.94 | 14 |
| Interface Richness Index | 0.00234 | 2.90 | 15 |
| Motorization Level | 0.00206 | 2.54 | 16 |
| Environment Openness Index | 0.00200 | 2.48 | 17 |
| Boring Perception | 0.00189 | 2.34 | 18 |
| Blue Visibility Index | 0.00158 | 1.95 | 19 |
| Safety Perception | 0.00157 | 1.94 | 20 |
| Beautiful Perception | 0.00151 | 1.88 | 21 |
| Road Network Density | 0.00151 | 1.87 | 22 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wu, H.; Zhu, L.; Chen, Q.; Deng, H. An Explainable Machine Learning Framework Based on XGBoost-SHAP and Multi-Source Geospatial Data: Systematic Analysis of Urban Vitality and Influencing Factors in Changsha. Systems 2026, 14, 842. https://doi.org/10.3390/systems14070842
Wu H, Zhu L, Chen Q, Deng H. An Explainable Machine Learning Framework Based on XGBoost-SHAP and Multi-Source Geospatial Data: Systematic Analysis of Urban Vitality and Influencing Factors in Changsha. Systems. 2026; 14(7):842. https://doi.org/10.3390/systems14070842
Chicago/Turabian StyleWu, Huichao, Li Zhu, Quhan Chen, and Haoyu Deng. 2026. "An Explainable Machine Learning Framework Based on XGBoost-SHAP and Multi-Source Geospatial Data: Systematic Analysis of Urban Vitality and Influencing Factors in Changsha" Systems 14, no. 7: 842. https://doi.org/10.3390/systems14070842
APA StyleWu, H., Zhu, L., Chen, Q., & Deng, H. (2026). An Explainable Machine Learning Framework Based on XGBoost-SHAP and Multi-Source Geospatial Data: Systematic Analysis of Urban Vitality and Influencing Factors in Changsha. Systems, 14(7), 842. https://doi.org/10.3390/systems14070842

