Skip to Content
LandLand
  • Article
  • Open Access

29 November 2025

32 Pages

A Machine Learning Approach to Relate Green Space Landscape Metrics to Net Primary Production Across Shanghai’s Built Environment

,
,
,
and
1
College of Landscape Architecture and Art, Fujian Agriculture and Forestry University, Fuzhou 350002, China
2
College of Architecture, Tianjing University, Tianjin 300072, China
*
Authors to whom correspondence should be addressed.

Abstract

Achieving carbon neutrality has become one of the core objectives in contemporary urban development and sustainable growth, underscoring the importance of clarifying the relationship between urban green space landscape metrics and plant carbon sequestration. While existing research confirms the significant role of the structure and pattern of green spaces in carbon sequestration, systematic understanding of their relationship at the local scale within diverse built environments remains limited. To address this, this study objectively categorises five types of built environments using K-means clustering and conducts in-depth analysis on four representative areas. Employing the CatBoost machine learning model and the Shapley Additive Propensity (SHAP) method, we highlighted the influence of green space pattern characteristics on net prmary productivity (NPP) across different built environments. The findings are as follows: (1) Green Coverage Ratio (GCR) exhibits the highest contribution among all explanatory variables across different built environments. In low-intensity built environments, it contributes 74% to the overall explanation, showing a stable association between higher green space proportion and higher carbon sink levels. (2) In high-intensity built environments, limited green spaces exhibit a pronounced “spatial compensation effect” through morphological optimisation and enhanced spatial connectivity. In medium-intensity built environments, they demonstrate a “moderate positive effect,” with peak carbon sequestration efficiency occurring when GCR ranges from 0.25 to 0.75, aggregation index (AI) from 94 to 98, and splitting index (SI) from 1.2 to 1.4. (3) Significant interactions exist among green space landscape metrics, with moderately connected and moderately complex spatial structures enhancing carbon sink efficiency. This study reveals the differentiated impact by which green space landscape metrics influence carbon sink effects under varying urban built environments, providing scientific basis for optimising urban green space systems and low-carbon spatial planning.

1. Introduction

With the continuous construction of cities and economic development worldwide, carbon dioxide emissions have accelerated [1]. Carbon emissions are widely recognised as the primary driver of global warming and represent one of the most threatening global environmental issues today [2]. International parties have successively signed the Paris Climate Agreement, aiming to reduce greenhouse gas emissions. To achieve this goal, China has designated “carbon peaking” and “carbon neutrality” as key strategic objectives in its ecological civilization development, with tangible progress already made [3]. Urban areas, characterised by high population density, large-scale construction, and industrial production, have emerged as major sources of carbon emissions [4] and are focal points for research on carbon sinks and emissions [5]. Consequently, establishing efficient carbon sink systems within rapidly developing urban contexts to achieve dual carbon goals has become a critical issue for both academia and planning practice.
Carbon sinks typically refer to natural processes or human activities that absorb and sequester atmospheric carbon dioxide, thereby reducing greenhouse gas concentrations in the atmosphere and playing a vital role in the global carbon cycle [6,7]. Within urban systems, urban green spaces (UGS) constitute the primary carbon sinks [8,9]. Through evapotranspiration cooling and the shading effect, UGS absorb heat from the surrounding air as they convert water into vapour using solar energy. simultaneously, vegetation’s shading effect blocks direct solar radiation, thereby lowering local temperatures [10]. They thus play a vital role in achieving carbon neutrality and carbon peak targets [11,12]. They hold significant value in building healthy and liveable urban environments and are a crucial element in constructing sustainable, healthy and resilient cities [13,14]. Current research on urban green space carbon sinks primarily focuses on quantifying carbon sequestration capacity [15,16,17,18], including the carbon sequestration potential of individual plant species or combinations [19,20,21]. Notably, many people characterise plant carbon sequestration capacity using net primary productivity (NPP) [22], with the CASA model frequently employed in academia to simulate and estimate NPP data [23]. Additionally, some researchers have examined the impacts of environmental and anthropogenic factors on green space carbon sequestration [24,25,26], as well as the influence of plant characteristics on carbon sequestration [27,28]. Yet, the carbon sequestration capacity of UGS is not determined solely by area but is closely related to their spatial patterns [29]. Existing research indicates that spatial characteristics such as the shape, connectivity, and distribution patterns of green spaces all influence carbon sequestration efficiency [30,31,32,33].
Against the backdrop of rapid urbanisation, academic research on spatial heterogeneity within cities has focused more on physical structural heterogeneity than on immaterial heterogeneity [34,35,36,37,38]. For instance, Altieri et al. have mapped the spatial heterogeneity of urban expansion [39], while Chen et al. and Rahman et al. employed diverse technical methods to describe spatial variations in urban physical form [40,41]. Among these, spatial heterogeneity in the built environment has consistently drawn significant attention [42,43,44]. Specifically, this spatial heterogeneity manifests as significant variations in building density, road density, population density, and functional structure across different urban zones such as urban districts, urban villages, and suburbs [45,46,47]. Most people have focused on research examining the relationship between spatial heterogeneity in the built environment and travel behaviour [48,49], alongside analyses of natural ecological environments [50,51]. Particularly, considerable research exists on the built environment’s impact on heat island effects and carbon emissions [52,53,54]. However, studies examining carbon sink variations across different built environments remain scarce. The spatial distribution characteristics of urban buildings and road infrastructure are closely linked to carbon emission levels, resulting in marked differences in carbon sink requirements and ecological regulation functions across distinct spatial zones [55]. Land-use conversion and built environment expansion are also altering carbon flux processes, thereby affecting ecosystems’ carbon sequestration capacity [56]. In summary, investigating variations in carbon sink efficiency across UGS landscape metrics within spatially heterogeneous built environments holds considerable academic and practical value. This provides scientific evidence and decision support for low-carbon urban planning.
In recent years, machine learning methodologies have demonstrated formidable capabilities in data processing and pattern recognition within quantitative research on urban green spaces [57,58]. This confers significant advantages in uncovering complex systemic relationships between UGS landscape metrics and carbon sequestration [59]. Machine learning models such as Random Forest, eXtreme Gradient Boosting, and Light Gradient Boosting Machine have demonstrated reliable applicability [60,61]. However, while excelling in predictive accuracy, machine learning models often yield outputs that are difficult to interpret due to their complex structures, lacking transparent explanations for results [62]. Consequently, research into explainable machine learning has gained prominence in recent years. Among numerous interpretability techniques, the SHAP (SHapley Additive exPlanations) method is widely adopted for its robustness and consistency grounded in game theory [63,64,65]. SHAP models offer both global and local explanations, enhancing transparency and reliability while revealing intricate variable interactions [66]. This provides refined guidance for rational urban planning [67].
In summary, although extensive research has acknowledged that the carbon sequestration capacity of UGS is influenced by multiple factors, including their own spatial pattern characteristics, the relationship and variation patterns by which green space landscape metrics affect carbon sequestration may differ significantly across diverse built environments. Therefore, the research question addressed by this study is whether and to which extent the pattern of UGS exert differing effects on plant carbon sequestration across distinct built environments? The primary contributions of this work are (1) the application of an explainable machine learning framework to model the non-linear relationships of UGS landscape metrics on carbon sequestration (NPP); (2) a comparative analysis of how these influence patterns are context-dependent, shifting across a gradient of built environments; and (3) the derivation of data-informed, differentiated strategies for urban green space planning to enhance carbon sinks.

2. Materials and Methods

The data analysis workflow of this study is illustrated in Figure 1. First, this study constructed a built environment indicator system based on the literature. The contour coefficient and elbow rule were employed to determine the optimal K value for K-means clustering. Second, the K-means clustering model was run to derive five distinct built environment categories. Third, NPP data were calculated using the CASA model, while landscape pattern indices were computed via the Landscapemetrics model package. Redundant or weakly correlated indicators were filtered out through VIF and p-value tests before GIS aggregation into 73,823 grid cells. Following this, multiple machine learning models were compared based on R2 values, with the optimal model selected for subsequent fine-tuning to achieve maximum efficacy. Finally, the trained machine learning model analysed the importance of various UGS landscape metrics for NPP and their optimal thresholds across different built environments. This identified the optimal carbon sink efficiency thresholds for UGS landscape metrics under varying built conditions.
Figure 1. Data analysis workflow.

2.1. Study Area

This study selected Shanghai (Figure 2) as its research area. Located on China’s eastern coast at the Yangtze River estuary (30°40′–31°53′ N, 120°52′–122°12′ E), Shanghai covers a total area of approximately 6340.5 km2. As of 2023, its permanent resident population stood at around 24.8745 million. It lies within a subtropical monsoon climate zone, characterised by distinct seasons and a mild, humid climate. The 2023 average temperature was approximately 18.5 °C, with an annual average sunshine duration of approximately 1489.7 h and annual precipitation of about 1414.2 millimetres. Precipitation occurs on average 126 days per year. These favourable climatic conditions provide an advantageous foundation for urban vegetation growth. Furthermore, the city’s pronounced built environment gradient distribution characteristics offer ideal sample conditions for studying the relationship by which UGS morphology relates carbon sink efficiency under varying built environments.
Figure 2. Study area. Shanghai’s geographical location is described within a global context, situated at the Yangtze River estuary in China.

2.2. Data Sources

This study utilised aggregated building outline vector data, land use data, road data, population data, bus stop data, and POI data to analyse the spatial heterogeneity of the built environment. Net primary productivity was calculated using NDVI data, annual average precipitation data, solar radiation data, and annual average temperature data. The green space pattern index was computed using land use data. Building vector data were obtained from Figshare (https://figshare.com/articles/dataset/CMAB-The_World_s_First_National-Scale_Multi-Attribute_Building_Dataset/27992417 accessed on 8 October 2025), comprising a building vector dataset developed by Zhang et al. using 0.3–1 m resolution Google Earth imagery and Street View images, and POI data. Machine learning and large multimodal models generated attributes for each building, including roof, height, structure, function, style, age, and quality, achieving accuracy surpassing international counterparts [68]. Land use data from the Zenodo website, comprising 2021 China’s 1 m land use dataset provided by Li et al. [69], with a resolution. Road data originates from OpenStreetMap (https://www.openstreetmap.org/ accessed on 8 October 2025). Population distribution data utilises 2023 1 km global population distribution data provided by the Oak Ridge National Laboratory, accessed via the LandScan website. Both bus stop data and POI data are sourced from AutoNavi Map’s 2023 dataset., one of China’s largest mapping platforms encompassing diverse transport datasets (https://ditu.amap.com/ accessed on 8 October 2025). The 250-metre resolution NDVI, 1-kilometre annual precipitation data, and 1-kilometre annual temperature data were all obtained from the National Qinghai–Tibet Plateau Science Data Centre (http://data.tpdc.ac.cn accessed on 8 October 2025) for the year 2023. The 1-kilometre total solar radiation data was obtained from the Earth Resources Data Cloud (www.gis5g.com accessed on 8 October 2025) for the year 2023; Green space pattern data was calculated using the landscapemetrics package in R 4.5.0, based on the land use data [70].

2.3. Data Calculation and Indicator System Construction

2.3.1. Carbon Sink Indicators

Net primary productivity (NPP) denotes the total organic carbon fixed by green plants through photosynthesis per unit time and area, minus the carbon consumed by plant respiration. It serves as a crucial indicator for assessing plant carbon sequestration capacity [71]. NPP directly reflects vegetation growth status and ecosystem carbon sequestration potential, and it is widely employed in studies of carbon stocks and sequestration capacity in urban green spaces, woodlands, and other ecosystems [72]. This study utilises the Carnegie–Ames–Stanford Approach (CASA) model to estimate NPP for Shanghai [73]. We employed Python 3.12.7 within Jupyter Notebook 4.2.5 to execute CASA code for processing NPP data. The CASA model represents a typical photosynthetic efficiency model, estimating carbon sink levels by evaluating both the amount of photosynthetically active radiation absorbed by vegetation and the efficiency with which this energy is utilised for carbon fixation. The model comprehensively accounts for influencing factors during vegetation growth, such as light conditions, temperature stress, and water stress. Consequently, it effectively captures the dynamic constraints imposed by climate and vegetation growth conditions on carbon sink capacity. Key inputs required by the model include vegetation photosynthetic energy absorption information derived from NDVI inversion, total solar radiation data, and meteorological data such as annual mean temperature and annual mean precipitation. At a uniform spatial resolution of 300 m × 300 m, this study established a pixel-by-pixel CASA modelling workflow to derive NPP estimates for Shanghai in 2023. The CASA-derived NPP is expressed in gC/m2/yr, reflecting the carbon sequestration intensity of diverse UGS and built environment types. This provides foundational data for subsequent investigations into the relationship between UGS spatial patterns and carbon sink responses. The reason for selecting the 2023 NPP data for estimation is that this year offers the most recent and spatially consistent completeness in both climate data and vegetation index data. This ensures temporal comparability among multi-source data, thereby reducing errors in carbon sink estimation caused by temporal discrepancies.

2.3.2. Landscape Metrics

We selected 1-metre urban land use data for UGS pattern calculations, featuring a spatial resolution of 1 m × 1 m. This high-precision dataset enables accurate quantification of green space pattern characteristics. Owing to the substantial data volume resulting from this high precision, traditional Fragstats software proved impractical for green space pattern calculations [74]. Consequently, we employed the Landscapemetrics package within the R language 4.5.0, running computations on the Jupyter platform to derive green space pattern indices. Calculations encompassed the green coverage ratio (GCR), largest patch index (LPI), number of patches (NP), landscape shape index (LSI), splitting index (SI), edge density (ED), aggregation index (AI), Shannon’s diversity index (SHDI), and Shannon’s evenness index (SHEI). Prior to modelling, we conducted collinearity checks using variance inflation factor (VIF) to exclude highly redundant or non-significant metrics for carbon sequestration response. Ultimately, GCR, LPI, SI, and AI were selected as core variables for subsequent modelling analysis. Table 1 outlines the specific meanings of these four Landscape metrics and their theoretical connection with NPP.
Table 1. Descriptions of selected landscape metrics for the UGS of Shanghai.

2.3.3. Development of Indicator System for Built Environment Classification

The urban built environment denotes an artificial spatial system composed of buildings, roads, infrastructure, and public spaces, reflecting the integrated characteristics of human activities, spatial development intensity, and functional organisation within geographical space [79]. It not only determines a city’s spatial form and structural patterns but also profoundly influences ecological processes and carbon sink effects [80]. Building upon prior research on built environment indicator systems [81,82], we defined a framework encompassing four dimensions: spatial structure, transport accessibility, socio-economic activity, and functional complexity. Eight indicators were selected—building density, average building height, road density, population density, POI density, number of land use types, and public transport stop density—to comprehensively characterise urban built environment features (Table 2). These indicators reflect the comprehensive characteristics of urban space through physical spatial form, transport infrastructure layout, intensity of social activity, and spatial functional diversity, providing foundational data support for subsequent clustering and carbon sink efficiency analysis.
Table 2. Indicator system for built environment classification. These data were consolidated into 300 m × 300 m grid cells, each covering an area of 90,000 m2.
A 300 m × 300 m grid was established as the spatial statistical unit for this study, serving to aggregate all variable data, adopting the coordinate system: WGS 1984 UTM Zone 51N. It should be noted that spatial statistical units at different scales may be interpreted differently; in relevant research papers, grid resolutions typically range from 100 m to 500 m [83,84]. However, no definitive standard exists for the optimal grid scale when analysing UGS morphology within urban spatial patterns. Based on existing research [85], the precision of various datasets, the scale of the study area, and the authors’ prior research findings, this study employs a 300 m resolution grid scale. This scale ensures a degree of block integrity while avoiding excessive spatial heterogeneity. Employing ArcGIS 10.8.1’s grid tool, Shanghai was ultimately partitioned into 81,619 grid cells. However, certain spatial cells contain missing data in the original dataset, appearing as NA cells without numerical values. Retaining these regions may compromise the accuracy of model calculations. To maintain scientific rigour and minimise unnecessary error, spatial units with NA values were excluded (Figure 3), yielding a final dataset of 73,823 records. Table 3 presents descriptive statistics for all variable data. We further conducted a Pearson heatmap analysis on the selected independent variables (Figure 4). The results indicate that all data values fall within the range of −0.17 to 0.43, with no evident signs of data redundancy.
Figure 3. Spatial distribution of NPP data and regional locations of NA values.
Table 3. Descriptive statistics for data, detailing the maximum, minimum, and mean values of each dataset used in the paper. The figures are rounded to three decimal places.
Figure 4. Heatmap illustrating the Pearson correlations among the study variables. Each grid cell corresponds to the correlation coefficient between two variables, with values reflecting the degree of linear association. Colour intensity aids in distinguishing the direction and strength of correlations: shades tending towards red indicate stronger positive correlations, shades tending towards blue denote more pronounced negative correlations, while neutral hues represent weaker associations.

2.4. Research Methodology

2.4.1. Identification of Metrics and Indicators Influencing NPP

Prior to model construction, systematic data validation was conducted on all variables to ensure the independence of input variables and the statistical reliability of results. First, the variance inflation factor (VIF) was employed to detect multicollinearity among independent variables. Second, a significance test (p-value Test) was conducted to analyse the statistical impact of each variable on net primary productivity (NPP). This test enables preliminary identification of UGS landscape metrics and built environment indicators that are relevant to carbon sink efficiency., providing feature importance references for subsequent machine learning models. Finally, to analyse NPP’s spatial distribution patterns and clustering characteristics, GIS was employed to compute Moran’s I index for spatial autocorrelation testing.

2.4.2. K-Means Clustering

K-means clustering is a widely employed unsupervised learning algorithm [86]. Its core principle involves partitioning data into K clusters by maximising intra-cluster similarity while minimising inter-cluster dissimilarity. The algorithm achieves automatic grouping by minimising the sum of squared errors (SSE)—the sum of squared distances between each sample and its assigned cluster centre. As K-means requires the prior specification of the number of clusters, determining an appropriate K value is crucial in cluster analysis. Therefore, this study employs both the elbow method and silhouette score for comprehensive assessment [87].

2.4.3. Machine Learning Methods

Machine learning is a data-driven modelling approach capable of autonomously discerning intricate relationships among variables through algorithms, without requiring explicit assumptions regarding functional forms. It operates independently of linear assumptions and effectively handles complex, high-dimensional data exhibiting multicollinearity, offering a range of significant advantages within ecological and urban research domains [88]. In this study, the primary purpose of introducing machine learning methods is to explore potential non-linear relationships between UGS Landscape metrics and carbon sequestration capacity (NPP). Through ensemble learning algorithms, the risk of model overfitting can be effectively mitigated while quantifying the relative importance of each feature to NPP, thereby laying the groundwork for subsequent relationship analysis. However, the predictive accuracy of different models varies considerably across distinct data samples. To select the optimal model, this study compares seven commonly used machine learning algorithms in academia—CatBoost, random forest (RF), lightweight gradient boosting machine (LightGBM), extreme gradient boosting (XGBoost), gradient boosting machine (GBM), decision tree (DT), and support vector regression (SVR)—and chose the model with the highest R2 value for subsequent analysis.
This study employs Optuna for hyperparameter tuning to enhance the performance and stability of machine learning models [89]. Utilising Bayesian methods, Optuna achieves automated hyperparameter optimisation through its Tree-structured Parson Estimator (TPE) algorithm. This algorithm dynamically adjusts search strategies based on historical outcomes, enabling more efficient identification of superior parameters and avoidance of local optima compared to traditional approaches. This establishes a robust foundation for subsequent analyses.

2.4.4. SHAP Model

The SHAP (SHapley Additive exPlanations) model is a game-theoretic approach to machine learning interpretability analysis [90], quantifying each feature variable’s contribution to model predictions. In this study, the SHAP model was employed to elucidate the influence of various green space metrics on carbon sequestration capacity (NPP) estimated with machine learning models. This approach further reveals the statistical associations between UGS Landscape metrics and plant carbon sequestration (NPP) under differing built environment characteristics. It should be noted that the analysis constitutes a predictive and explanatory investigation rather than a strictly causal identification design. Consequently, it primarily reflects statistical correlations between variables rather than causal effects confirmed through identified strategies.

3. Results

3.1. K-Means Clustering Results and NPP Calculation Outcomes

3.1.1. K-Means Clustering Results

As illustrated in the left panel of Figure 5, the elbow method plots the number of clusters K on the horizontal axis and SSE on the vertical axis. As the number of clusters increases, SSE gradually decreases. Once K reaches a certain threshold, the decline in SSE slows, forming an ‘elbow’ shape where the inflexion point typically indicates the optimal number of clusters. The figure reveals that when K = 5 or K = 6, the reduction in SSE markedly diminishes, suggesting limited further improvement in clustering quality by increasing the number of clusters. Moreover, the right panel of Figure 4 illustrates the variation in the average contour coefficient across different K values. The contour coefficient comprehensively evaluates both intra-cluster compactness and inter-cluster separation, with values ranging from −1 to 1. Higher values indicate superior clustering performance. The figure reveals higher contour coefficients for K = 2, K = 5, and K = 8, with K = 5 and K = 8 achieving scores of approximately 0.465—a favourable performance only marginally below K = 2’s score of 0.495. Integrating the results from the elbow rule and the contour coefficient, whilst considering both model compactness and separation, it was chosen to adopt K = 5 as the optimal number of clusters for K-means clustering. This was then employed for subsequent feature analysis and result visualisation
Figure 5. Elbow method and contour coefficient calculation results for the K-means model.
Applying K-means analysis to the built environment indicator system yielded five distinct built environment categories (Table 4). The results demonstrate significant spatial structural and functional heterogeneity within Shanghai’s built environment, effectively characterising its gradient features (Figure 6).
Table 4. Cluster categories and their characteristics.
Figure 6. K-means Cluster Classification Results.
Based on the K-means clustering results, we statistically characterised the primary indicators for each cluster to quantify intra-cluster characteristics and their variability (Table 5), and a mean Building Density (BD) of 1856.433 with a standard deviation of 0.069. This indicates areas within this cluster feature dense construction, high levels of urban activity, moderate road network density, and diverse land use patterns. The MIBE (medium-intensity built environment) cluster exhibited an average POI of 23.531 (SD 32.11) and an average PD of 445.849 persons/km2 (SD 286.213 persons/km2), indicating moderate overall building and activity density with relatively balanced functional types. The LIBE (low-intensity built environment) cluster had an average POI of 17.850 (with a standard deviation of 28.582. The average PD was 3316.44 persons/km2, with a standard deviation of 273.633 persons/km2. This cluster featured sparse buildings, low road network density, and considerable spatial openness. The SEBE (suburban ecological built environment) cluster had an average POI of 4.036 with a standard deviation of 11.366, and an average PD of 106.298 persons/km2, with a standard deviation of 118.118 persons/km2. This cluster predominantly featured ecological green spaces with low building and road densities. In contrast, the AWEZ (aquatic/wetland zone) cluster contained extremely few samples (POI mean 1.711, standard deviation 11.2967), with virtually no buildings, roads, or points, contributing little to the urban built environment pattern.
Table 5. Statistical characteristics of data for each cluster category.
Given the AWEZ cluster’s minuscule sample size and extreme characteristics, to ensure analytical robustness and interpretability of clustering, we excluded this cluster from subsequent modelling and policy analysis. Our focus shifted to the four practical built environment types: HIBE, MIBE, LIBE, and SEBE. The aforementioned statistical findings not only reveal the typical characteristics of each cluster but also reflect the variability of indicators within clusters, providing a reference for subsequent SHAP analysis and policy interpretation.

3.1.2. NPP Calculation Results

The spatial distribution of NPP simulated by the CASA model for Shanghai exhibits significant heterogeneity (Figure 7). The Chongming Island region, characterised by a high proportion of ecological land use and relatively intact green landscapes, demonstrates overall NPP values within the high range of 330.232877 to 471.180888 gC/m2/yr; In contrast, the Shanghai mainland area, affected by the fragmentation of the built environment, exhibits pronounced spatial differentiation in NPP due to variations in green space landscape metrics. Regions with relatively concentrated green resources in the south and west predominantly show NPP values within the range 292.233576–330.232875 gC/m2/yr and above. whereas in the central and eastern areas with dense built-up zones and fragmented green spaces, NPP values predominantly fall below 91.234964. This clearly demonstrates how green space landscape metrics within different built environments spatially shape net primary productivity.
Figure 7. NPP calculation results. This map represents the 2023 NPP estimates calculated by CASA, assigned to 300-m grid cells in the form of average values.

3.2. Indicators, Metrics Relevance and Machine Learning Model Comparison

3.2.1. Selection of Multivariate Correlation Predictors

Following multivariate multicollinearity and significance tests on the selected green space pattern indicators (Table 6), the variance inflation factor (VIF) for all variables was found to be below 10. This indicates no severe multicollinearity issues within the model, with linear correlations between variables remaining within acceptable limits. Specifically, VIF values across different regions generally ranged between 1.02 and 7.34, indicating good independence among indicators. Notably, the shape index (SI) exhibited VIF values close to 1 across all regions, signifying its lowest correlation with other variables. whilst the largest patch index (LPI) and green coverage ratio (GCR) exhibited slightly higher VIF values in certain regions (e.g., HIBE and MIBE), these remained below the critical threshold of 10, falling within acceptable limits. This suggests that these two Landscape matrices exhibit certain synergistic variation characteristics across different spatial units. Significance tests revealed that all variables exhibit p-values substantially below 0.01 across the four regions, indicating statistically significant correlations between each landscape pattern indicator and net primary productivity (NPP). This implies that the four selected green space pattern metrics (SI, LPI, AI, GCR) effectively explain spatial variations in carbon sequestration capacity across different built environments, serving as crucial input variables for subsequent machine learning modelling. Overall, the variables’ independence and significance meet modelling requirements, providing a reliable data foundation for further exploring the non-linear relationship between green space landscape metrics and carbon sequestration efficiency.
Table 6. VIF values and p-values for indicators across different regions, with figures rounded to three decimal places.
Furthermore, we employed Moran’s index to analyse the spatial autocorrelation properties of NPP values. The results returned a Moran’s I index of 0.87, greater than 0, confirming the presence of positive spatial autocorrelation. This demonstrates a tendency towards a spatial distribution rather than random distribution. The p-value of 0.000 falls below the conventional significance level of 0.01, indicating that this spatial clustering pattern is not randomly generated and possesses high statistical significance. This confirms that the calculated NPP holds analytical significance from a statistical perspective.

3.2.2. Model Comparison

To evaluate the performance of different machine learning models in modelling green space landscape metrics and carbon sink efficiency, we trained machine learning seven predictive models to assess their capabilities across the five distinct built environment categories. Results (Table 7) show that across the entire sample, the CatBoost model achieved the highest R2 value (0.527), marginally outperforming Random Forest (0.527) and LightGBM (0.525). This suggests that CatBoost provides a comparatively more stable performance in capturing multidimensional non-linear relationships among variables, while overall model accuracy remains at a moderate but acceptable level. Analysis of partitioning results across different built environments reveals significant spatial variation in model accuracy. However, CatBoost consistently performed best across all regions, achieving its highest values in SEBE (0.358) and LIBE (0.489). In other regions, fitting performance was relatively low across all models. This may stem from variations in sample size and reduced spatial variability within these areas, where data fluctuations were minimal. The baseline models struggled to capture these subtle features effectively, necessitating further refinement. Overall, the CatBoost model demonstrated the most stable results compared to other models, both across the entire dataset and within each sub-region. Given its relatively consistent performance, we ultimately selected CatBoost for subsequent analysis.
Table 7. Presents a comparison of the seven models, detailing their R2 scores and RMSE across each region. Decimal places are rounded to three digits.

3.2.3. Model Tuning

Prior to selecting the Catboost model for data analysis, we conducted systematic parameter tuning to further enhance predictive accuracy and generalisation capability. During this process, we configured the model to exclude outliers from both the training and validation sets, while leveraging Catboost’s built-in regularisation and early stopping mechanisms to prevent overfitting. Using the Optuna parameter tuning function, we determined the optimal parameter combinations. These included key parameters such as iterations, maximum tree depth, learning rate, L2 regularisation coefficient (l2_leaf_reg), random_strength, bagging_temperature, and border_count. The optimised model demonstrated significant improvements in both R2 and RMSE, achieving a maximum R2 of 0.766 and a minimum RMSE of 22.845 (Table 8). This indicates the model possesses high fitting capability across diverse built environment types. Furthermore, the similarity between training and validation set results suggests the model exhibits no significant overfitting. Further analysis of performance across built environment types reveals optimal fitting in LIBE areas, with training and validation R2 values of 0.766 and 0.713, respectively, the training set and validation set RMSE values are 26.460 and 28.636, respectively. Models in MIBE areas exhibit relatively lower fitting accuracy yet retain predictive capability (Training-R2 = 0.339, Validation-R2 = 0.302). Overall, the tuned CatBoost model demonstrated high stability and predictive accuracy across the entire dataset and various built environment types, providing a reliable foundation for subsequent SHAP interpretability analysis.
Table 8. R2 scores of the tuned CatBoost model across regions, alongside optimal parameters from the tuning process report. The training and validation sets have a sample ratio of 8:2. All data is rounded to three decimal places for enhanced readability, including the best parameters, but all parameters are used during model execution calculations.

3.3. Non-Linear Relationships and Interpretation

3.3.1. Relative Importance of Green Space Landscape Metrics Across Different Built Environments

We trained a set of predictive models based on the optimal parameters identified by the CatBoost model, implementing SHAP analysis to assess the global and local importance of each variable. Figure 8 and Figure 9, respectively, present the SHAP analysis results for each built environment category. Figure 8 displays global feature importance, calculated as the average absolute SHAP value across all samples to assess each feature’s overall contribution to model predictions. Figure 9 presents local feature importance, plotting the Shapley value for each feature across individual samples to reveal the specific influence and directional effect of features within different samples. In Figure 8 and Figure 9, the Y-axis denotes features, the X-axis represents SHAP values, with positive values indicating enhancement of prediction outcomes and negative values indicating suppression. Each point corresponds to a sample’s SHAP value, with colours mapped from original feature values—red signifying high values and blue indicating low values.
Figure 8. Global importance of green space landscape metrics across built environment categories.
Figure 9. Local importance of green space landscape metrics across built environment categories.
The results indicate that among the four built environment categories, Grenn Coverage Ratio (GCR) consistently exhibits the highest importance, suggesting that areas with higher proportions of green space are statistically associated with higher levels of carbon sink efficiency across spatial contexts. Local SHAP plots reveal a positive correlation between GCR and SHAP values, where larger green-space proportions correspond to higher predicted carbon sink efficiency within the model. In contrast, the shape index (SI) generally presents lower importance, implying that landscape fragmentation shows relatively weak statistical association with carbon sequestration patterns. Furthermore, the localised patch index (LPI) displays the lowest contribution to feature importance in high-intensity built environments, reflecting weaker statistical association in densely developed urban areas compared with peripheral zones. Local SHAP analysis (Figure 9) further revealed that AI, LPI, and SI exhibit non-linear relationships with SHAP values, unlike the monotonic trend observed for GCR. This suggests that these landscape metrics may exhibit threshold-like or interaction-related patterns in their statistical associations with carbon sequestration, indicating that their effects should be interpreted with consideration of spatial context and green-space morphology.

3.3.2. Marginal Effects of Green Space Pattern Metrics Across Different Built Environments

We employed a CatBoost model to further analyse the marginal effects of each variable, examining how different green space pattern metrics are statistically associated with variations in NPP under different built environments. Figure 10 illustrates how the variations in estimated NPP values are associated with variations in the considered UGS landscape metrics. Results indicate that most metrics exhibit non-linear relationships with the target variable, featuring inflexion points at which the direction of the association changes. To quantify the uncertainty in model estimates, we incorporate confidence intervals (95% CI). The shaded red regions in Figure 10 denote the model’s estimated range for a given independent-dependent variable relationship, with the interval width reflecting the model’s uncertainty regarding the response relationship under varying sample draws. A narrower confidence interval within a segment indicates higher model stability in that range; Conversely, a wider confidence interval indicates that the estimates for that segment are sensitive to sample fluctuations and exhibit greater uncertainty. Overall, the consistency of the main trend line near the threshold suggests that its position possesses a degree of statistical robustness. However, in the intervals on either side, the sparse distribution of samples results in relatively wider confidence intervals, revealing higher estimation uncertainty for the model at extreme values.
Figure 10. Scatter plots of landscape metrics across different regions. Each blue scatter plots represents a sample’s SHAP value for a given feature. The grey dashed line denotes Y = 0, the orange curve represents the fitted line, and the red vertical lines mark the intersection points between Y = 0 and the fitted curve. The annotated red values indicate the intersection values, serving as the threshold for positive or negative influence on transformation.
Within the suburban ecological built environment category, the AI feature exhibits the opposite behaviour to other categories, with a threshold point of 97.47. Values below 97.47 indicate a tendency to be associated with lower NPP estimates, while values above 97.47 show a pattern linked to higher NPP levels. Conversely, GCR demonstrates a strong positive association with NPP when above 0.64, suggesting that greater green-space coverage corresponds to higher estimated NPP in this type of environment. The SI indicator exhibits positive effects below 1.27. The LPI presents a unique phenomenon: values below 53.45 yield higher estimated NPP values, whereas values above 80.31 show mixed associations, displaying both upward and downward fluctuations. This pattern indicates that the association between LPI and NPP may vary across different ranges rather than maintaining a single monotonic trend.
Within the high-intensity built environment category, AI shows a positive association with estimated NPP below 98.64, suggesting that within the range where the model provides interpretable patterns, higher landscape heterogeneity tends to correspond with higher carbon sequestration values. GCR exhibits a positive association above 0.02, implying that even small amounts of green space coverage are related to higher estimated NPP within the interpretable range. LPI is positively associated below 98.48, while SI shows higher NPP estimates within the 1.25–1.39 range, indicating that moderate morphological complexity is associated with relatively higher carbon sink values. revealing an optimal equilibrium between morphological complexity and carbon sequestration within this interval, green spaces in this area typically exhibit elongated, linear or fragmented distributions. Should the SI exceed this scope, the configuration of green spaces may become excessively complex or overly regularised, potentially diminishing ecological connectivity or creating imbalances within the micro-environments of green spaces. This could consequently constrain improvements in carbon sequestration efficiency. It should be noted that the model’s explanatory power is limited (R2 = 0.487 for the training set, 0.335 for the validation set); thus, these associations primarily reflect statistical patterns within the ranges where the model provides meaningful interpretations, rather than definitive causal relationships. Within the medium-intensity built environment, AI shows a positive association with estimated NPP below 98.48, indicating that within the range where the model provides interpretable patterns, higher landscape heterogeneity tends to correspond with higher carbon sink values. GCR exhibits a positive association above 0.13, suggesting that greater green space coverage is related to higher estimated NPP within the interpretable range. LPI demonstrates a more complex pattern: higher values below 93.53 are associated with higher estimated NPP, whereas values from around 54.95 to approximately 70 show lower NPP estimates, with positive associations resuming below 54.95. SI is positively associated within the 1.35–1.36 range, indicating that moderate morphological complexity corresponds with relatively higher carbon sink values. This suggests mesoscale green patches may face concurrent impacts from edge effects and spatial fragmentation. It should be noted that the model’s explanatory power is limited (R2 = 0.339 for the training set, 0.302 for the validation set); therefore, these patterns primarily reflect statistical associations within the ranges where the model provides meaningful interpretation rather than definitive causal relationships.
Within low-intensity built environments, the relationship between green space landscape indicators and estimated primary productivity is relatively clear within the model’s interpretable range: AI values below 98.13 correspond to higher estimated primary productivity, indicating that specific morphological characteristics in low-intensity areas are often associated with higher carbon sink values; GCR values above 0.37 result in correspondingly higher estimated NPP values, suggesting that greater green space coverage correlates with enhanced carbon sink estimates; A positive correlation emerges when LPI is below 83.96, while estimated NPP values are higher when SI is below 1.29. This suggests that green patches with moderate morphological regularity, smaller areas, or dispersed distributions are often associated with higher carbon sequestration values.

3.3.3. Interaction of Green Space Pattern Metrics Under Different Built Environments

To further elucidate the interactive effect of green space pattern variables and provide differentiated guidance for green space planning across diverse built environments, We selected the interactions between GCR and AI, GCR and LPI, and GCR and SI—features of significant importance for green space planning and development. These interactions are depicted in Figure 11, where the X-axis and Y-axis represent the interaction variables, respectively, and the scatter plot colours transition from light to dark, indicating SHAP values from low to high.
Figure 11. Interaction of green space pattern indicators.
Results indicate that the interaction between GCR and AI is associated with higher SHAP values across all built environments. When GCR is at medium-to-high levels (approximately 0.5–1.0) and AI falls within the 94–98 range, the scatter plot displays its deepest colour, corresponding to higher SHAP values. This pattern is particularly pronounced in suburban ecological and low-intensity built environments, suggesting that in areas with lower land development intensity, higher green space coverage and aggregation are statistically associated with higher estimated carbon sink values. Conversely, within the high-density built environment, even with low GCR (approximately 0–0.2), AI values in certain ranges are associated with relatively higher SHAP values in localised areas. When GCR exceeds 0.2 and AI falls between 94 and 97, SHAP values remain relatively high, but the limited number of data points indicates lower sample support in these ranges, suggesting caution in interpreting associations for core urban areas. Across other categories within the high-density built environment, the interaction between GCR and LPI exhibits a characteristic V-shaped pattern, with a central inflexion point near GCR = 0.5 and LPI ≈ 50. Beyond this range, SHAP values tend to be higher. Within this environment, data points generally form a diagonal trend from northwest to southeast, with colours becoming lighter and SHAP values decreasing as LPI approaches 100. This pattern reflects a statistical association between green space coverage, patch size, and model-estimated NPP, without implying direct causal effects. Interaction analysis between GCR and SI further reveals that morphological complexity is associated with variations in model-estimated NPP. Across all built environments, higher SHAP values tend to occur when GCR is at medium-to-high levels (0.5–1.0) and SI falls within the 1.2–1.4 range. Both higher and lower SI values correspond to relatively lower SHAP values, suggesting a statistical association between green space morphological complexity and carbon sequestration estimates, without implying direct causation.

4. Discussion

4.1. Classification of Urban Built Environments and Model Optimisation

This study employed K-means clustering to delineate distinct built environments. Unlike conventional classification systems, K-means does not rely on artificially set classification thresholds or sample labels. We determined the optimal number of clusters through data-driven analysis using the elbow rule and contour coefficient, thereby capturing built environment characteristics from multiple perspectives and achieving comprehensive representation of multidimensional spatial information. Compared to conventional empirical rules, this approach offers greater objectivity. When contrasted with similar academic studies [91], our method identifies five distinct built environment zones: high-density built environment, medium-density built environment, low-density built environment, suburban ecological built environment, and aquatic and wetland ecological zones. These zones better reveal differences in built environment element combinations and spatial gradients, thereby reflecting the structural complexity within cities. The high-intensity and medium-intensity built environments identified in this study align with Xiong et al.’s findings on urban core areas and metropolitan fringe regions [92]. Benefiting from our K-means clustering model, this research achieves superior spatial heterogeneity representation. Compared to the LCZ classification [93], while possessing sound standardisation principles, its predefined category system limits adaptability to diverse urban spatial characteristics. K-means clustering flexibly determines cluster numbers and boundaries based on the feature distribution of the study area, thereby better reflecting regional diversity and complexity.
Furthermore, this study pre-evaluated the performance of multiple machine learning models and employed the SHAP explainable machine learning method to reveal both linear and non-linear relationships of green space landscape metrics across different built environment zones on NPP. Whilst most models demonstrated satisfactory explanatory power across the entire dataset, their performance proved somewhat less than satisfactory under varying built environments. Enhancing model adaptability to suit diverse scenarios warrants further discussion. Research by Kee and Ho indicates that the Optuna model demonstrates effective machine learning model optimisation within the field of urban science [94]. Consequently, this study employs Optuna, along with model tuning, complemented by Catboost’s inherent regularisation and early stopping mechanisms. Results indicated that this approach substantially enhanced model applicability. However, constrained by data scale and quality limitations, its applicability remains somewhat inadequate for certain specific scenarios.

4.2. Impact of Green Space Landscape Metrics on Plant Carbon Sinks Across Different Built Environments

Our research indicates that the correlation between green space pattern characteristics and carbon sink effects varies across different built environments, along with the threshold at which their positive and negative impacts shift. In high-intensity built environments (HIBEs), representing urban core areas, green cover ratio (GCR) exhibits the highest significance (28.7%). However, the differences between aggregation index (AI, 27.5%) and LPI (23.1%), and SI (20.8%) exhibit relatively minor variations, with all four indicators exceeding 20%. This suggests that in high-density urban areas, carbon sink patterns are associated with a composite influence of ‘area-form-structure’ rather than being dominated solely by green space area’. Even within land-scarce core zones, strategically organised green systems are associated with observable carbon-related benefits [95]. For instance, New York’s High Line Park, occupying an urban interstitial space of approximately 2.3 km in length and averaging 9 m in width, shows relatively high biomass accumulation per unit area associated with its diverse vegetation configuration, which correlates with improvements in the local microclimate. Regarding non-linear relationships, SHAP values significantly increase when LPI falls below 60, indicating a positive association between clustering into larger patches and higher carbon sink estimates. However, the curve’s fluctuation slows when LPI exceeds 80, and SHAP values tend to decrease beyond 98.12, reflecting a diminishing marginal association of connectivity within urban core areas. Moderately distributed green patches are correlated with higher estimated carbon sink values, possibly due to more efficient material and energy exchange with the external environment [96]. Research by Chen et al. has demonstrated that rooftop green spaces, as green patches, can reduce carbon emissions [97]. In Taiwan, rooftop greening initiatives began as early as 2000, and the Taiwan Sustainable Campus Project launched in 2002 included the development of rooftop green spaces as part of the gradual construction of low-carbon cities [98]. Further analysis of the interaction between GCR and SI shows that SHAP values are generally higher when GCR > 0.2 and SI falls within the 1.2–1.4 range, indicating stronger statistical associations in this range. SHAP values tend to decrease when SI exceeds 1.4 or falls below 1.2. This pattern suggests that, in high-density urban areas, compact but not overly complex green space configurations are associated with higher carbon sink estimates. Moderately fragmented and complex configurations are positively correlated with plant carbon accumulation [99,100].
Within the medium-intensity built environment, both GCR (50.4%) and LPI (26.5%) exhibit heightened importance compared to the high-intensity built environment, while AI (13.2%) and SI (9.8%) show marked reductions. This suggests that in the periphery of urban cores, higher green space coverage and stronger landscape connectivity, along with lower fragmentation, are associated with more complete green space system structures [101]. This spatial characteristic is correlated with the presence of more comprehensive green space systems, such as urban parks, ecological green spaces, and urban woodlands. These extensive, structurally continuous green spaces not only maintain high carbon absorption efficiency but also effectively offset carbon emissions from surrounding industrial and transport activities by enhancing biomass and vegetation activity, thereby forming robust regional carbon sink functions. This aligns with existing research findings [102]. Notably, apart from GCR, the remaining variables tend to show stronger associations with estimated NPP values when they fall within moderate ranges (AI: 93.69–98.40; LPI: 70–93.53; SI: 1.27–1.36). We hypothesise that this ‘moderate positive effect’ may stem from the coupled mechanisms of spatial fragmentation and edge effects, where moderate spatial aggregation promotes plant photosynthesis and water circulation, thereby enhancing vegetation growth and carbon sequestration efficiency [103]. Thus, within medium-intensity built environments, a spatial structure featuring moderate connectivity and complexity is associated with higher estimated carbon sink values while maintaining efficient spatial utilisation.
In low-intensity built environments, GCR exhibits exceptionally high importance (78.0%), the highest among all built environment types, while AI, LPI, and SI all score at the lowest levels of importance. This finding suggests that in low-density, low-human-activity-disturbance peripheral urban areas, overall green space coverage is strongly associated with higher estimated carbon sink values [104], while the influence of spatial form complexity and connectivity characteristics is relatively diminished. In other words, within these predominantly natural ecosystem or agricultural land areas, carbon sink estimates are more closely correlated with green space scale and vegetation community characteristics than with spatial configuration or morphological organisation [105]. Notably, SHAP values for carbon sink estimates tend to decrease when UGS aggregation intensity (AI) exceeds 98.07. suggesting a potential “over-aggregation” pattern in the data. [106]. Moreover, interaction analyses reveal a pronounced non-linear relationship between GCR and SI: carbon sequestration efficiency peaks when SI remains within the 1.2–1.3 range, while responses plateau or even decline slightly when SI exceeds 1.4. This pattern indicates that moderate spatial complexity is associated with more stable carbon sink estimates, potentially reflecting more balanced material and energy distribution within ecosystems.
Within the suburban ecological built environment, GCR exhibits the strongest association with estimated carbon sink values, accounting for 78.0% of the importance. SHAP values suggest that higher estimated carbon sink values tend to occur when GCR exceeds 0.64. Furthermore, when GCR ranges between 0.5 and 1.0, AI ranges between 94 and 98, the estimated carbon sink values are higher. This indicates that the expansive spatial characteristics and strong aggregation of green spaces in suburban areas substantially impact carbon sequestration [107]. Notably, when UGS become highly concentrated or form oversized patches (LPI > 84.30), SHAP values do not continue to increase but instead show secondary differentiation. Previous research has also indicated that when intrinsic plant characteristics, such as canopy cover and understory vegetation, undergo significant changes, this influences the non-linear variation in patch numbers. This leads to alterations in green space growth environments and biomass distribution, thereby affecting green space biodiversity changes and, consequently, carbon sink dynamics [108]. Interpreting the interaction diagram reveals that beyond a certain UGS threshold (greater than 0.5), LPI shows a generally increasing trend with estimated carbon sink values, SI values between 1.2 and 1.4, coupled with GCR exceeding 0.5, are associated with higher SHAP values. Overall, these patterns suggest that within the suburban ecological built environment, a moderately dispersed green space pattern with intermediate connectivity is correlated with relatively higher estimated carbon sink values.

4.3. Impact on Urban Planning and Management

As urbanisation intensifies globally, cities worldwide are pursuing carbon reduction targets and building resilient, sustainable urban environments. Despite significant efforts in carbon emission reduction, considerable strategies remain feasible from an urban green space planning perspective to enhance green space carbon sequestration capacity, thereby further lowering emissions. This is particularly pertinent for large cities undergoing urban renewal, where scientifically grounded, differentiated strategies are essential to guide green space development.
Within high-intensity built environments, dense construction and complex surface conditions result in relatively lower importance for green coverage ratio (GCR) in carbon sequestration. However, aggregation index (AI), largest patch index (LPI), and shape index (SI) all exhibit importance levels exceeding 20%. The analysis indicates that when GCR exceeds 0.5 and AI falls within the 95–98 range, these green space metrics show a strong statistical association with higher estimated carbon sequestration values. Optimising green space morphology and promote connectivity thus become key pathways to strengthen carbon sequestration functions. We recommend that urban planning prioritise embedded greening and multi-level ecological design strategies. For instance, micro-scale layouts incorporating rooftop greening and street green belts can increase total green space and ecological continuity within constrained areas [109]. Furthermore, fragmented green spaces should be integrated through urban renewal projects to form localised micro-ecological networks [110], thereby enhancing the system’s climate regulation and carbon sequestration capacities.
Within medium-intensity built environments, typically situated in transitional zones between urban cores and peripheries, high UGS coverage and favourable ecological connectivity coexist, making these areas the primary contributors to carbon sequestration within built-up urban areas. Model results indicate that when the GCR falls between 0.25 and 0.5 and AI ranges from 95 to 98, these metrics exhibit a strong correlation with higher carbon sequestration estimates. Consequently, planning strategies should prioritise systematic green space development and optimisation of connectivity structures. Spatially, ecological corridors should link large parks, woodlands, and riverside green belts to form a comprehensive ecological network [111]; while retaining a sufficient number of small-to-medium green spaces to maintain edge effects and ecological diversity. Addressing the non-linear characteristics of LPI and SI, excessive contiguous greening should be avoided to prevent overcrowding and excessive competition among plants. The development of neighbourhood parks and community green corridors should be encouraged, with enhanced ecological buffer zones in industrial and transport corridors to achieve dual functions of carbon sequestration and pollution isolation.
Within low-intensity built environments, GCR holds 74% significance, with carbon sequestration primarily governed by total green space area. Such zones typically encompass urban peripheries, country parks, and ecological conservation belts—areas with low spatial development and intact vegetation structures that serve as critical carbon reservoirs. However, results would suggest that AI above 98.13 is associated with lower NPP. Therefore, planning should avoid the excessive clustering of large-scale green spaces and refrain from overly standardising rural green areas, instead preserving their natural heterogeneity. It is recommended that green space clusters be interconnected through ecological corridors and buffer zones, forming a multi-layered ecological network to enhance carbon sequestration capacity. Concurrently, strict control of urban boundaries and restrictions on the outward expansion of high-intensity development should ensure the continuity and long-term ecological stability of rural green spaces.
Within the suburban ecological built environment, this area exhibits the highest GCR significance (63.0%), with AI and SI demonstrating narrow yet significant ranges of variation. Research indicates stronger statistical associations with higher estimated carbon sink values appear when GCR exceeds 0.64 and SI falls within the 1.2–1.4 range. In this range, higher estimated carbon sink values are associated with combinations of moderately high GCR and intermediate SI. Planning can employ composite uses of agricultural land, wetlands, and forests to create ventilated, diverse ecological interfaces. Simultaneously, measures should consider maintaining ecological connectivity, with ecological corridors combined with green wedges maintaining natural linkages.

4.4. Limitations

Although this study systematically analysed the statistical associations between green space pattern indicators (GCR, LPI, SI, AI) in different built environments and plant carbon sequestration capacity, this capacity remains influenced by numerous ecological and socio-environmental factors not incorporated into the model. These factors encompass vegetation type and health status, community structure, soil quality, alongside socio-cultural elements such as land value, historical planning, and fundamental natural conditions. Furthermore, this study relied on static two-dimensional data, failing to capture dynamic characteristics such as seasonal fluctuations, the growth and maturation processes of green spaces, and the three-dimensional structure of vegetation. Although the selected 300-metre grid effectively represented urban landscape patterns and carbon sink characteristics, it may have obscured micro-ecological heterogeneity. Different grid scales may also influence feature response patterns and threshold identification. Finally, the quantitative thresholds obtained in this study—such as the optimal range for SI and the critical inflexion point for GCR—exhibit significant scenario dependency. Their applicability to other cities and diverse ecological environments requires further validation.
Moreover, the model’s explanatory power is notably limited in certain urban contexts, particularly in high-intensity built environments, where the training R2 was relatively low. This implies that while the model captures general statistical patterns, its estimates may not reliably reflect fine-scale variations in carbon sequestration in these critical urban cores, potentially limiting the applicability of the identified thresholds (e.g., SI ranges, GCR inflexion points) for local planning or management decisions.

5. Conclusions

This study contributes to understanding the relationships between urban green space landscape metrics and carbon sequestration estimates across diverse built environments. Using Shanghai’s primary urban districts as a case study, we used four green space landscape metrics—including green coverage ratio (GCR), aggregation index (AI), largest patch index (LPI), and shape index (SI)—as independent variables, with urban green space carbon sequestration capacity as the dependent variable. Employing CatBoost models and SHAP interpretable machine learning methods, we analysed the importance and correlations of UGS landscape metrics, observed ranges associated with higher carbon sequestration estimates, and underlying interaction. The key findings are as follows:
(1)
K-means clustering divided Shanghai’s built environment into five distinct categories, revealing a spatial gradient of built environment diminishing from core urban areas towards peripheries. reflecting the complexity and diversity of urban structures. The CatBoost model achieved the highest R2 across all regions, indicating acceptable fitting performance and generalisation capability. Through parameter tuning with Optuna, model training accuracy was further improved without indications of overfitting, suggesting that the model is suitable for capturing the statistical relationships between multidimensional landscape variables and carbon sequestration.
(2)
SHAP analysis revealed that GCR exhibited the highest importance across all built environments. However, within high-intensity urban areas, the importance gap between GCR and aggregation index (AI), largest patch index (LPI), and shape index (SI) narrowed, and the results demonstrate a characteristic manifestation of multiple indicators acting in concert. SHAP analysis indicates that variations in NPP estimates correlate most significantly with indicators of green space area, whereas the relative importance of form and connectivity indicators is comparatively lower.
(3)
The influence of different indicators on carbon sequestration exhibits non-linear relationships characteristics, with distinct transition points between positive and negative SHAP contributions for GCR, AI, LPI, and SI across varying built environments. Interaction analysis further reveals pronounced covariance patterns between GCR and AI, LPI, and SI, with GCR–AI exhibiting the most pronounced effect. Carbon sequestration efficiency significantly increases when GCR > 0.5 and AI falls within the 94–98 range, higher SHAP values are observed, indicating that this parameter combination corresponds to relatively stronger statistical associations in the model rather than implying mechanistic causation.
(4)
High-density built-up areas should enhance connectivity through vertical greening and micro-green spaces; medium-density zones require strengthened ecological corridors and systematic green space planning; and low-density and suburban ecological zones maintain robust carbon sequestration benefits via multi-tiered ecological networks. Overall, urban green space planning should implement differentiated strategies based on optimal thresholds for GCR, AI, and SI.
In summary, this study provides statistically based quantitative evidence and differentiated strategy insights for spatial planning aimed at enhancing urban carbon sink potential. The findings reveal significant variations in correlation coefficients and threshold characteristics between green space pattern indicators and estimated carbon stocks across different built environments. This discovery supports more refined approaches to urban ecological management and decision-making. The research outcomes also provide reference frameworks for urban green space planning, low-carbon spatial optimisation, and ecological policy design, while expanding theoretical and methodological frameworks for future cross-city, multi-scale carbon sink studies.

Author Contributions

Conceptualization, R.C., X.O., M.X. and K.C.; methodology, R.C. and K.C.; software, R.C.; validation, R.C., X.O. and Z.C.; formal analysis, R.C.; investigation, X.O., M.X. and Z.C.; resources, R.C. and K.C.; data curation, M.X. and Z.C.; writing—original draft preparation, R.C. and X.O.; writing—review and editing, R.C. and K.C.; visualisation, R.C., X.O. and Z.C.; supervision, X.O. and K.C.; project administration, K.C.; funding acquisition, X.O., M.X. and Z.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Youth Project of the Social Science Foundation of Fujian Province (Grant No. FJ2024C162) and the Educational Science Planning Project of Fujian Agriculture and Forestry University (Grant No. 111423025).

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

This research was generously supported by national and provincial funding programmes, including the Ministry of Education of China and Fujian Agriculture and Forestry University.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study in the collection, analyses, or interpretation of data, in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
GCRGreen Coverage Ratio
LPILargest Patch Index
SIShape Index
AIAggregation Index
NPPNet Primary Productivity
HIBEHigh-Intensity Built Environment
MIBEMedium-Intensity Built Environment
LIBELow-Intensity Built Environment
SEBESuburban Ecological Built Environment
AWEZAquatic and Wetland Ecological Zones
SHAPShapley additive explanation
ABHAverage Building Height
BDBuilding Density
BSBus Stop
LUMLand-Use Metrics
NDVINormalised Difference Vegetation Index
PDPopulation Density
POIPoint of Interest
RDRoad Density
UGSUrban Green Space
VIFVariance Inflation Factor

References

  1. Hasanah, A.; Wu, J. Bibliometric analysis and global research trends of climate change and cities studies for 30 years (1990–2021). Environ. Dev. Sustain. 2024, 27, 5573–5617. [Google Scholar] [CrossRef] [Scilit]
  2. Park, H.M.; Jo, H.K.; Kim, J.Y. Carbon footprint of landscape tree production in Korea. Sustainability 2021, 13, 5915. [Google Scholar] [CrossRef] [Scilit]
  3. Cai, A.Z.; Guo, R.; Zhang, Y.H.; Wang, L.Y.; Lin, R.M.; Wu, H.R.; Huang, R.Y.; Zhang, J.; Wu, J. Assessing urban carbon health in China’s three largest urban agglomerations: Carbon emissions, energy-carbon emission efficiency and carbon sinks. Appl. Energy 2025, 383, 125326. [Google Scholar] [CrossRef] [Scilit]
  4. Crippa, M.; Guizzardi, D.; Pisoni, E.; Solazzo, E.; Guion, A.; Muntean, M.; Florczyk, A.; Schiavina, M.; Melchiorri, M.; Hutfilter, A.F. Global anthropogenic emissions in urban areas: Patterns, trends, and challenges. Environ. Res. Lett. 2024, 16, 074033. [Google Scholar] [CrossRef] [Scilit]
  5. Satterthwaite, D. Cities’ contribution to global warming: Notes on the allocation of greenhouse gas emissions. Environ. Urban. 2008, 20, 539–549. [Google Scholar] [CrossRef] [Scilit]
  6. Gao, Y.; Wang, S.Y.; Lu, Y.; Liu, J.B.; Lyu, S.D.; Sun, K.; Jia, J.J.; Li, Z.X.; Yu, G.R. Carbon budget and balance critical processes of the regional land-water-air interface: Indicating the earth system’s carbon neutrality. Sci. China-Earth Sci. 2022, 65, 773–782. [Google Scholar] [CrossRef] [Scilit]
  7. Alongi, D.M.; Mukhopadhyay, S.K. Contribution of mangroves to coastal carbon cycling in low latitude seas. Agric. For. Meteoroligy 2015, 213, 266–272. [Google Scholar] [CrossRef] [Scilit]
  8. Nowak, D.J.; Greenfield, E.J.; Hoehn, R.E.; Lapoint, E. Carbon storage and sequestration by trees in urban and community areas of the United States. Environ. Pollut. 2013, 178, 229–236. [Google Scholar] [CrossRef] [Scilit]
  9. Velasco, E.; Roth, M.; Norford, L.; Molina, L.T. Does urban vegetation enhance carbon sequestration? Landsc. Urban Plan. 2016, 148, 99–107. [Google Scholar] [CrossRef] [Scilit]
  10. Bowler, D.E.; Buyung-Ali, L.; Knight, T.M.; Pullin, A.S. Urban greening to cool towns and cities: A systematic review of the empirical evidence. Landsc. Urban Plan. 2010, 97, 147–155. [Google Scholar] [CrossRef] [Scilit]
  11. Brack, C.L. Pollution mitigation and carbon sequestration by an urban forest. Environ. Pollut. 2002, 116, S195–S200. [Google Scholar] [CrossRef] [Scilit]
  12. Chen, W.Y. The role of urban green infrastructure in offsetting carbon emissions in 35 major Chinese cities: A nationwide estimate. Cities 2015, 44, 112–120. [Google Scholar] [CrossRef] [Scilit]
  13. Wolch, J.R.; Byrne, J.; Newell, J.P. Urban green space, public health, and environmental justice: The challenge of making cities ‘just green enough’. Landsc. Urban Plan. 2014, 125, 234–244. [Google Scholar] [CrossRef] [Scilit]
  14. Tzoulas, K.; Korpela, K.; Venn, S.; Yli-Pelkonen, V.; Kazmierczak, A.; Niemela, J.; James, P. Promoting ecosystem and human health in urban areas using Green Infrastructure: A literature review. Landsc. Urban Plan. 2010, 97, 147–155. [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, Y.; Meng, W.Q.; Yun, H.F.; Xu, W.B.; Hu, B.B.; He, M.X.; Mo, X.Q.; Zhang, L. Is urban green space a carbon sink or source?—A case study of China based on LCA method. Environ. Impact Assess. Rev. 2022, 94, 106766. [Google Scholar] [CrossRef] [Scilit]
  16. Adetoye, A.M.; Okojie, L.O.; Akerele, D. Forest carbon sequestration supply function for African countries: An econometric modelling approach. For. Policy Econ. 2018, 90, 59–66. [Google Scholar] [CrossRef] [Scilit]
  17. Chen, L.S.; Wang, Y.; Zhu, E.Y.; Wu, H.F.; Feng, D.L. Carbon storage estimation and strategy optimization under low carbon objectives for urban attached green spaces. Sci. Total Environ. 2024, 923, 171507. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Liu, Y.; Xia, C.Y.; Lv, Y.S.; Ai, X.; Pan, R.Q.; Zhang, Y.R.; Shi, M.Y.; Zheng, X. Quantitative structure and spatial pattern optimization of urban green space from the perspective of carbon balance: A case study in Beijing, China. Ecol. Indic. 2023, 148, 110034. [Google Scholar] [CrossRef] [Scilit]
  19. Lahoti, S.; Lahoti, A.; Joshi, R.K.; Saito, O. Vegetation Structure, Species Composition, and Carbon Sink Potential of Urban Green Spaces in Nagpur City, India. Land 2020, 9, 107. [Google Scholar] [CrossRef] [Scilit]
  20. Zhang, H.L.; Ren, Q.T.; Zhou, Y.Y.; Dong, N.L.; Wang, H.; Hu, Y.G.; Song, P.H.; He, R.Z.; Tian, G.H.; Ge, S.D. Influence of Tree Community Characteristics on Carbon Sinks in Urban Parks: A Case Study of Xinyang, China. Land 2025, 14, 653. [Google Scholar] [CrossRef] [Scilit]
  21. Zhao, D.; Cai, J.; Shen, S.J.; Liu, Q.C.; Lan, Y.Q. Nature-based solutions: Assessing the carbon sink potential and influencing factors of urban park plant communities in the temperate monsoon climate zone. Sci. Total Environ. 2024, 950, 175347. [Google Scholar] [CrossRef] [Scilit]
  22. Xu, F.; Wang, X.R.; Li, L. NPP and Vegetation Carbon Sink Capacity Estimation of Urban Green Space Using the Optimized CASA Model: A Case Study of Five Chinese Cities. Atmosphere 2023, 14, 1161. [Google Scholar] [CrossRef] [Scilit]
  23. Wang, R.Y.; Mo, X.Y.; Ji, H.; Zhu, Z.; Wang, Y.S.; Bao, Z.L.; Li, T.H. Comparison of the CASA and InVEST models’ effects for estimating spatiotemporal differences in carbon storage of green spaces in megacities. Sci. Rep. 2024, 14, 5456. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Jiang, Y.F.; Sun, Y.C.; Liu, Y.Q.; Li, X.H. Exploring the correlation between waterbodies, green space morphology, and carbon dioxide concentration distributions in an urban waterfront green space: A simulation study based on the carbon cycle. Sustain. Cities Soc. 2023, 98, 104831. [Google Scholar] [CrossRef] [Scilit]
  25. Zhou, K.; Zheng, X.; Huang, S.B.; Li, H.; Yin, H. Quantifying the combined and individual impacts of climate and human activity on the urban green space carbon sink capacity in Beijing. Sustain. Cities Soc. 2025, 122, 106253. [Google Scholar] [CrossRef] [Scilit]
  26. Hasanah, A.; Wu, J. Exploring dynamics relationship between carbon emissions and eco-environmental quality in Samarinda Metropolitan Area: A spatiotemporal approach. Sci. Total Environ. 2024, 927, 172188. [Google Scholar] [CrossRef] [Scilit]
  27. Peng, W.J.; Zou, X.Q.; Huang, Y.Y.; Li, H. Quantifying and Optimizing Vegetation Carbon Storage in Building-Attached Green Spaces for Sustainable Urban Development. Sustainability 2025, 17, 8088. [Google Scholar] [CrossRef] [Scilit]
  28. Wang, Y.N.; Chang, Q.; Li, X.Y. Promoting sustainable carbon sequestration of plants in urban greenspace by planting design: A case study in parks of Beijing. Urban For. Urban Green. 2021, 64, 127291. [Google Scholar] [CrossRef] [Scilit]
  29. Zhou, Y.Y.; Yue, D.X.; Guo, J.J.; Chen, G.G.; Wang, D. Spatial correlations between landscape patterns and net primary productivity: A case study of the Shule River Basin, China. Ecol. Indic. 2021, 130, 108067. [Google Scholar] [CrossRef] [Scilit]
  30. Amici, V.; Rocchini, D.; Filibeck, G.; Bacaro, G.; Santi, E.; Geri, F.; Landi, S.; Scoppola, A.; Chiarucci, A. Landscape structure effects on forest plant diversity at local scale: Exploring the role of spatial extent. Ecol. Complex. 2015, 21, 44–52. [Google Scholar] [CrossRef] [Scilit]
  31. Chen, J.M.; Chen, X.; Ju, W. Effects of vegetation heterogeneity and surface topography on spatial scaling of net primary productivity. Biogeosciences 2013, 10, 4879–4896. [Google Scholar] [CrossRef] [Scilit]
  32. Guo, L.J.; Liu, R.M.; Shoaib, M.; Men, C.; Wang, Q.R.; Miao, Y.X.; Jiao, L.J.; Wang, Y.F.; Zhang, Y. Impacts of landscape change on net primary productivity by integrating remote sensing data and ecosystem model in a rapidly urbanizing region in China. J. Clean. Prod. 2021, 325, 129314. [Google Scholar] [CrossRef] [Scilit]
  33. Bae, J.; Ryu, Y. The magnitude and causes of edge effects on soil organic carbon stocks within and across urban to rural forest patches. Landsc. Urban Plan. 2021, 215, 104223. [Google Scholar] [CrossRef] [Scilit]
  34. Pafka, E. Multi-scalar urban densities: From the metropolitan to the street level. Urban Des. Int. 2020, 27, 53–63. [Google Scholar] [CrossRef] [Scilit]
  35. Xu, X.C.; Ou, J.P.; Liu, P.H.; Liu, X.P.; Zhang, H.H. Investigating the impacts of three-dimensional spatial structures on CO2 emissions at the urban scale. Sci. Total Environ. 2021, 762, 143096. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. Chen, Y.Q.; Shan, B.Y.; Yu, X.W. Study on the spatial heterogeneity of urban heat islands and influencing factors. Build. Environ. 2022, 208, 108604. [Google Scholar] [CrossRef] [Scilit]
  37. Xing, X.Y.; Zhang, M.Y.; Li, K.; Hao, P.Y.; Dong, L. Spatial heterogeneity of first flowering date in Beijing’s main urban area and its response to urban thermal environment. Int. J. Biometeorol. 2022, 66, 1929–1954. [Google Scholar] [CrossRef] [Scilit]
  38. Bulteau, J.; Feuillet, T.; Le Boennec, R. Spatial Heterogeneity of Sustainable Transportation Offer Values: A Comparative Analysis of Nantes Urban and Periurban/Rural Areas (France). Urban Sci. 2018, 2, 14. [Google Scholar] [CrossRef] [Scilit]
  39. Altieri, L.; Cocchi, D.; Roli, G. Measuring heterogeneity in urban expansion via spatial entropy. Environmetrics 2019, 30, e2548. [Google Scholar] [CrossRef] [Scilit]
  40. Chen, T.T.; Hui, E.C.M.; Wu, J.M.; Lang, W.; Li, X. Identifying urban spatial structure and urban vibrancy in highly dense cities using georeferenced social media data. Habital Int. 2019, 89, 102005. [Google Scholar] [CrossRef] [Scilit]
  41. Rahman, M.H.; Islam, M.H.; Neema, M.N. GIS-based compactness measurement of urban form at neighborhood scale: The case of Dhaka, Bangladesh. J. Urban Manag. 2022, 11, 6–22. [Google Scholar] [CrossRef] [Scilit]
  42. Handy, S.L.; Boarnet, M.G.; Ewing, R.; Killingsworth, R.E. How the built environment affects physical activity—Views from urban planning. Am. J. Prev. Med. 2002, 23, 64–73. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Cervero, R.; Sarmiento, O.L.; Jacoby, E.; Gomez, L.F.; Neiman, A. Influences of Built Environments on Walking and Cycling: Lessons from Bogota. Int. J. Sustain. Transp. 2009, 3, 203–226. [Google Scholar] [CrossRef] [Scilit]
  44. Liu, L.; Li, Y.; Gruyer, D.; Tu, M. Non-linear relationship between built environment and active travel: A hybrid model considering spatial heterogeneity. Int. J. Transp. Sci. Technol. 2024, 19, 175–192. [Google Scholar] [CrossRef] [Scilit]
  45. Chen, L.; Zhang, Z.B.; Wang, X.Q. Spatial Heterogeneity of Community Built Environment Quality in River Valley City: The Case of Lanzhou, China. J. Urban Plan. Dev. 2024, 151, 04025007. [Google Scholar] [CrossRef] [Scilit]
  46. Cervero, R.; Kockelman, K. Travel demand and the 3Ds: Density, diversity, and design. Transp. Res. Part-Transp. Environ. 1997, 2, 199–219. [Google Scholar] [CrossRef] [Scilit]
  47. Ewing, R.; Cervero, R. Travel and the Built Environment. J. Am. Planing Assoc. 2010, 76, 265–294. [Google Scholar] [CrossRef] [Scilit]
  48. Yang, H.; Ruan, Z.H.; Li, W.S.; Zhu, H.J.; Zhao, J.; Peng, J.D. The Impact of Built Environment Factors on Elderly People’s Mobility Characteristics by Metro System Considering Spatial Heterogeneity. ISPRS Int. J. Geo-Inf. 2022, 11, 315. [Google Scholar] [CrossRef] [Scilit]
  49. Ding, C.; Wang, Y.W.; Xie, B.L.; Liu, C. Understanding the Role of Built Environment in Reducing Vehicle Miles Traveled Accounting for Spatial Heterogeneity. Sustainability 2014, 6, 589–601. [Google Scholar] [CrossRef] [Scilit]
  50. Duan, S.Y.; Liu, Q.; Jiang, D.M.; Jiang, Y.L.; Lin, Y.Z.; Gong, Z.Y. Exploring the Joint Impacts of Natural and Built Environments on PM2.5 Concentrations and Their Spatial Heterogeneity in the Context of High-Density Chinese Cities. Sustainability 2021, 13, 11775. [Google Scholar] [CrossRef] [Scilit]
  51. Qin, L.W.; Zong, W.K.; Peng, K.; Zhang, R.P. Assessing Spatial Heterogeneity in Urban Park Vitality for a Sustainable Built Environment: A Case Study of Changsha. Land 2024, 13, 480. [Google Scholar] [CrossRef] [Scilit]
  52. Arehart, J.; Hart, J.; Pomponi, F.; D’Amico, B. Carbon sequestration and storage in the built environment. Sustain. Prod. Consum. 2021, 27, 1047–1063. [Google Scholar] [CrossRef] [Scilit]
  53. Kuittinen, M.; Zernicke, C.; Slabik, S.; Hafner, A. How can carbon be stored in the built environment? A review of potential options. Archit. Sci. Rev. 2023, 66, 91–107. [Google Scholar] [CrossRef] [Scilit]
  54. Zeng, P.; Zong, C.; Wei, X. Quantitative Analysis and Spatial Pattern Research of Built-Up Environments and Surface Urban Heat Island Effect in Beijing’s Main Urban Area. J. Urban Planing Dev. 2024, 150, 04024006. [Google Scholar] [CrossRef] [Scilit]
  55. Feng, T.; Zhou, B. Impact of urban spatial structure elements on carbon emissions efficiency in growing megacities: The case of Chengdu. Sci. Rep. 2023, 13, 9939. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  56. Liu, L.; Qu, J.S.; Gao, F.; Maraseni, T.N.; Wang, S.J.; Aryal, S.; Zhang, Z.H.; Wu, R. Land Use Carbon Emissions or Sink: Research Characteristics, Hotspots and Future Perspectives. Land 2024, 13, 279. [Google Scholar] [CrossRef] [Scilit]
  57. Ganjirad, M.; Delavar, M.R.; Bagheri, H.; Azizi, M.M. Optimizing urban critical green space development using machine learning. Sustain. Cities Soc. 2025, 120, 106158. [Google Scholar] [CrossRef] [Scilit]
  58. Lin, J.Y.; Qiu, S.X.; Tan, X.J.; Zhuang, Y.Y. Measuring the relationship between morphological spatial pattern of green space and urban heat island using machine learning methods. Build. Environ. 2023, 228, 109910. [Google Scholar] [CrossRef] [Scilit]
  59. Wang, C.; Xu, L.C.; Zheng, X.Y.; Hua, Y.M.; Xue, X.Y. Carbon emission estimation at the urban functional zone scale: Integrating multi-source data and machine learning approach. Build. Environ. 2023, 341, 115832. [Google Scholar] [CrossRef] [Scilit]
  60. Wu, Y.T.; Luo, M.Y.; Ding, S.G.; Han, Q.Y. Using a Light Gradient-Boosting Machine-Shapley Additive Explanations Model to Evaluate the Correlation Between Urban Blue-Green Space Landscape Spatial Patterns and Carbon Sequestration. Land 2024, 13, 1965. [Google Scholar] [CrossRef] [Scilit]
  61. Yuan, Y.Y.; Guo, W.; Tang, S.Q.; Zhang, J.Q. Effects of patterns of urban green-blue landscape on carbon sequestration using XGBoost-SHAP model. J. Clean. Prod. 2024, 476, 143640. [Google Scholar] [CrossRef] [Scilit]
  62. Parth, B.; Steven, J.Q. Examining temporally varying nonlinear effects of urban form on urban heat island using explainable machine learning: A case of Seoul. Build. Environ. 2024, 247, 110957. [Google Scholar] [CrossRef] [Scilit]
  63. García, M.V.; Aznarte, J.L. Shapley additive explanations for NO2 forecasting. Ecol. Indic. 2020, 56, 101039. [Google Scholar] [CrossRef] [Scilit]
  64. Yi, Z.Q.; Wu, L.H. Identification of factors influencing net primary productivity of terrestrial ecosystems based on interpretable machine learning --evidence from the county-level administrative districts in China. J. Environ. Manag. 2022, 326, 116798. [Google Scholar] [CrossRef] [Scilit]
  65. Zou, Y.N.; Wang, X.R. Analysis of Influencing Factors of Terrestrial Carbon Sinks in China Based on LightGBM Model and Bayesian Optimization Algorithm. Sustainability 2025, 17, 4836. [Google Scholar] [CrossRef] [Scilit]
  66. Wu, A.H.; Wang, Z.T. Exploring urban building carbon sinks: A SHAP-driven machine learning approach. Sustain. Cities Soc. 2025, 126, 106428. [Google Scholar] [CrossRef] [Scilit]
  67. Zhao, J.Y.; Jia, B.Y.; Wu, J.; Wu, X.L. Study of Spatial and Temporal Characteristics and Influencing Factors of Net Carbon Emissions in Hubei Province Based on Interpretable Machine Learning. Land 2025, 14, 1255. [Google Scholar] [CrossRef] [Scilit]
  68. Zhang, Y.C.; Zhao, H.M.; Long, Y. CMAB: A Multi-Attribute Building Dataset of China. Sci. Data 2025, 12, 430. [Google Scholar] [CrossRef] [Scilit]
  69. Li, Z.H.; He, W.; Cheng, M.F.; Hu, J.X.; Yang, G.G.; Zhang, H.Y. SinoLC-1: The first 1 m resolution national-scale land-cover map of China created with a deep learning framework and open-access data. Earth Syst. Sci. Data 2023, 15, 4749–4780. [Google Scholar] [CrossRef] [Scilit]
  70. Hesselbarth, M.H.K.; Sciaini, M.; With, K.A.; Wiegand, K.; Nowosad, J. landscapemetrics: An open-source R tool to calculate landscape metrics. Ecography 2019, 42, 1648–1657. [Google Scholar] [CrossRef] [Scilit]
  71. Scurlock, J.M.O.; Johnson, K.; Olson, R.J. Estimating net primary productivity from grassland biomass dynamics measurements. Glob. Change Biol. 2002, 8, 736–753. [Google Scholar] [CrossRef] [Scilit]
  72. Enloe, H.A.; Lockaby, B.G.; Zipperer, W.C.; Somers, G.L. Urbanization effects on leaf litter decomposition, foliar nutrient dynamics and aboveground net primary productivity in the subtropics. Urban Ecosyst. 2015, 18, 1285–1303. [Google Scholar] [CrossRef] [Scilit]
  73. Potter, C.S.; Randerson, J.T.; Field, C.B.; Matson, P.A.; Vitousek, P.M.; Mooney, H.A.; Klooster, S.A. Terrestrial ecosystem production—A process model-based on global satellite and surface data. Glob. Biogeochem. Cycles 1993, 7, 811–841. [Google Scholar] [CrossRef] [Scilit]
  74. Kubacka, M. Evaluation of the ecological efficiency of landscape protection in areas of different protection status. A case study from Poland. Landsc. Res. 2019, 44, 628–641. [Google Scholar] [CrossRef] [Scilit]
  75. Li, X.H.; Jiang, Y.F.; Liu, Y.Q.; Sun, Y.C.; Li, C.J. The impact of landscape spatial morphology on green carbon sink in the urban riverfront area. Cities 2024, 148, 104919. [Google Scholar] [CrossRef] [Scilit]
  76. Du, C.Y.; Ge, S.D.; Song, P.H.; Jombach, S.; Fekete, A.; Valánszki, I. Optimizing Urban Green Spaces for Vegetation-Based Carbon Sequestration: The Role of Landscape Spatial Structure in Zhengzhou Parks, China. Forests 2025, 16, 679. [Google Scholar] [CrossRef] [Scilit]
  77. Li, S.; Sun, Z.L.; Wen, R.B.; Yang, H.; Li, J.J.; Chen, T.T.; Zheng, Y.S.; Zhu, N. Spatiotemporal patterns and the influence mechanism of urban landscape pattern on carbon emission performance: Evidence from Chinese cities. Sustain. Cities Soc. 2025, 118, 106042. [Google Scholar] [CrossRef] [Scilit]
  78. Dong, H.N.; Chen, Y.; Huang, X.C. A new framework for analysis of the spatial patterns of 15-minute neighbourhood green space to enhance carbon sequestration performance: A case study in Nanjing, China. Ecol. Indic. 2023, 156, 111196. [Google Scholar] [CrossRef] [Scilit]
  79. Huang, J.Y.; Wang, Y.; Wu, K.M.; Yue, X.L.; Zhang, H.O. Livability-oriented urban built environment: What kind of built environment can increase the housing prices? J. Urban Manag. 2024, 13, 357–371. [Google Scholar] [CrossRef] [Scilit]
  80. Bjånesoy, S.; Kinnunen, A.; Einarsdóttir, H.; Heinonen, J. Carbon storage in the built environment: A review. Environ. Res. Infrastruct. Sustain. 2023, 3, 042003. [Google Scholar] [CrossRef] [Scilit]
  81. Wu, B.S.; Liu, C.Q. Impacts of Building Environment and Urban Green Space Features on Urban Air Quality: Focusing on Interaction Effects and Nonlinearity. Buildings 2023, 13, 3111. [Google Scholar] [CrossRef] [Scilit]
  82. Zhang, Y.F.; Wang, X.H.; Ye, Y.; Wang, L.S.; Zhang, Y.G.; Qin, W.S.; Chi, Y.H.; Liu, G.D.; Yao, S.M. 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]
  83. Jiang, F.; Liu, S.H.; Yuan, H.; Zhang, Q. Measuring urban sprawl in Beijing with geo-spatial indices. J. Geogr. Sci. 2007, 17, 469–478. [Google Scholar] [CrossRef] [Scilit]
  84. Zhou, X.; Wang, T.; Zhang, X.M.; Bao, Y.; Wu, J.; Chen, X.Z.; Lu, Y.L.; Zhou, G.Q. Assessing carbon sink potentials in the built environment: A study of 40 Chinese cities using a bottom-up high-resolution approach. J. Clean. Prod. 2025, 519, 146058. [Google Scholar] [CrossRef] [Scilit]
  85. Xu, X.X.; Zhao, L.Y.; Li, Z.C.; Ma, Q. How does built environment influence the spatial distribution of road carbon emission: Mitigation or exacerbation? Sustain. Cities Soc. 2025, 134, 106926. [Google Scholar] [CrossRef] [Scilit]
  86. Sinaga, K.P.; Yang, M.S. Unsupervised K-Means Clustering Algorithm. IEEE Access 2020, 8, 80716–80727. [Google Scholar] [CrossRef] [Scilit]
  87. Punhani, A.; Faujdar, N.; Mishra, K.K.; Subramanian, M. Binning-Based Silhouette Approach to Find the Optimal Cluster Using K-Means. IEEE Access 2022, 10, 115025–115032. [Google Scholar] [CrossRef] [Scilit]
  88. Zheng, Y.; Hao, Q.Y.; Wang, J.W.; Gao, C.Z.; Chen, J.W.; Jin, D.P.; Li, Y. A Survey of Machine Learning for Urban Decision Making: Applications in Planning, Transportation, and Healthcare. ACM Comput. Surv. 2025, 57, 1–41. [Google Scholar] [CrossRef] [Scilit]
  89. Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A Next-generation Hyperparameter Optimization Framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD ‘19), Anchorage, AK, USA, 4–8 August 2019; Association for Computing Machinery: New York, NY, USA, 2019; pp. 2623–2631. [Google Scholar] [CrossRef] [Scilit]
  90. Nohara, Y.; Matsumoto, K.; Soejima, H.; Nakashima, N. Explanation of Machine Learning Models Using Improved Shapley Additive Explanation. In Proceedings of the 10th ACM International Conference on Bioinformatics, Computational Biology and Health Informatics (BCB ‘19), Niagara Falls, NY, USA, 7–10 September 2019; Association for Computing Machinery: New York, NY, USA, 2019; p. 546. [Google Scholar] [CrossRef] [Scilit]
  91. Ji, Y.F.; Peng, Y.; Tang, H.Y.; Li, Z.T.; Xia, Y.T.; Feng, T. How do heat waves affect the relationship between built environment patches of different compactness and land surface temperature? Build. Environ. 2024, 266, 112044. [Google Scholar] [CrossRef] [Scilit]
  92. Xiong, W.T.; Yang, J.Y. Delineating and Characterizing the Metropolitan Fringe Area of Shanghai-A Spatial Morphology Perspective. Land 2023, 12, 2086. [Google Scholar] [CrossRef] [Scilit]
  93. Jiang, R.Y.; Xie, C.K.; Man, Z.H.; Afshari, A.; Che, S.Q. LCZ method is more effective than traditional LUCC method in interpreting the relationship between urban landscape and atmospheric particles. Sci. Total Environ. 2023, 869, 161677. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  94. Kee, T.; Ho, W.K.O. Optimizing Machine Learning Models for Urban Sciences: A Comparative Analysis of Hyperparameter Tuning Methods. Urban Sci. 2025, 9, 348. [Google Scholar] [CrossRef] [Scilit]
  95. Zhang, R.F.; Li, H.Y.; Liu, Z.C. Synergistic Enhancement of Carbon Sinks and Connectivity: Restoration and Renewal of Ecological Networks in Nanjing, China. Land 2025, 14, 93. [Google Scholar] [CrossRef] [Scilit]
  96. Song, H.Y.; Wang, M. Integrating ecosystem services: A new indicator for evaluating net carbon sink efficiency of urban green spaces and its influencing factors. Ecol. Indic. 2025, 178, 113901. [Google Scholar] [CrossRef] [Scilit]
  97. Chen, T.Y.; Ye, Z.B.; Jiang, K.N.; Zhang, N.; Lin, Z.Q.; Liu, Q.Y.; Guo, Y.R.; Huang, H. Green energy and rooftop innovation: Unlocking the carbon reduction potential of photovoltaic-green roofs. Energy Build. 2024, 321, 114682. [Google Scholar] [CrossRef] [Scilit]
  98. Chen, C.F. Performance evaluation and development strategies for green roofs in Taiwan: A review. Ecol. Eng. 2013, 52, 51–58. [Google Scholar] [CrossRef] [Scilit]
  99. Lv, H.L.; Wang, W.J.; He, X.Y.; Wei, C.H.; Xiao, L.; Zhang, B.; Zhou, W. Association of urban forest landscape characteristics with biomass and soil carbon stocks in Harbin City, Northeastern China. PeerJ 2018, 6, e5825. [Google Scholar] [CrossRef] [Scilit]
  100. Huang, J.; Song, P.H.; Liu, X.J.; Li, A.; Wang, X.Y.; Liu, B.G.; Feng, Y. Carbon Sequestration and Landscape Influences in Urban Greenspace Coverage Variability: A High-Resolution Remote Sensing Study in Luohe, China. Forests 2024, 15, 1849. [Google Scholar] [CrossRef] [Scilit]
  101. Liu, S.; Zhang, X.S.; Feng, Y.J.; Xie, H.; Jiang, L.; Lei, Z.K. Spatiotemporal Dynamics of Urban Green Space Influenced by Rapid Urbanization and Land Use Policies in Shanghai. Forests 2021, 12, 476. [Google Scholar] [CrossRef] [Scilit]
  102. Xiong, Y.; Sun, Y.Y.; Yang, Y.F. Impact of Urban Green space landscape metrics on Carbon Emissions: A Gray BP Neural Network and Geo-Detector Analysis. Sustainability 2025, 17, 7245. [Google Scholar] [CrossRef] [Scilit]
  103. Li, J.W.; Ma, J.; Xu, J.X.; Tang, Y.A.; Wang, Q.B.; Song, G.H.; Qi, G.P. Space evidence of enhanced photosynthetic carbon uptake under fragmented temperate forests. Environ. Res. Lett. 2022, 17, 044011. [Google Scholar] [CrossRef] [Scilit]
  104. Hu, Y.W.; Zhao, J.C.; Li, Y.; Tang, P.; Yang, Z.; Zhang, J.J.; Sun, R.X. Biomass and Carbon Stock Capacity of Robinia pseudoacacia Plantations at Different Densities on the Loess Plateau. Forests 2024, 15, 1242. [Google Scholar] [CrossRef] [Scilit]
  105. Guo, Y.J.; Ren, Z.B.; Wang, C.C.; Zhang, P.; Ma, Z.J.; Hong, S.Y.; Hong, W.H.; He, X.Y. Spatiotemporal patterns of urban forest carbon sequestration capacity: Implications for urban CO2 emission mitigation during China’s rapid urbanization. Sci. Total Environ. 2024, 912, 168781. [Google Scholar] [CrossRef] [Scilit]
  106. Craine, J.M.; Dybzinski, R. Mechanisms of plant competition for nutrients, water and light. Funct. Ecol. 2013, 27, 833–840. [Google Scholar] [CrossRef] [Scilit]
  107. Shi, N.; Yu, Y.; Liang, S.T.; Ren, Y.C.; Liu, M.Q. Effects of urban green spaces landscape pattern on carbon sink among urban ecological function areas at the appropriate scale: A case study in Xi’an. Ecol. Indic. 2024, 158, 111427. [Google Scholar] [CrossRef] [Scilit]
  108. Xue, S.B.; Ma, B.; Wang, C.G.; Li, Z.B. Identifying key landscape pattern indices influencing the NPP: A case study of the upper and middle reaches of the Yellow River. Ecol. Model. 2023, 484, 110457. [Google Scholar] [CrossRef] [Scilit]
  109. Cai, L.; Feng, X.P.; Yu, J.Y.; Xiang, Q.C.; Chen, R. Reduction in Carbon Dioxide Emission and Energy Savings Obtained by Using a Green Roof. Aerosol Air Qual. Res. 2019, 19, 2432–2445. [Google Scholar] [CrossRef] [Scilit]
  110. Wan, Y.S.; Wang, Y.L.; Gao, M.; Jin, L. An empirical assessment of whether urban green ecological networks have the capacity to store higher levels of carbon. Sci. Rep. 2024, 14, 3132. [Google Scholar] [CrossRef] [Scilit]
  111. Zhao, J.Y.; Li, Z.Y.; Wu, J.; Xu, Z.C.; Jia, B.Y. Ecological spatial network optimization of carbon sink patches for enhanced carbon sink in Wuhan Metropolitan Area, China. Ecol. Indic. 2024, 165, 1121177. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.