Next Article in Journal
A UAV-to-Satellite Scaling Framework for Monitoring Cotton Boll Opening Using Sentinel-2 Earth Observations
Previous Article in Journal
Coupling Trend–Pattern Dynamics for Synergistic Governance: A Multi-Scale Assessment of Carbon Emissions and Ecosystem Services in the Yellow River Basin
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Spatial Heterogeneity in the Local Clustering of Traditional Villages in Southern Zhejiang, China: Insights from Random Forest–SHAP and Multiscale Spatial Regression Models

1
College of Civil Engineering and Architecture, Zhejiang University, Hangzhou 310058, China
2
Institute of Urban and Rural Planning Theories and Technologies, Zhejiang University, Hangzhou 310058, China
3
Center for Balance Architecture, Zhejiang University, Hangzhou 310058, China
4
Department of Urban Design and Planning, University of Washington, Seattle, WA 98195, USA
5
Island and Coastal Zone Institute, Urban and Rural Innovation Design Research Center, Zhejiang University, Hangzhou 310058, China
*
Author to whom correspondence should be addressed.
Land 2026, 15(8), 1360; https://doi.org/10.3390/land15081360
Submission received: 11 June 2026 / Revised: 16 July 2026 / Accepted: 17 July 2026 / Published: 29 July 2026

Abstract

This study develops a scale-aware and reproducible framework for examining the local clustering intensity of 612 recognized traditional villages in southern Zhejiang, China. Equal-weight Gaussian leave-one-out kernel density estimation (LOO-KDE; h = 21.01 km) excluded each focal village’s direct self-contribution, while explicitly acknowledging shared-neighbour dependence among the derived outcomes. Village-scale models used the same X1–X12 predictor set after correlation and variance-inflation screening; county socioeconomic indicators were analyzed separately for the 27 represented county-level units. A Random Forest selected from 144 prespecified candidates achieved an out-of-bag R2 of 0.353 and a county-grouped pooled R2 of 0.115. Repeated spatial holdouts yielded weak transferability: mean R2 was −0.081 for coordinate K-means and 0.082 for shifted 50 km grids without buffers, and became negative for both designs with one- or two-bandwidth buffers. SHAP ranked elevation, topographic relief, and village household count as the leading village-scale predictive contributors. OLS explained 30.5% of outcome variance, whereas SLM and SEM results depended strongly on whether structural/filtered fits or covariate-only predictions were evaluated. GWR and MGWR reached R2 = 0.9743 and 0.9984, and residual Moran’s I remained significant for all models except MGWR (I = 0.002, p = 0.429). At the county scale, rural disposable income and tertiary-industry output were negatively correlated with mean LOO-KDE, but multivariable HC3 estimates were imprecise and ecologically interpreted. The results identify associations with the clustering of recognized villages, not causes of individual-village heritage persistence.

1. Introduction

1.1. The Research Topic: Spatial Clustering of Traditional Villages

Traditional villages are part of a wider international concern with vernacular heritage, rural cultural landscapes, and historically layered settlement systems. International conservation discourse has moved beyond the protection of isolated monuments toward landscape-scale and relational approaches that consider settlements, productive land, ecological settings, infrastructure, and everyday cultural practices as integrated heritage systems [1,2,3,4]. Within this broader perspective, the spatial clustering of traditional settlements is not merely a cartographic pattern; it is a record of long-term human-environment adaptation, changing accessibility, uneven modernization pressure, and the institutional processes through which certain landscapes become recognized as heritage. Therefore, methods that can distinguish local clustering intensity, regional context, spatial dependence, and spatial heterogeneity are relevant not only to Chinese traditional villages but also to comparative studies of rural heritage landscapes in other regions.
In China, rapid urbanization has profoundly reshaped rural settlement systems [5]. The National Traditional Village Protection Project, launched in 2012, has produced an official heritage inventory of 8155 villages across six batches, and these recognized villages form pronounced regional clusters rather than an even spatial distribution. Existing Chinese studies have documented large-scale distribution patterns and associated factors using GIS, Geodetector, GWR, spatial econometrics, and machine-learning methods [6,7,8,9,10,11,12,13,14,15,16]. These studies provide an important empirical basis, but they often rely on administrative counts or conventional KDE surfaces and therefore have difficulty separating the clustering intensity surrounding a focal village from the focal village’s own presence. They also tend to apply machine-learning interpretation, spatial dependence modelling, and local spatial heterogeneity analysis as separate procedures, sometimes with different variable sets. This makes it difficult to compare predictive relevance, spatial dependence, and local non-stationarity within a unified framework.
Southern Zhejiang provides a useful case for demonstrating such a framework because it combines dense rural heritage resources, mountainous terrain, river-valley settlement systems, and big internal differences in development context. The region differs markedly from the water-town lowlands of northern Zhejiang and the more urbanized central basins. Previous research on southwest Zhejiang has shown that village boundaries are frequently clustered or banded and that morphology is closely related to terrain, rivers, roads, and long-term settlement adaptation [17]. However, the question addressed here is not simply how individual village forms evolved, but how recognized traditional villages are locally clustered and how that clustering can be interpreted through a consistent cross-scale modelling workflow.
The present distribution of recognized traditional villages is treated as a conditional heritage-inventory pattern rather than as direct evidence of why individual settlements were established or preserved. Local terrain, hydrology, and accessibility describe the environmental settings in which settlement systems developed, whereas village size and county-level socio-economic indicators describe contemporary contexts surrounding the recognized clusters. These variables may be associated with clustering intensity, but the cross-sectional design cannot determine whether development contexts altered heritage persistence, whether heritage recognition influenced local development, or whether both reflect unobserved historical and institutional processes.

1.2. Existing Research on Traditional Villages

Although studies in architecture and planning have explored traditional villages from the perspectives of spatial form [18], construction techniques [19], morphology [20], and human–environment interaction [21], comprehensive analyses of their spatial distribution patterns and associated factors remain limited. Recent regional studies have increasingly emphasized that traditional village distribution is not random, but is shaped by the interaction of natural geographical constraints, historical processes, and socio-economic development. For instance, Yuan et al. studied 777 traditional villages in Yunnan Province using GWR and Geodetector, revealing an evidently clustered pattern described as “three high-density areas and multiple medium-density belts,” and showing the influence of elevation, slope, climate, hydrology, transportation, population density, and GDP on village distribution [22]. Similarly, Cao and Kim analyzed traditional villages in the Liaoxi Corridor and found that they form high-density settlement areas in Chaoyang County and Beizhen City, with most villages located in hilly and mountainous areas and river valleys under the combined influence of topography, water sources, immigration, settlement history, border defence, and ethnic integration [23]. These studies confirm the importance of integrating natural and human factors when explaining the spatial formation of traditional villages.
In addition to spatial distribution and influencing factors, recent studies have begun to examine the transformation, connectivity, and development potential of traditional villages. Jia et al. investigated the tourism transformation levels of traditional villages in Shaanxi Province using Geodetector and grounded theory. Their results show that most traditional villages had not yet developed tourism, with only 11.98% reaching a relatively mature tourism stage, suggesting that tourism and service-sector development do not automatically translate into heritage revitalization [24]. Fan et al. further examined traditional village clusters in Qiandongnan Prefecture, a major traditional village agglomeration area with 415 nationally designated villages. Their study found a “dense core, sparse periphery, and localized jumps” spatial pattern, a clustered but internally fragile connectivity network, and medium-to-low overall development potential [25]. These findings suggest that traditional village research should move beyond isolated village description toward regional coordination, spatial network analysis, and differentiated development strategies.

1.3. Quantitative Methodological Tools

Geographic tools such as GIS were initially used to evaluate risks to traditional built heritage [26]; subsequent spatial differentiation studies in areas such as Southwest China demonstrated the relevance of spatial pattern analysis for rural revitalization [27]. Among spatial models, Geographically Weighted Regression (GWR) has gained popularity for capturing spatial non-stationarity in regression relationships [28,29,30,31]. GWR typically outperforms traditional regression models in accuracy and flexibility [32,33,34], and has inspired further developments [35,36,37,38]. However, standard GWR models use a single distance-based kernel for all variables, which may be inadequate when different factors operate at different spatial scales.
To address this, Fotheringham et al. (2017) introduced the Multiscale Geographically Weighted Regression (MGWR) model [36], which enables different explanatory variables to operate at variable spatial scales. MGWR has since been applied in heritage-related contexts, including risk assessment for cultural heritage [39] and rural spatial analysis [40,41,42,43,44,45]. Compared to conventional GWR, MGWR better captures spatial heterogeneity and reduces estimation bias by adjusting bandwidths per variable. The methodological relevance of multi-scale analysis is also supported by recent traditional-village studies [16,22], indicating that traditional village distribution should be understood through both spatial heterogeneity and factor interaction.
Despite these advancements, many studies neglect variables such as cultivated land area, forest cover, transportation networks, and broader socio-economic conditions. Recently, machine learning models like Random Forest (RF) have been introduced to address these limitations [46,47]. RF offers high predictive accuracy and robustness but lacks interpretability due to its black-box nature. To overcome this, model-agnostic tools such as SHAP (SHapley Additive exPlanations) have been employed. Proposed by Lundberg and Lee (2017), SHAP uses cooperative game theory to quantify each variable’s contribution [48], enhancing interpretability for complex models like RF. The TreeSHAP extension allows for efficient, theoretically sound computation in tree-based models [49], along with effective visualization techniques [50].
In parallel with local regression approaches, spatial econometric models such as the spatial lag model (SLM) and the spatial error model (SEM) provide an explicit treatment of spatial dependence, either in the outcome variable itself or in the error structure [51]. Because the residuals of regressions fitted to spatial data frequently remain autocorrelated, residual Moran’s I statistics and local indicators of spatial association (LISA) are standard diagnostics for judging whether spatial dependence has been adequately absorbed. These tools play different roles: machine-learning interpretation (RF-SHAP) identifies predictive relevance rather than causal importance; spatial econometric models diagnose and absorb spatial dependence; and GWR/MGWR explore spatial non-stationarity and the operating scales of individual variables. When the three perspectives share one pre-screened variable set, their results can be compared without confounding differences in model inputs.
The innovation of this study does not rest on introducing RF, SHAP, spatial econometric models, or MGWR individually. It lies in a scale-aware workflow for point-referenced heritage inventories that separates outcome construction, village-scale predictive interpretation, county-level ecological association, spatial dependence, and spatial non-stationarity. The LOO-KDE outcome removes direct self-contribution while retaining the shared-neighbour dependence inherent in a density surface derived from one point pattern. Village-varying predictors and county-level contextual indicators are therefore analyzed separately, and validation is designed to expose rather than conceal spatial leakage and limited geographic transferability. The framework is intended to show which claims can be supported at each analytical scale, while the empirical description of a Lishui-centred multi-core pattern remains specific to southern Zhejiang. For traditional villages and other forms of architectural and regional cultural heritage, identifying spatial concentration and contiguity may also help reveal relationships among building ensembles, settlement morphology, productive landscapes, routes, waterways, ritual spaces, craftsmanship, and collective memory that extend beyond individual village boundaries.

1.4. Research Questions and Objectives

Zhejiang Province, ranking fourth in China for the number of designated traditional villages, is a vital region for such research. Within it, southern Zhejiang is a core cluster area (Figure 1), sharing geographical, climatic, and cultural features. However, modernization has led to growing disparities between its cities, affecting village distribution and preservation. Existing national and provincial studies provide important references, but they often fail to fully capture the distinctive conditions of southern Zhejiang: rugged mountainous terrain, dense river systems, historically clan-based settlements, improved transportation accessibility, and rapid socio-economic restructuring.
Conceptually, path dependence, rural resilience, and cultural-landscape continuity provide reasons to expect spatially structured associations between inherited settlement systems and their environmental and regional contexts [52,53,54,55,56]. These perspectives do not establish tertiary-industry output, income, or city distance as direct measures of modernization pressure. Accordingly, village-scale variables describe local settlement environments, whereas county-level indicators of per capita GDP, rural per capita disposable income, and primary-, secondary-, and tertiary-industry output describe repeated development contexts. These contextual indicators are interpreted only at the county ecological scale after their formal codes are defined in Table 1, with reverse causality and unobserved institutional processes remaining possible.
Accordingly, this study distinguishes two components throughout the paper: the development of a generalizable analytical workflow and its application to the case of southern Zhejiang. The research asks three questions. (1) How can the local clustering intensity of recognized traditional villages be measured without self-contribution bias? (2) Where are the recognized traditional villages in southern Zhejiang locally clustered more strongly? (3) Which village-scale and county-level contextual variables are associated with this clustering intensity, and at which spatial operating scales are these associations expressed?
To answer these questions, this study pursues three objectives: (1) to construct and test a LOO-KDE indicator as a transferable outcome measure for local clustering intensity; (2) to integrate RF-SHAP, OLS, SLM, SEM, GWR, MGWR, residual diagnostics, and sensitivity analysis under one pre-screened variable set so that different modelling assumptions can be compared transparently; and (3) to demonstrate how the workflow can support cautious, spatially differentiated interpretation of heritage settlement clusters while acknowledging the limits of cross-sectional and cross-scale data. The overall workflow is summarized in Figure 2.

2. Materials and Methods

2.1. Case Study Area and Rationale

The southern Zhejiang region refers to the three southernmost municipalities in Zhejiang Province, China, geographically delineated by the Tiantai Mountains, Kuocang Mountains, and Xianxia Mountains. These mountains separate the region from the major basins and plains to the north. Administratively, the study area includes Taizhou, Wenzhou, and Lishui, comprising a total of 30 counties (county-level cities or districts), with a combined land area of 39,428.43 km2. Of these 30 units, three contain no nationally, provincially, or municipally designated traditional village and therefore contribute no sampled village records; the remaining 27 units, each represented by at least one sampled village, supply the effective county-level context data used in the ecological analysis. The formal variable codes are introduced only in Table 1.
The study focuses on the traditional villages currently listed as national-level, provincial-level (Zhejiang), and municipal-level traditional villages within the southern Zhejiang region. As of 2025, six batches of traditional villages have been officially designated. Based on the publicized lists of the 1st to 6th batches of national traditional villages, as well as provincial and municipal designations, a total of 612 traditional villages are located in southern Zhejiang, accounting for 45.67% of the 1340 traditional villages in the entire province. This makes the region one of the most densely concentrated areas of traditional villages in southeastern China (Figure 1).
Within this provincial context, southern Zhejiang is appropriate as a case study for testing a cross-scale clustering workflow. It is neither a purely remote mountain region nor a uniformly urbanized coastal belt. Instead, it contains mountainous cores, river-valley corridors, coastal and inland development gradients, and uneven county-level economic restructuring. This combination makes it possible to examine whether recognized traditional-village clusters are associated with both local settlement-environment conditions and broader county-level development contexts.
The case also has methodological value. First, its 612 recognized traditional villages are numerous enough for point-referenced modelling but unevenly distributed enough to expose the problem of spatial dependence and spatial leakage. Second, the sample combines village-scale environmental variables with county-level socio-economic context, allowing the study to test how far a cross-scale framework can be interpreted without falling into village-level causal claims or pseudo-replication. These features make southern Zhejiang a suitable demonstration case, while the workflow itself is intended to be transferable to other rural heritage landscapes where detailed village-level socio-economic data are limited.

2.2. Data Sources

The data used in this study were collected from the following sources:
Traditional village lists: The 1st to 6th batches of national-level traditional villages (a total of 8155 villages) were published on the official website of the Ministry of Housing and Urban–Rural Development of China; the most recent (sixth) batch of the national list was published in 2023. Additional provincial- and municipal-level traditional villages were obtained from the Zhejiang Provincial Department of Housing and Urban–Rural Development. The geographic centroid coordinates of each village were extracted and converted into a vector database in ArcGIS, including fields such as village name, province, city, county (or district), address, and geographic coordinates.
Elevation data: Digital Elevation Model (DEM) data (ASTER GDEM) with a spatial resolution of 30 m for all counties and districts in southern Zhejiang were obtained from the Resource and Environment Science and Data Center (RESDC), Chinese Academy of Sciences (http://www.resdc.cn/; accessed on 19 July 2026).
Land use data: Land use remote sensing data were also obtained from the RESDC, using the 2023 raster dataset at 1 km resolution (https://www.resdc.cn/DOI/DOI.aspx?DOIID=54; accessed on 19 July 2026). From these data, the distribution of water bodies was extracted.
Road network data: National-scale 1:250,000 road network data were sourced from the National Geospatial Information Resources Catalog Service System (2023 edition). These data include national highways, provincial roads, county roads, township roads, other public roads, urban streets, and rural roads.
Socioeconomic data: County- and district-level data on Gross Domestic Product (GDP), per capita GDP, rural per capita disposable income, and the output of the primary, secondary, and tertiary industries were collected from the 2023 statistical yearbooks of the three municipalities (Taizhou, Wenzhou, and Lishui).
Demographic data: Village-scale demographic conditions were measured as the number of households in each village, with the Seventh National Population Census of China (2020) used as background reference data. The household counts themselves were collected through field investigation: each of the 612 sample villages was surveyed by the authors in 2025, and the reported counts reflect the household statistics registered within each village for 2024. The household, rather than the total population, was adopted as the indicator of village scale because it is a basic unit of rural production and daily life in Chinese traditional villages; the corresponding code is defined later in Table 1.
Urban location data: The geographic coordinates of major cities in the study area were compiled for proximity analysis.
Cultivated and forest land area: Data on the area of cultivated and forest land for each village were obtained through on-site surveys and field investigations, supplemented by 2023 statistics provided with the assistance of local government departments.
Geological hazard data: Data on geological hazards were sourced from the RESDC online data platform (https://www.resdc.cn/DataSearch.aspx; accessed on 19 July 2026), using records up to 2023.
All spatial and attribute data were processed in ArcGIS Desktop 10.8 (Esri, Redlands, CA, USA), and the statistical workflow was implemented in Python 3.12.13 (Python Software Foundation). The reproducible environment used NumPy 2.4.6, pandas 3.0.3, GeoPandas 1.1.3, SciPy 1.17.1, scikit-learn 1.9.0, SHAP 0.52.0, libpysal 4.14.1, esda 2.9.0, spreg 1.9.0, mgwr 2.2.1, Matplotlib 3.10.9, and openpyxl 3.1.5. GeoPandas handled spatial data, scikit-learn implemented the Random Forest, SHAP provided TreeSHAP values, spreg implemented the spatial econometric models, mgwr implemented GWR and MGWR, and esda/libpysal supported spatial weights and Moran/LISA diagnostics.
Because multi-source spatial data are updated on different cycles, all variables were aligned as closely as possible to a common reference period centred on 2023: the land use, road network, socio-economic, and geological hazard data all refer to 2023, while household counts reflect 2024 village statistics collected through field surveys in 2025. The remaining temporal differences are small relative to the slow-changing nature of the corresponding variables (terrain, hydrology, and settlement scale), and are acknowledged as a limitation in Section 4.5.
The explanatory variables used in this study were derived from different spatial scales. Village-scale environmental, accessibility, land use, hazard, centrality, and household variables were extracted or recorded for each traditional village and represent local settlement conditions. In contrast, per capita GDP, rural per capita disposable income, and industrial output were obtained at the county level and assigned according to administrative membership. Consistent village-level socio-economic measures corresponding to these county indicators were not publicly available or obtainable through field investigation. All variable codes are introduced only after the indicator system is formally defined in Table 1.
This distinction requires scale-separated analysis rather than a label alone. The village-scale primary specification uses only predictors that genuinely vary among villages in RF-SHAP, OLS, SLM, SEM, GWR, and MGWR. County-level socio-economic indicators are constant for every village within a county and therefore provide far fewer independent realizations than the village sample size; assigning them repeatedly to village rows creates pseudo-replication for village-level inference. They are consequently reserved for a separate county ecological analysis based on represented counties, using the county mean and median LOO-KDE and village count. A mixed-scale model that combines the village-scale predictors with the county-level indicators is reported only as a secondary descriptive sensitivity analysis and is not interpreted as 612 independent village-level effects. The formal codes for both predictor groups are introduced in Table 1 immediately below.

2.3. Indicator System

The spatial distribution of traditional villages is influenced by the interaction of natural geographic conditions and socio-economic processes. Previous studies have commonly considered variables related to topography, hydrology, climate, population, transportation, economic development, and urbanization. While these factors provide a useful basis for understanding traditional village distribution, they may not fully capture the ecological constraints and socio-spatial characteristics of mountainous regions such as southern Zhejiang.
Therefore, rather than directly adopting an existing indicator system, this study constructs a context-sensitive explanatory framework based on the geographical characteristics of southern Zhejiang and the availability of multi-source spatial data. The region is characterized by complex mountainous terrain, dense river networks, extensive forest resources, uneven transport accessibility, and significant differences in village scale and economic development. Accordingly, this study expands the range of explanatory variables by incorporating ecological and settlement-related indicators, such as cultivated land area, forest coverage, geological hazards, distance to major roads, and number of households.
The final indicator system consists of two broad groups: natural geographic factors and socio-economic factors. Natural geographic factors are subdivided into topographic, hydrological, ecological resources, and safety-related factors. Socio-economic factors are subdivided into urbanization-related, transportation, demographic, and economic factors. Altogether, the study includes eight categories of explanatory factors and 18 specific indicator variables, as shown in Table 1. The dependent variable is the leave-one-out kernel density (LOO-KDE) value at each village location, which measures the local clustering intensity of the surrounding recognized traditional villages (Section 2.4.1).

2.4. Methods

The implemented workflow comprised seven reproducible stages: (1) audit 612 point records, identifiers, EPSG:4549 metre-based coordinates, administrative membership, missingness, and coincident points; (2) reconstruct equal-weight Gaussian LOO-KDE with the focal row excluded; (3) screen X1–X12 and use the identical retained set in RF-SHAP, OLS, SLM, SEM, GWR, and MGWR; (4) aggregate mean and median LOO-KDE and village counts to 27 represented county-level units for ecological analysis of county context; (5) tune RF with county-grouped folds and evaluate county- and municipality-held-out transfer; (6) repeat 30 coordinate K-means partitions and 30 independently shifted 50 km grids under 0, h, and 2 h buffers; and (7) compare bandwidth sensitivity, GWR/MGWR operating scales, and residual Moran/LISA diagnostics. Invalid spatial folds were retained in the audit log rather than forced into performance summaries.

2.4.1. Kernel Density Estimation and the LOO-KDE Dependent Variable

Kernel density estimation (KDE) is a spatial analysis method used to measure the concentration of point features in space by applying a kernel function to assign distance-decaying weights within a search radius. It has been widely applied in analyzing spatial distribution patterns of geographic phenomena [57]. The standard KDE is defined as
f x = 1 n h ∑ i = 1 n K 1 h x − x i
where f(x) is the estimated kernel density at location x; h is the bandwidth (search radius); n is the number of points within the search window; and K(·) is the kernel function that converts distance into weight.
Figure 1 was generated using the default Kernel Density workflow in ArcGIS Desktop 10.8. Each point was treated as an equally weighted event. The national, Zhejiang Province, and southern Zhejiang panels used search radii of 1.252596958, 0.257038784, and 0.216042493 decimal degrees, respectively, with corresponding cell sizes of 0.020000000, 0.016061372, and 0.016544490 degrees. The displayed value ranges were 0–207.039, 0–724.257, and 0–754.802, respectively. All calculations were performed in the EPSG:4326 coordinate reference system. The three kernel-density surfaces were not compared numerically, used as inputs in any model, or treated as the LOO-KDE outcome variable in this study; they were included solely as cartographic illustrations of the relative degree of spatial clustering.
A direct use of the KDE value at each village location as a dependent variable would be problematic because the focal village itself contributes to its own density estimate, creating a mechanical circularity between the outcome and the observation. To avoid this self-contribution bias, this study constructs a leave-one-out KDE (LOO-KDE) indicator: for each focal village i, the kernel density is calculated from all other recognized villages, with the focal village excluded by setting the diagonal of the pairwise distance matrix to infinity. A Gaussian kernel was used:
λ ^ − i s i = 10 6 2 π h 2 ∑ j ≠ i exp − ‖ s i − s j ‖ 2 2 h 2
where si is the focal location, j indexes every other village, h is the fixed bandwidth in metres, and the factor 106 converts square metres to square kilometres. The expression is a point-intensity sum and is therefore not divided by n − 1; dividing by n − 1 would estimate an average probability density rather than the reported clustering intensity in villages per square kilometre. The diagonal pairwise distance was set to infinity so that j never equals i.
The main bandwidth was determined by the two-dimensional Scott–Silverman rule of thumb, h = mean(SDx, SDy)·n−1/6, yielding h = 21,006.62 m. Two alternative bandwidths, 0.75 h = 15,754.96 m and 1.25 h = 26,258.27 m, were used for sensitivity analysis (Section 2.4.6). Each village point entered the KDE as an equally weighted event; in particular, the household variable X12 was not used as a KDE weight and was retained only as an explanatory variable, so that the dependent variable reflects the clustering of village entities rather than household intensity.
LOO-KDE is used as a point-referenced measure of the local clustering intensity surrounding each focal village. Excluding the focal village removes its direct contribution to its own density estimate, but it does not make the 612 derived outcomes mutually independent. All values are constructed from the same village point pattern, and nearby focal villages share many kernel-weighted neighbours. The resulting shared-neighbour construction induces structural and spatial dependence before any explanatory model is fitted. This dependence can make ordinary random cross-validation optimistic, complicate conventional regression inference, and contribute to residual spatial autocorrelation. Residual Moran’s I is therefore interpreted as a diagnostic of remaining spatial structure, not as a test that the LOO-KDE outcomes have become independent.
Retaining LOO-KDE as the dependent variable is nevertheless a deliberate and defensible choice. First, the shared-neighbour dependence is not specific to LOO-KDE: any local clustering measure computed from a single realized point pattern, including quadrat counts, nearest-neighbour indices, and local K-functions, reuses the same point locations and therefore carries an analogous dependence structure, so the practical choice is between differently smoothed dependent measures rather than between dependent and independent alternatives. Second, leave-one-out exclusion removes the only dependence component that can be eliminated by construction, the mechanical self-contribution, while preserving the quantity of substantive interest, namely the intensity of other recognized villages surrounding each focal site. Third, the remaining dependence is managed by design rather than ignored: it motivates the county-grouped and buffered validation in Section 2.4.3 and Section 2.4.6, the model-native residual diagnostics in Section 2.4.6, and the restriction of all interpretation to associations with local clustering intensity. Explicit point-process models, such as inhomogeneous Poisson or log-Gaussian Cox process regression, treat the villages themselves as random events and model the intensity surface and its stochastic dependence jointly; they are identified in Section 4.3 and Section 4.5 as a complementary direction. They were not adopted as the primary design because this study requires a fixed village-level outcome that can be passed to heterogeneous interpretive tools, RF-SHAP, global spatial regression, and MGWR, under one common predictor set.

2.4.2. Variable Screening: Correlation and VIF Diagnostics

Variable screening was conducted separately by analytical scale. For the village-scale primary models, Pearson and Spearman correlations and VIF diagnostics were calculated only for X1–X12. All 12 predictors were retained because VIF values ranged from 1.029 to 1.963, and the maximum absolute Pearson correlation was 0.558. The same X1–X12 set was then used in RF-SHAP, OLS, SLM, SEM, GWR, and MGWR. County-level indicators were not screened as 612 independent village observations; they were analyzed with the 27 represented county-level units as ecological observations. A mixed-scale model combining X1–X12 with X14, X15, X16, and X18 was reported only as a secondary prediction sensitivity check.

2.4.3. Random Forest and SHAP

Random Forest (RF) is an ensemble learning algorithm proposed by Breiman, which enhances model performance by integrating predictions from multiple decision trees [46]. Compared with traditional regression models, RF offers high accuracy, robustness against overfitting, effective handling of high-dimensional data, and the ability to output feature importance scores [58]. The ensemble prediction is
y ^ x = 1 N ∑ i = 1 N T i x  
where y ^ x is the predicted output for input x; N is the number of decision trees; and Ti(x) is the prediction of the i-th tree.
RF tuning evaluated all 144 combinations of n_estimators in {300, 600, 1000}, maximum depth in {unrestricted, 6, 9, 12}, minimum leaf size in {2, 4, 6, 10}, and max_features in {sqrt, 0.50, 0.75}. Each candidate was evaluated with a five-fold GroupKFold using the 27 represented county-level units as groups. The primary criterion was the mean fold RMSE; pooled R2 and MAE were secondary metrics, and held-out test outcomes and OOB scores were not used to select the candidate. Ties were resolved in favour of the less complex candidate. With seed 20260711, the selected configuration contained 300 trees, maximum depth 6, minimum leaf size 4, sqrt feature sampling, and bootstrap sampling. The final full-sample model additionally retained OOB predictions for diagnosis. Candidate-level and fold-level results, the final configuration, and software versions are supplied with the reproducible code.
Although Random Forest models can produce accurate predictions, their black-box nature makes it difficult to interpret which features contribute to predictions of the dependent variable. Therefore, this study adopts SHAP (SHapley Additive exPlanations) to interpret the model outputs. Grounded in cooperative game theory, SHAP quantifies the marginal contribution of each feature to model predictions, offering both local and global interpretability while addressing the limitations of methods like permutation importance and LIME [48]. The TreeSHAP algorithm enables efficient and theoretically consistent computation for tree-based models [49], with effective visualization techniques [50]. SHAP values were computed with the TreeExplainer. RF-SHAP identifies predictive relevance, not causal importance. Throughout this paper, SHAP results are therefore described as predictive contributions or associations rather than as driving mechanisms or determinants.

2.4.4. Global Spatial Regression Models: OLS, SLM, and SEM

The OLS model is a global non-spatial regression method [59,60,61]. The X1–X12 predictors were standardized to z scores, while LOO-KDE remained in villages per square kilometre. Therefore, coefficients represent the response change associated with a one-standard-deviation predictor difference. OLS provides a non-spatial benchmark; its uncertainty is interpreted cautiously when residual spatial autocorrelation remains.
y i = β 0 + ∑ j = 1 k β j x i j + ε i
where yi is the dependent variable, β0 is the intercept, βj is the regression coefficient of the j-th explanatory variable xij, k is the number of explanatory variables, and εi is a random error term.
OLS, SLM, and SEM were estimated with z-score-standardized X1–X12 predictors and the original LOO-KDE outcome scale. SLM and SEM used a row-standardized eight-nearest-neighbour (KNN-8) weights matrix. For auditability, the SLM structural fitted value rho Wy + X beta was separated from its covariate-only reduced-form prediction (I − rho W)−1 X beta. For SEM, the systematic prediction X beta and raw residual y-X beta were separated from the filtered innovation and the diagnostic fitted value y minus the filtered innovation. Consequently, response-scale RMSE and R2 were reported under explicitly named definitions; package pseudo-R2 statistics were retained only with their native definitions and were not assumed to be comparable across model classes. Model-native SLM disturbances and SEM filtered innovations were used for residual Moran/LISA diagnostics. Because the estimated spatial parameters are close to one in this application, the structural and filtered quantities are dominated by observed neighbouring outcomes and chiefly measure within-sample reconstruction; the covariate-only definitions measure prediction from the predictors alone and are therefore the appropriate basis for comparing explanatory content across model classes.
y = ρ W y + X β + ε
and the spatial error model (SEM) models spatial dependence in the error structure:
y = X β + u ,       u = λ W u + ε
where W is the spatial weights matrix, ρ is the spatial autoregressive parameter, λ is the spatial error parameter, and u is the spatially structured error term. Lagrange multiplier (LM) and robust LM diagnostics on the OLS residuals were used to assess the form of spatial dependence.

2.4.5. GWR and Multiscale Geographically Weighted Regression (MGWR)

GWR is a local regression model that embeds the spatial location of the study object into regression parameters based on OLS to explore the spatial relationship between variables at a fixed scale [28,62]:
y i = β 0 u i ,   v i + ∑ j = 1 k β j u i ,   v i x i j + ε i
where yi is the observed value of the dependent variable (the LOO-KDE local clustering intensity); xij is the j-th explanatory variable of village i; (ui, vi) are the coordinates of village i; β0(ui, vi) and βj(ui, vi) are the local intercept and coefficients; and εi is the random error term.
MGWR improves upon GWR by assigning an adaptive bandwidth to each explanatory variable, accounting for differences in spatial scale and variability [36]. MGWR is an improvement of the classical GWR model [63,64], allowing different variables to have their own bandwidth values [65,66]. For variables with strong local variation, MGWR uses narrower bandwidths, while more spatially stable variables are assigned broader bandwidths:
y i = β b w 0 u i ,   v i + ∑ j = 1 k β b w j u i ,   v i x i j + ε i
where bwj indicates the variable-specific bandwidth used for calibrating the j-th coefficient surface, and the remaining notation follows Equation (7).
GWR and MGWR were fitted to the same standardized X1–X12 predictors using adaptive bisquare kernels. GWR bandwidth was selected by AICc golden-section search over 60–612 neighbours (tolerance 1 × 10−5), selecting 67 neighbours; all 11 evaluated bandwidth-AICc pairs were retained. The initial MGWR search over 60–612 neighbours, started at a common bandwidth of 300, converged, but placed nine terms one neighbour above the lower bound. We therefore extended the audit to lower bounds of 2, 5, 10, 15, 20, 30, 40, 50, 60, and 80 and used initial common bandwidths of 67, 300, and 500 where numerically feasible. New low-domain runs allowed up to 300 backfitting iterations. A start at 11 neighbours failed because of a singular local design matrix, and a start at 20 neighbours was terminated after approximately 44 min without completion. Among converged solutions with no active lower-bound term, the lowest observed AICc was obtained with lower bound 5 and initial bandwidth 500. This revised primary candidate converged after 123 recorded iterations (final score 9.99 × 10−6) and selected 9 (intercept), 21 (X1), 114 (X2), 611 (X3), 609 (X4), 31 (X5), 22 (X6), 611 (X7), 608 (X8), 37 (X9), 15 (X10), 25 (X11), and 26 (X12) neighbours. Its minimum bandwidth of 9 exceeded the smallest permitted candidate of 6, so the lower bound was inactive. X3 and X7 selected 611 neighbours, the natural near-global limit for a 612-village sample; the result is therefore not fully interior in the mathematical sense. A lower-bound-10 run attained a slightly lower AICc (−6188.301) but retained a boundary intercept and was not eligible under the lower-bound-inactive rule. Because completed starts reached different bandwidth vectors and AICc values, the selected model is described as the best observed converged lower-bound-inactive candidate, not as a proven unique global optimum. The former lower-60 specification is retained as a conservative support sensitivity. Small local bandwidths, near-global upper-bound terms, high effective complexity, multi-start sensitivity, and elevated GWR local condition numbers require exploratory interpretation of coefficient surfaces.

2.4.6. Residual Diagnostics and Sensitivity Analysis

To verify whether spatial autocorrelation remains after estimation, global Moran’s I was computed for the residuals of OLS, SLM, SEM, GWR, and MGWR under the common spatial-weight specification reported separately in Section 2.4.8, with significance assessed by 999 random permutations (alpha = 0.05):
I = n S 0 ⋅ ∑ i ∑ j w i j z i z j ∑ i z i 2
where zi is the residual of observation i expressed as a deviation from the mean, wij is the spatial weight between observations i and j, and S0 is the sum of all spatial weights. Local Moran’s I (LISA) was used to identify the locations and types of significant residual clusters (High–High, Low–Low, High–Low, Low–High).
LOO-KDE robustness was evaluated at 0.75 h and 1.25 h, where h denotes the main fixed bandwidth, using Pearson and Spearman correlations and quintile agreement. The two coincident coordinate pairs were retained as distinct inventory records in the main analysis; an additional unique-coordinate event sensitivity quantified their influence. Residual Moran’s I was recomputed under the alternative spatial-weight settings specified separately in Section 2.4.8. These checks distinguish the robustness of the descriptive clustering indicator from the robustness of model transfer.
Predictive robustness was examined through county-grouped tuning, leave-one-county-out prediction, leave-one-municipality-out prediction, 30 coordinate K-means initializations, and 30 independently shifted 50 km grids. For each spatial partition, training villages were retained without a buffer or excluded within one bandwidth (h) or two bandwidths (2 h) of any test village. Training, test, excluded, and valid-fold counts were saved. R2, RMSE, and MAE were summarized by mean, median, standard deviation, quartiles, and range. These procedures are described as repeated spatially grouped and buffered holdout validation, not as proof of universally robust geographic transfer.

2.4.7. Consolidated Kernel and Bandwidth Specifications

Table A1 reports the kernel function, fixed or adaptive bandwidth type, numerical value, unit, selection criterion, and analytical role for the three reconstructed conventional KDE panels, the main and sensitivity LOO-KDE outcomes, GWR, and every term in the revised primary MGWR. Table A2 and Figure A1 report the lower-bound and multi-start audit, including failed, non-converged, lower-bound-active, lower-bound-inactive, and near-global upper-bound solutions. Conventional KDE, LOO-KDE, GWR, and MGWR are kept distinct because they use different kernels, coordinate units, and inferential roles. The numerical audits underlying the GWR/MGWR bandwidth specifications and residual spatial diagnostics are provided in Supplementary Files S1–S3.

2.4.8. Spatial-Weight Specification

SLM/SEM estimation and the Moran/LISA residual diagnostics do not use smoothing kernels or kernel bandwidths. They use a row-standardized eight-nearest-neighbour (KNN-8) spatial weights matrix, with K = 4, 12, and 16 examined as residual-weight sensitivities. These settings are reported separately in Table A3 to avoid conflating neighbourhood weights with KDE or geographically weighted regression kernels.

3. Results

3.1. Overall Distribution Pattern and Local Clustering Intensity

An examination of the spatial distribution of traditional villages in southern Zhejiang reveals that they are primarily concentrated in several specific areas. These include Songyang, Jingning, Longquan, and Jinyun counties in Lishui; Xianju, Tiantai, Linhai, and Sanmen in Taizhou; and Yongjia and Taishun in Wenzhou. Among them, Songyang County in Lishui City exhibits the highest concentration, forming the core of a distinct multi-nucleus concentration pattern. Overall, the spatial structure can be characterized as comprising “two cores and two clusters” (Figure 3). The two cores refer to (1) the high-density concentration of traditional villages within the administrative boundaries of Songyang County, and (2) a second prominent concentration zone formed jointly by Jingning and Longquan. The two clusters refer to (1) a moderately dense distribution at the intersection of Lishui, Taizhou, and Wenzhou, including Jinyun, Xianju, and Yongjia, and (2) another medium-density cluster in northern Taizhou, covering Tiantai, Linhai, and Sanmen.
The LOO-KDE indicator quantified this pattern at individual village locations. At the main bandwidth, the mean was 0.01825 villages km−2, the median was 0.01684, and the maximum was 0.03381. The 0.75 h and 1.25 h alternatives changed the degree of local smoothing but preserved the broad ordering. Treating coincident coordinate pairs as one spatial event changed LOO-KDE by only 0.000050 on average and produced a Spearman correlation of 0.9999 with the main indicator. The two coincident pairs were therefore retained as distinct recognized-village records, with the unique-coordinate result reported as a sensitivity rather than as an unrecorded deletion.
Geographically, the distribution of traditional villages in southern Zhejiang is closely associated with the combined structure of mountains and river valleys. As shown in Figure 4, most villages are concentrated in hilly and mountainous areas rather than in lowland plains or highly urbanized coastal zones. They are especially dense in the western and southwestern mountainous parts of southern Zhejiang, where high-relief terrain, valley systems, and relatively enclosed settlement environments provide favourable conditions for the long-term continuity of traditional settlements. The village points also show an evident corridor-like pattern along major mountain ranges such as Baishanzu, Kuocang, and Tiantai, forming several mountainous settlement belts. In addition, the river-network layer indicates that many traditional villages are located along main streams and tributary valleys, suggesting that river corridors not only provided water resources and transportation routes, but also shaped the linear spatial organization of settlement clusters. Overall, Figure 4 demonstrates that the local clustering of traditional villages in southern Zhejiang is not randomly distributed, but is strongly related to terrain constraints, valley accessibility, and mountain–water spatial structures.

3.2. Variable Screening Results

The village-scale correlation structure did not require variable deletion. VIF values ranged from 1.029 for X9 to 1.963 for X4, and all tolerances exceeded 0.509. The largest pairwise Pearson correlations were X1–X4 (r = 0.558), X2–X4 (r = 0.513), and X7–X12 (r = 0.426). Accordingly, X1–X12 formed the common primary set for every village-level model. The county context was analyzed separately rather than being allowed to determine village-scale VIF screening (Table 2).

3.3. Random Forest Performance and SHAP Interpretation

The selected RF showed substantially different performance across evaluation designs. Apparent training R2 was 0.576 (RMSE = 0.005553), OOB R2 was 0.353 (RMSE = 0.006861), and five-fold county-grouped pooled R2 was 0.115 (RMSE = 0.008026). Leave-one-county-out prediction yielded R2 = 0.066, whereas pooled leave-one-municipality-out prediction was negative (R2 = −0.862). Across 30 repetitions, unbuffered coordinate K-means produced a mean R2 = −0.081, while shifted 50 km grids produced a mean R2 = 0.082. At a one-bandwidth buffer, mean R2 fell to −0.143 and −0.239, respectively; at two bandwidths, it fell to −0.475 and −0.650. These results indicate modest within-region predictive structure but weak spatial transfer once geographic separation is imposed (Figure 5).
TreeSHAP for the final X1–X12 RF ranked elevation (X1; mean |SHAP| = 0.001645), topographic relief (X4; 0.001027), household count (X12; 0.000965), distance to the central city (X10; 0.000685), and forest land area (X8; 0.000551) as the five largest global predictive contributions. Higher elevation and relief generally shifted predictions upward, while larger household count and greater city distance tended to shift predictions downward over substantial parts of their observed ranges. These directions describe the fitted model and do not establish causes of heritage persistence (Figure 6).
Feature stability was stronger for the leading full-sample ranking than for geographically held-out permutation importance. Across 50 bootstrap refits, X1 ranked first in every run; X4 and X12 appeared in the top three in 94% and 82% of runs. However, in five county-grouped test folds, permutation ranks varied, and several mean importance changes approached or crossed zero. The dependence and interaction plots are therefore used to describe nonlinear predictive patterns within the study region, while the spatial holdout results define their limited transferability.
County socioeconomic indicators were excluded from the primary SHAP analysis. In the separate 27-unit ecological analysis, mean county LOO-KDE was negatively correlated with rural per capita disposable income (X15; Spearman rho = −0.632, p = 0.0004) and tertiary-industry output (X18; rho = −0.665, p = 0.0002). Correlations for per capita GDP (X14; rho = −0.308) and primary-industry output (X16; rho = −0.366) were not significant at 0.05. The four-predictor standardized HC3 model had R2 = 0.532 and adjusted R2 = 0.447, but no coefficient was conventionally significant; X15 was borderline (beta = −0.977, p = 0.0502). Because X15 and X18 were collinear at the county scale and n = 27, these findings are ecological associations with substantial uncertainty.
The X1–X12 dependence plots show marked nonlinearity and interactions rather than constant marginal slopes. The interaction summary concentrates the largest joint contributions among the leading terrain, settlement-size, and accessibility variables. Because SHAP interactions inherit the RF’s weak buffered spatial transfer, they are treated as exploratory descriptions of the fitted regional pattern and not as evidence of stable mechanisms (Figure 7 and Figure 8).

3.4. Global Spatial Regression: OLS, SLM, and SEM

OLS explained 30.5% of the in-sample variance (RMSE = 0.007113). Under conventional OLS inference, X1, X4, and X5 were positively associated with LOO-KDE, while X6, X10, and X12 were negative; however, the OLS residual Moran’s I of 0.794 shows that independent-error inference is untenable. The SLM spatial parameter was rho = 0.9846, and the SEM parameter was lambda = 0.9887. In the SLM, X1 was positive, and X10–X11 were negative at p < 0.05; in the SEM, X6, X10, and X11 were negative at p < 0.05. These coefficients describe conditional spatial-model associations and remain sensitive to the shared-neighbour construction of the outcome (Table 3).
The prediction audit resolved the previous apparent contradiction. The SLM package pseudo-R2 was 0.9803; its structural fitted values, which include the observed spatial lag Wy, gave RMSE = 0.001229 and R2 = 0.9792. Its covariate-only reduced form instead gave RMSE = 0.028057 and R2 = −9.8195. The SEM package pseudo-R2 was 0.1615; its systematic X beta prediction gave RMSE = 0.041743, whereas subtracting the spatially filtered innovation from y gave a diagnostic RMSE of 0.001233. Thus, the similar 0.00123 values refer to model-native structural/filtered diagnostics, not to directly comparable covariate-only predictions. All arrays are supplied at the observation level (Table 4).
Read plainly, the two similar RMSE values and the two dissimilar pseudo-R2 values answer different questions, and their combination is expected rather than contradictory. With rho = 0.9846 and lambda = 0.9887, both models attribute almost all systematic variation to spatial structure rather than to the covariates, so any fitted quantity that conditions on observed neighbouring outcomes reproduces the observed values almost exactly; this common conditioning, not equivalent covariate content, is why both model-native diagnostics approach RMSE = 0.00123. The package pseudo-R2 values differ sharply only because the SLM statistic is computed from the lag-inclusive structural fit, whereas the SEM statistic is computed from the covariate-only systematic component. Near-unit spatial parameters are themselves consistent with the outcome construction described in Section 2.4.1: a shared-neighbour outcome behaves locally like a spatial average of nearby outcomes, which a spatial-lag or spatial-error specification absorbs into rho or lambda. Under the comparable covariate-only definitions, both models predict weakly, in line with the modest grouped spatial validation of the Random Forest; the prediction audit, the dependence statement, and the validation results therefore corroborate one another.

3.5. GWR and MGWR: Model Comparison and Operating Scales

GWR selected 67 neighbours and achieved R2 = 0.974286, adjusted R2 = 0.956107, AICc = −5463.77, RMSE = 0.001368, and ENP = 253.05. The revised primary MGWR, selected as the best observed converged lower-bound-inactive candidate in the multi-start audit, achieved R2 = 0.998401, adjusted R2 = 0.995963, AICc = −6155.20, RMSE = 0.000341, and ENP = 369.05. Thus, MGWR produced a substantial in-sample reduction in residual error and a lower AICc, but at markedly greater effective complexity, with sensitivity to the search start and near-global upper-bound terms. These are calibration results, not geographically held-out validation, so they do not override the weak RF transfer results or establish universal out-of-region performance.
The revised MGWR bandwidths ranged from nine to 611 neighbours. X3 and X7 selected 611 neighbours, while X4 and X8 selected 609 and 608, indicating nearly global surfaces. In contrast, the intercepts, X10, X1, X6, X11, and X12, used 9–26 neighbours, indicating strongly localized calibration. None selected the lower-bound candidate of six, but the large contrast between local and near-global terms and the strong multi-start dependence show that the objective surface is complex. The GWR local condition number had a median of 95.9, a 95th percentile of 201.8, and a maximum of 2190.4. The mapped MGWR surfaces are therefore presented as exploratory evidence of scale heterogeneity rather than stable pointwise effects (Figure 9).

3.6. Spatial Heterogeneity of MGWR Coefficients

Figure 10 maps the six X1–X12 variables with the largest local coefficient standard deviations in the revised primary MGWR: distance to the central city (X10), elevation (X1), distance to rivers (X6), distance to roads (X11), geological hazards (X9), and river level (X5). Sign changes and localized extremes are visible, but the surfaces should be read together with the multi-start audit, bandwidth scale, effective complexity, and local conditioning diagnostics rather than as independently stable local effects.
County-level coefficient surfaces are not included in the primary MGWR result because repeated county values do not support village-level local-effect inference. Therefore, Figure 10 reports only the X1–X12 surfaces, together with external province, city, and county boundaries for geographic context.

3.7. Residual Spatial Autocorrelation Diagnostics

Under row-standardized KNN-8 weights and 999 permutations, residual spatial autocorrelation remained significant for OLS (Moran’s I = 0.794, p = 0.001), the SLM structural disturbance (I = 0.288, p = 0.001), the SEM filtered innovation (I = 0.298, p = 0.001), and GWR (I = 0.223, p = 0.001). In contrast, the revised primary MGWR residual Moran’s I was 0.002 (p = 0.429). It also remained small and non-significant under K = 4, 12, and 16 (I = 0.008, 0.011, and 0.018; p = 0.349, 0.200, and 0.079). This indicates that the revised MGWR absorbed the residual spatial autocorrelation detectable under the tested KNN definitions. It does not make the shared-neighbour LOO-KDE outcomes mathematically independent, and the very strong in-sample fit, small local bandwidths, and multi-start sensitivity remain important qualifications (Table 5; Figure 11, Figure 12 and Figure 13).

3.8. Sensitivity Analysis of the LOO-KDE Dependent Variable

The LOO-KDE ordering was robust to bandwidth choice. Relative to the main bandwidth, 0.75 h produced Pearson r = 0.9834 and Spearman rho = 0.9861, while 1.25 h produced Pearson r = 0.9904 and Spearman rho = 0.9886. Exact quintile agreement was 77.8% and 88.6%, respectively, and every village remained within one quintile under both alternatives. The unique-coordinate event sensitivity had Pearson r = 0.99995, Spearman rho = 0.99990, and 99.35% exact quintile agreement. Thus, bandwidth and coincident-point handling did not materially alter the broad spatial ranking (Figure 14).

3.9. Repeated Spatial Validation, County Ecology, and Geographic Transfer

Repeated spatial validation materially narrowed the predictive claim. For coordinate K-means, mean R2 across 30 repetitions was −0.081 without a buffer, −0.143 with a one-bandwidth buffer (h), and −0.475 with a two-bandwidth buffer (2 h). For 30 shifted 50 km grids, mean R2 was 0.082 without a buffer, −0.239 with a one-bandwidth buffer (h), and −0.650 with a two-bandwidth buffer (2 h). All 30 repetitions remained numerically valid at each buffer, and detailed fold counts identify the training observations removed around test regions. These are repeated, buffered, spatially grouped holdouts; they demonstrate limited geographic transfer rather than universal robustness (Table 6; Figure 15).
The county ecological analysis used 27 represented units and did not treat village rows as independent replications of the county context. Spearman results were similar for the county mean and median LOO-KDE. The multivariable HC3 model explained 53.2% of standardized mean-LOO-KDE variance, but its coefficient uncertainty and leave-one-county sensitivity preclude strong claims. The negative bivariate associations of X15 and X18 are best understood as contextual contrasts among represented counties, not explanations of why individual villages remained traditional.
Municipality-held-out performance was poor for each city: R2 = −2.200 when Lishui was held out, −0.942 for Taizhou, and −6.078 for Wenzhou; pooled R2 was −0.862. Therefore, the imbalance in sample size (Lishui 390, Taizhou 134, Wenzhou 88) and outcome distribution limits geographic generalization. The main SHAP ranking describes a within-region predictive structure dominated by the Lishui-rich sample and should not be extrapolated to an unobserved municipality (Figure 16).
The final X1–X12 MGWR removed repeated county indicators and was selected from an archived lower-bound and multi-start audit. The revised primary candidate used a 5–612-neighbour search domain, started at 500 neighbours, converged after 123 iterations, and selected term-specific bandwidths of 9–611 neighbours. Its lower bound was inactive, while X3 and X7 reached the natural near-global upper limit. All bandwidths, convergence scores, local coefficients, fitted values, residuals, and competing starts are supplied. The lower-60 model remains a conservative sensitivity, while the revised primary is described as the best observed converged lower-bound-inactive candidate rather than a unique or fully interior global optimum (Table 7).

4. Discussion

4.1. Methodological Contribution and Applicability to Other Cases

The methodological contribution is a scale-aware workflow for measuring and interpreting the local clustering of recognized rural heritage settlements. LOO-KDE excludes the focal village from its own density estimate, thereby removing direct self-contribution, but it does not make the derived outcomes independent because nearby focal villages share many contributors. Therefore, the framework couples scale-separated predictors with dependence-aware validation and residual diagnostics.
A second contribution is the separation of modelling tasks and inferential scales. RF-SHAP identifies nonlinear predictive associations among village-varying predictors; SLM and SEM diagnose spatial dependence; GWR/MGWR explore spatially varying village-scale associations and operating scales; and county socio-economic indicators are examined separately as ecological/contextual associations. Comparisons are meaningful only when the village models use one common confirmed predictor set.
The framework is nevertheless not a substitute for causal historical explanation. Cross-sectional models cannot establish whether modernization indicators weaken clustering, whether heritage clusters shape local development, or whether both are jointly produced by unobserved historical and institutional processes. The workflow is best understood as a diagnostic and comparative tool that can guide more detailed archival, field, and longitudinal research.

4.2. Empirical Insights from the Southern Zhejiang Case

The southern Zhejiang application shows that recognized traditional villages form a multi-core pattern rather than a random distribution. The strongest clustering occurs in the Songyang and Jingning–Longquan areas, with additional clusters around the tri-city junction and northern Taizhou. This pattern is consistent with mountainous and river-valley settlement systems in which historical settlement suitability, relative enclosure, and continuity of rural land use functions have shaped the persistence and recognition of traditional villages.
The results distinguish three kinds of evidence. First, village-scale RF-SHAP consistently placed X1, X4, and X12 near the top within the observed region, but grouped and buffered validation showed weak geographic transfer. Second, OLS, SLM, SEM, and GWR retained significant residual spatial structure, whereas the revised primary MGWR reduced KNN-8 residual Moran’s I to a non-significant value near zero; this improvement is in-sample and accompanies greater effective complexity and multi-start sensitivity. Third, the county mean and median LOO-KDE were negatively correlated with X15 and X18, but the 27-unit multivariable analysis was imprecise. Together, the findings support bounded associations with local clustering intensity, not causal explanations of heritage persistence.
The uneven sample distribution is central to the interpretation. Because Lishui contains most of the sample villages and both major clustering cores, the results primarily reveal the structure of southern Zhejiang as a heritage-dense mountainous region with a strong Lishui core. They should not be overgeneralized as balanced evidence for Taizhou and Wenzhou without the additional municipality-based robustness checks noted in Section 2.4.

4.3. Spatial Dependence, Cross-Scale Data, and Model Boundaries

Residual diagnostics remain important, but they cannot by themselves separate omitted substantive spatial processes from dependence inherited through the shared-neighbour construction of LOO-KDE. Significant residual Moran’s I indicates remaining spatial structure; a value near zero would indicate little residual autocorrelation under the chosen weights, not mathematical independence of the derived outcomes. Planning interpretation must therefore remain diagnostic and associational.
Repeated county-level socio-economic values impose a central inferential boundary. Treating village rows as independent would understate uncertainty and inflate the apparent evidential weight of county indicators. Therefore, this study treats X1–X12 as the village-scale primary model and analyzes per capita GDP, rural disposable income, and industrial output separately, at the county ecological scale. Any 16-variable mixed-scale output is secondary and cannot support village-level SHAP importance, coefficient significance, or local-effect claims.
The revised primary MGWR materially improved in-sample fit relative to GWR and removed detectable residual autocorrelation under KNN-4, 8, 12, and 16. However, this result was obtained with ENP = 369.05, several very local bandwidths, two near-global upper-bound terms, and a path-dependent multiscale search. Different initial bandwidths reached materially different AICc values and coefficient scales; a lower-bound-active solution even attained a lower AICc than the selected lower-bound-inactive candidate. MGWR is therefore retained as an exploratory scale and residual-structure diagnostic, not as proof of a unique optimum, universally superior prediction, or stable causal local effects.
These boundaries also define the intended scope of application of the workflow. It is designed for reasonably dense point-referenced heritage inventories and for diagnostic, within-region questions: measuring local clustering intensity, screening candidate correlates, comparing operating scales, and locating residual spatial structure. For such purposes, generated-outcome dependence is acceptable because it is disclosed, diagnosed, and reflected in deliberately associational language. The workflow is not recommended when confirmatory inference on individual coefficients is the objective, when the inventory is so sparse relative to the bandwidth that a few shared neighbours dominate many outcomes, or when out-of-region prediction is required. In those settings, explicit point-process formulations such as log-Gaussian Cox process regression, or simulation-based propagation of the uncertainty inherited from the generated outcome, provide more defensible uncertainty statements, at the cost of a less direct interface with village-level machine-learning interpretation.

4.4. Implications for Cautious Cluster-Oriented Planning

The results support cautious cluster-oriented thinking rather than direct prescription. In high-clustering mountainous cores, conservation planning may need to consider groups of neighbouring recognized villages, shared valleys, access routes, and landscape settings rather than individual villages alone. In transitional areas, the analysis suggests that road projects, land conversion, and tourism development should be evaluated for their potential effects on the continuity of village clusters. This cluster-oriented view is also consistent with scholarship emphasizing the integrated diversity and living inheritance value of traditional villages [67].
These implications are not direct policy prescriptions derived mechanically from model coefficients. They are planning hypotheses that should be combined with field survey, historical evidence, community consultation, and heritage-quality assessment. The LOO-KDE surface and residual diagnostics can help identify where such qualitative and planning investigations should be prioritized, but they cannot replace local conservation judgment.

4.5. Limitations and Future Work

Several limitations remain. The cross-sectional, policy-conditioned inventory cannot identify causal direction or represent all historically traditional settlements. LOO-KDE removes direct self-contribution but retains shared-neighbour dependence, affecting inference, validation, and residual diagnostics. County analysis is limited to 27 represented units and remains vulnerable to ecological fallacy, multicollinearity, MAUP, and influential counties. Poor municipality and buffered spatial transfer show that fitted RF relationships are not geographically universal. Finally, elevated local condition numbers, small MGWR bandwidths, high effective complexity, and multi-start path dependence mean that the non-significant revised MGWR residual Moran’s I should not be equated with independent outcomes or stable local mechanisms. Future work should combine temporal inventories, archival evidence, field-based heritage-quality measures, community data, external regional validation, simulation-based assessment of generated-outcome uncertainty, and explicit point-process modelling such as log-Gaussian Cox process regression, which treats settlements as random events and models intensity and dependence jointly.

5. Conclusions

This study establishes a reproducible, scale-aware workflow for analyzing local clustering intensity in point-referenced traditional-village inventories. Its contribution is the explicit separation of self-excluding outcome construction, village-scale predictive interpretation, county-level ecological association, spatial dependence, and spatial non-stationarity, together with validation that exposes shared-neighbour dependence and geographic leakage.
In southern Zhejiang, the 612 recognized villages form a multi-core mountain-valley pattern with a pronounced Lishui concentration. The LOO-KDE ranking was stable to bandwidth and coincident-point sensitivity. Within the common X1–X12 specification, elevation, topographic relief, and household count had the largest RF-SHAP contributions, but county-grouped and buffered spatial validation showed only modest or negative transfer performance.
Model comparisons depended on the quantity evaluated. SLM structural and SEM filtered diagnostic fits had nearly identical RMSE around 0.00123 despite different package pseudo-R2 definitions, whereas covariate-only predictions were much weaker. The revised primary MGWR improved in-sample R2 and AICc relative to GWR and reduced residual Moran’s I to 0.002 (p = 0.429), but it also used substantially more effective parameters and was sensitive to the starting bandwidth. Therefore, the result supports multiscale residual reduction within the observed sample, not a claim of a unique global optimum or external predictive superiority.
Overall, the study offers a transferable diagnostic framework and a deliberately bounded case interpretation. County socioeconomic findings are ecological contextual associations, and village-scale findings concern predictive contributions to local clustering intensity. Neither set explains why an individual village retained traditional status. Cluster-oriented conservation may nevertheless be useful for protecting connected building ensembles, settlement morphology, productive landscapes, routes, waterways, ritual spaces, craftsmanship, and collective memory, provided model outputs are combined with field survey, historical evidence, community consultation, heritage-quality assessment, and local planning review.

Use of Artificial Intelligence

During the preparation of this manuscript, the authors made limited use of ChatGPT (OpenAI) to assist with translating parts of the initial draft into English and with language polishing.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/land15081360/s1, Supplementary File S1, gwr_mgwr_verified_0714.xlsx (model-fit statistics, GWR/MGWR bandwidths, coefficient summaries, multi-start results, and convergence histories); Supplementary File S2, mgwr_unconstrained_search_audit.xlsx (run summaries, term-specific bandwidths, GWR candidate bandwidths and AICc values, and the MGWR decision log); Supplementary File S3, residual_moran_results_0714.xlsx (Global Moran’s I, Local Moran/LISA results, cluster summaries, and K-nearest-neighbour sensitivity results).

Author Contributions

Conceptualization, D.P. and Q.Z.; Methodology, D.P., G.S., J.W., L.H., Q.Z. and H.Z.; Software, D.P.; Validation, D.P., G.S., J.W., L.H., Q.Z. and H.Z.; Formal analysis, D.P. and L.H.; Investigation, D.P., G.S. and J.W.; Resources, D.P. and J.W.; Data curation, D.P. and L.H.; Writing—original draft, D.P.; Writing—review & editing, D.P., G.S., L.H., Q.Z. and H.Z.; Visualization, D.P.; Supervision, G.S., J.W. and H.Z.; Project administration, D.P. and H.Z.; Funding acquisition, H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China (Grant No. 52378042), which also supported the payment of the article processing charge (APC); The 2024 Pilot Project of Zhejiang University’s Balanced Architecture Research Center, Sustainable Construction Technology and Demonstration of “Ecological-Human Settlement” Environment in Waterfront Villages and Towns (Grant No. 24ZJUPJ001Z); Key Project of the Annual Regular Topics of Zhejiang Provincial Philosophy and Social Sciences Planning in 2026: Research and Application of the Evaluation System for the Construction of “Maritime Garden” in Dongtou District (Grant No. 26NDJC003Z); Research results of Social Sciences Empowering High-quality Development Action in Mountainous Island Counties (Grant No. 25SSKE0103); Student Research Training Program of Zhejiang University in 2026: Research on the Development of Building-Attached Intelligent Modules for Intelligent Unmanned Aerial Vehicle Delivery (Grant No. 26ZSRC028).

Data Availability Statement

Restrictions apply to the availability of part of the data used in this study. Specifically, the data for X7—Cultivated land area, X8—Forest land area, and X12—Number of households were obtained from non-public sources through field surveys conducted with the assistance of local villagers, village heads, and local government authorities. The authors do not have the authorization to make these data publicly available. These data may be accessed from the corresponding author upon reasonable request and with permission from the relevant data providers. Other datasets used in this study were obtained from publicly available sources, with detailed information on their sources provided in Table 1.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Consolidated Kernel, Bandwidth, and Spatial-Weight Audit

Table A1. Kernel functions, bandwidth types, numerical values, units, and selection criteria for conventional KDE, LOO-KDE, GWR, and all MGWR terms.
Table A1. Kernel functions, bandwidth types, numerical values, units, and selection criteria for conventional KDE, LOO-KDE, GWR, and all MGWR terms.
Analysis/TermKernel/WeightsBandwidth TypeValueUnitSelection CriterionNotes
Conventional KDE: China (Figure 1a)ArcGIS quartic; equal eventsfixed distance, data-driven1.252596958decimal degreesapproximate ArcGIS default reconstructionEPSG:4326; PLANAR; SQUARE_MAP_UNITS; cell 0.020000000 deg; display 0–207.039; approximate cartographic reconstruction; descriptive only
Conventional KDE: Zhejiang (Figure 1b)ArcGIS quartic; equal eventsfixed distance, data-driven0.257038784decimal degreesapproximate ArcGIS default reconstructionEPSG:4326; PLANAR; SQUARE_MAP_UNITS; cell 0.016061372 deg; display 0–724.257; approximate cartographic reconstruction; descriptive only
Conventional KDE: southern Zhejiang (Figure 1c)ArcGIS quartic; equal eventsfixed distance, data-driven0.216042493decimal degreesapproximate ArcGIS default reconstructionEPSG:4326; PLANAR; SQUARE_MAP_UNITS; cell 0.016544490 deg; display 0–754.802; approximate cartographic reconstruction; descriptive only
LOO-KDE 0.75 hGaussian; equal event weightsfixed distance15,754.964m0.75× main hSensitivity outcome; focal village excluded; X12 not a weight
LOO-KDE mainGaussian; equal event weightsfixed distance21,006.619misotropic 2D Scott ruleEPSG:4549; h = mean(SDx, SDy)n(−1/6); focal village excluded; X12 not a weight
LOO-KDE 1.25 hGaussian; equal event weightsfixed distance26,258.273m1.25× main hSensitivity outcome; focal village excluded; X12 not a weight
GWR: all coefficientsbisquareadaptive nearest-neighbour count67neighboursAICc golden-section searchsearch 60–612; tolerance 1 × 10−5; all 11 evaluations saved
MGWR: Interceptbisquareterm-specific adaptive9neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X1bisquareterm-specific adaptive21neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X2bisquareterm-specific adaptive114neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X3bisquareterm-specific adaptive611neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X4bisquareterm-specific adaptive609neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X5bisquareterm-specific adaptive31neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X6bisquareterm-specific adaptive22neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X7bisquareterm-specific adaptive611neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X8bisquareterm-specific adaptive608neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X9bisquareterm-specific adaptive37neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X10bisquareterm-specific adaptive15neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X11bisquareterm-specific adaptive25neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
MGWR: X12bisquareterm-specific adaptive26neighboursAICc golden-section backfittingselected lower-inactive audit: lower 5; upper 612; init 500; tol 1 × 10−5
Table A2. MGWR lower-bound sensitivity. A boundary term selected a bandwidth no more than one neighbour above the imposed lower bound.
Table A2. MGWR lower-bound sensitivity. A boundary term selected a bandwidth no more than one neighbour above the imposed lower bound.
Lower BoundInitial bwStatusLower InactiveSelected RangeR2Adjusted R2AICc
211Failed: singularNo----
220TerminatedNo13–611---
267Converged; lower inactiveYes12–1400.9987750.994764−4153.255
2300Converged; lower inactive; upper activeYes9–6110.9985590.996168−6053.290
2500Converged; lower inactive; upper activeYes9–6110.9987390.996147−5645.049
567Converged; lower inactiveYes12–1410.9987770.994810−4193.840
5300Converged; lower inactive; upper activeYes9–6110.9985980.996194−6001.522
5500Converged; lower inactive; upper activeYes9–6110.9984010.995963−6155.204
10300Converged; boundaryNo11–6110.9979620.995153−6188.301
15300Converged; boundaryNo16–6110.9974460.993212−5704.966
20300Not convergedNo21–5000.9958280.989560−5596.283
30300Converged; boundaryNo31–4480.9923200.982939−5569.445
40300Converged; boundaryNo41–5260.9862170.974466−5666.191
50300Converged; boundaryNo51–5310.9804820.967011−5653.116
60300Converged; boundaryNo61–5240.9743840.959467−5619.522
80300Converged; boundaryNo81–6110.9593870.943165−5562.369
Table A3. Spatial-weight specifications reported separately from kernel methods.
Table A3. Spatial-weight specifications reported separately from kernel methods.
AnalysisSpatial-Weight FunctionKStandardizationSelection/RoleNotes
SLM and SEM estimationK-nearest neighbours8row-standardizedpre-specified common Wnot a smoothing kernel or kernel bandwidth
Residual Global Moran’s I and LISAK-nearest neighbours8row-standardizedsame W as spatial regression999 random permutations
Residual spatial-weight sensitivityK-nearest neighbours4, 12, 16row-standardizedsensitivity around K = 8reported separately from kernel methods
Figure A1. MGWR lower-bound and multi-start audit. (a) AICc across completed search domains and initial common bandwidths; the star marks the revised primary, best observed converged candidate with an inactive lower bound. (b) Convergence history for that candidate. (c) Term-specific bandwidths across completed starts. X3 and X7 reach the natural near-global upper limit; lower-bound, upper-bound, failed, and terminated cases remain in Table A2 and the archived audit files.
Figure A1. MGWR lower-bound and multi-start audit. (a) AICc across completed search domains and initial common bandwidths; the star marks the revised primary, best observed converged candidate with an inactive lower bound. (b) Convergence history for that candidate. (c) Term-specific bandwidths across completed starts. X3 and X7 reach the natural near-global upper limit; lower-bound, upper-bound, failed, and terminated cases remain in Table A2 and the archived audit files.
Land 15 01360 g0a1

References

  1. ICOMOS. Charter on the Built Vernacular Heritage; International Council on Monuments and Sites: Mexico City, Mexico, 1999. [Google Scholar]
  2. UNESCO. Recommendation on the Historic Urban Landscape; UNESCO: Paris, France, 2011. [Google Scholar]
  3. Council of Europe. European Landscape Convention; Council of Europe: Florence, Italy, 2000. [Google Scholar]
  4. Rössler, M. World Heritage cultural landscapes: A UNESCO flagship programme 1992–2006. Landsc. Res. 2006, 31, 333–353. [Google Scholar] [CrossRef] [Scilit]
  5. Wang, Y.; Chun, Y. On the protection and development of rural excellent traditional culture in the process of urbanization. Shandong Soc. Sci. 2014, 6, 103–106. (In Chinese) [Google Scholar]
  6. Chen, W.; Yang, Z.; Yang, L.; Wu, J.; Bian, J.; Zeng, J.; Liu, Z. Identifying the spatial differentiation factors of traditional villages in China. Herit. Sci. 2023, 11, 149. [Google Scholar] [CrossRef] [Scilit]
  7. Gao, W.; Zhuo, X.; Xiao, D. Spatial patterns, factors, and ethnic differences: A study on ethnic minority villages in Yunnan, China. Heliyon 2024, 10, e27677. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Liu, Y.; Liu, L.; Xu, R.; Yi, X.; Qiu, H. Spatial distribution of toponyms and formation mechanism in traditional villages in Western Hunan, China. Herit. Sci. 2024, 12, 171. [Google Scholar] [CrossRef] [Scilit]
  9. Fu, J.; Zhou, J.; Deng, Y. Heritage values of ancient vernacular residences in traditional villages in Western Hunan, China: Spatial patterns and influencing factors. Build. Environ. 2021, 188, 107473. [Google Scholar] [CrossRef] [Scilit]
  10. Zhu, J.; Xu, W.; Xiao, Y.; Shi, J.; Hu, X.; Yan, B. Temporal and spatial patterns of traditional village distribution evolution in Xiangxi, China: Identifying multidimensional influential factors and conservation significance. Herit. Sci. 2023, 11, 261. [Google Scholar] [CrossRef] [Scilit]
  11. Li, M.R.; Cao, Y.; Li, G.W. An approach to developing and protecting linear heritage tourism: The construction of cultural heritage corridor of traditional villages in Mentougou District using GIS. Int. J. Geoherit. Parks 2023, 11, 607–623. [Google Scholar] [CrossRef] [Scilit]
  12. Xu, X.; Genovese, P.V.; Zhao, Y.; Liu, Y.; Woldesemayat, E.M.; Zoure, A.N. Geographical distribution characteristics of ethnic-minority villages in Fujian and their relationship with topographic factors. Sustainability 2022, 14, 7727. [Google Scholar] [CrossRef] [Scilit]
  13. Cai, H.; Yu, J.; Guo, Y. Spatial and temporal distribution and evolution of traditional villages in Xin’an River Basin of China based on geographic detection and remote sensing technology. Ecol. Indic. 2025, 171, 113239. [Google Scholar] [CrossRef] [Scilit]
  14. Chen, W.; Yang, L.; Wu, J.; Wu, J.; Wang, G.; Bian, J.; Zeng, J.; Liu, Z. Spatio-temporal characteristics and influencing factors of traditional villages in the Yangtze River Basin: A Geodetector model. Herit. Sci. 2023, 11, 111. [Google Scholar] [CrossRef] [Scilit]
  15. Huang, Y.; Huang, Y.; Chen, Y.; Yang, S. Spatial evolution of traditional waterside settlements south of the Yangtze River and the distribution of settlement heritage: Evidence from the Nanxi River Basin. npj Herit. Sci. 2025, 13, 62. [Google Scholar] [CrossRef] [Scilit]
  16. Wang, K.; Bai, J.; Bao, F.; Hua, F.; Dang, X.; Gu, N. Spatial patterns and influencing factors of Chinese traditional villages: A sustainability perspective. ISPRS Int. J. Geo-Inf. 2026, 15, 3. [Google Scholar] [CrossRef] [Scilit]
  17. Zhu, Q.; Liu, S. Spatial morphological characteristics and evolution of traditional villages in the mountainous area of southwest Zhejiang. ISPRS Int. J. Geo-Inf. 2023, 12, 317. [Google Scholar] [CrossRef] [Scilit]
  18. Wang, M.; Peng, P.; Mao, L.; Chang, B. Spatial structure analysis of ancient villages in North China: A case study of Daliangjiang Village in Jingxing. Urban Hous. 2020, 27, 43–46. Available online: https://d.wanfangdata.com.cn/periodical/cszz202006007 (accessed on 10 June 2026). (In Chinese)
  19. Dong, S. Fundamental Research on Spatial Construction and Support of Traditional Villages in North China. Master’s Thesis, Beijing University of Civil Engineering and Architecture, Beijing, China, 2018; pp. 14–26. (In Chinese) [Google Scholar]
  20. Liang, X.; Zhang, Y. A Comparative Study Of Traditional Mountain Villages Between Hebei Jingxing And Bejing West. Planners 2016, 32, 99–104. Available online: https://d.wanfangdata.com.cn/periodical/ChpNaW5lclBlcmlvZGljYWxDSEkyMDIzMDMyMRIMZ2hzMjAxNnoyMDE3Ggg4eTllc2djZA%3D%3D (accessed on 10 June 2026). (In Chinese)
  21. Wang, M. A brief analysis of the relationship between traditional villages and the environment during the Ming and Qing Dynasties: A case study of North China. Urban Geogr. 2015, 2, 212–213. Available online: https://d.wanfangdata.com.cn/periodical/csdl201502160 (accessed on 10 June 2026). (In Chinese)
  22. Yuan, X.; Li, Y.; Song, Y.; Lu, H.; Wang, Y.; Ge, B.; Wang, J. Spatial distribution characteristics and driving factors of 777 traditional villages in Yunnan Province: A study based on GWR model and Geodetector. Land 2024, 13, 2004. [Google Scholar] [CrossRef] [Scilit]
  23. Cao, H.; Kim, E. Analysis of influencing factors on spatial distribution characteristics of traditional villages in the Liaoxi Corridor. Land 2025, 14, 1572. [Google Scholar] [CrossRef] [Scilit]
  24. Jia, H.; Li, L.; Wu, S.; Zhao, R.; Yang, H. The spatial distribution characteristics and driving factors of traditional villages’ tourism transformation level in Shaanxi, China. Land 2025, 14, 1602. [Google Scholar] [CrossRef] [Scilit]
  25. Fan, J.; Zheng, B.; Yuan, H.; Zhang, B.; Zhang, P. Spatial connectivity and development potential of traditional villages in clustered areas: A case study of Qiandongnan Prefecture. Land 2025, 14, 1929. [Google Scholar] [CrossRef] [Scilit]
  26. Lazzari, M.; Danese, M.; Masini, N. A new GIS-based integrated approach to analyse the anthropic-geomorphological risk and recover the vernacular architecture. J. Cult. Herit. 2009, 10, e104–e111. [Google Scholar] [CrossRef] [Scilit]
  27. Ma, H.; Tong, Y. Spatial differentiation of traditional villages using ArcGIS and GeoDa: A case study of Southwest China. Ecol. Inform. 2022, 68, 101416. [Google Scholar] [CrossRef] [Scilit]
  28. Fotheringham, A.S.; Brunsdon, C.; Charlton, M. Geographically Weighted Regression: The Analysis of Spatially Varying Relationships; John Wiley & Sons Ltd.: Chichester, UK, 2002. [Google Scholar]
  29. Brunsdon, C.; Fotheringham, A.S.; Charlton, M.E. Geographically weighted regression: A method for exploring spatial nonstationarity. Geogr. Anal. 1996, 28, 281–298. [Google Scholar] [CrossRef] [Scilit]
  30. Song, W.; Jia, H.; Huang, J.; Zhang, Y. A satellite-based geographically weighted regression model for regional PM2.5 estimation over the Pearl River Delta region in China. Remote Sens. Environ. 2014, 154, 1–7. [Google Scholar] [CrossRef] [Scilit]
  31. Zhao, Z.; Gao, J.; Wang, Y.; Liu, J.; Li, S. Exploring spatially variable relationships between NDVI and climatic factors in a transition zone using geographically weighted regression. Theor. Appl. Climatol. 2015, 120, 507–519. [Google Scholar]
  32. Chen, C.; Zhao, S.; Duan, Z.; Qin, Z. An improved spatial downscaling procedure for TRMM 3B43 precipitation product using geographically weighted regression. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2015, 8, 4592–4604. [Google Scholar] [CrossRef] [Scilit]
  33. Chen, Y.; Huang, J.; Sheng, S.; Mansaray, L.R.; Liu, Z.; Wu, H.; Wang, X. A new downscaling-integration framework for high-resolution monthly precipitation estimates: Combining rain gauge observations, satellite-derived precipitation data and geographical ancillary data. Remote Sens. Environ. 2018, 214, 154–172. [Google Scholar] [CrossRef] [Scilit]
  34. Lu, B.; Ge, Y.; Qin, K.; Zheng, J. A review on geographically weighted regression. Geomat. Inf. Sci. Wuhan Univ. 2020, 45, 1356–1366. [Google Scholar]
  35. Lu, B.; Charlton, M.; Harris, P.; Fotheringham, A.S. Geographically weighted regression with a non-Euclidean distance metric: A case study using hedonic house price data. Int. J. Geogr. Inf. Sci. 2014, 28, 660–681. [Google Scholar] [CrossRef] [Scilit]
  36. Fotheringham, A.S.; Yang, W.; Kang, W. Multiscale geographically weighted regression (MGWR). Ann. Am. Assoc. Geogr. 2017, 107, 1247–1265. [Google Scholar] [CrossRef] [Scilit]
  37. Lu, B.; Brunsdon, C.; Charlton, M.; Harris, P. Geographically weighted regression with parameter-specific distance metrics. Int. J. Geogr. Inf. Sci. 2017, 31, 982–998. [Google Scholar]
  38. Huang, B.; Wu, B.; Barry, M. Geographically and temporally weighted regression for modeling spatio-temporal variation in house prices. Int. J. Geogr. Inf. Sci. 2010, 24, 383–401. [Google Scholar] [CrossRef] [Scilit]
  39. Liang, L.; Chen, Y.; Gong, A.; Sun, H. A modified geographical weighted regression model for better flood risk assessment and management of immovable cultural heritage sites at large spatial scales. J. Cult. Herit. 2024, 68, 276–286. [Google Scholar] [CrossRef] [Scilit]
  40. Zhao, Z.; Fan, B.; Du, X.; Liu, X.; Xu, S.; Cao, Y.; Wang, Y.; Zhou, Q. Spatial expansion characteristics of rural settlements and its response to determinants in Hangzhou Bay Urban Agglomeration, China: Geospatial modeling using multiscale geographically weighted regression (MGWR). J. Clean. Prod. 2024, 484, 144339. [Google Scholar] [CrossRef] [Scilit]
  41. Chen, L.; Zhong, Q.; Li, Z. Analysis of spatial characteristics and influence mechanism of human settlement suitability in traditional villages based on multi-scale geographically weighted regression model: A case study of Hunan Province. Ecol. Indic. 2023, 154, 110828. [Google Scholar] [CrossRef] [Scilit]
  42. Tong, Z.; Kong, Z.; Jia, X.; Zhang, H.; Zhang, Y. Multiscale impact of environmental and socio-economic factors on low physical fitness among Chinese adolescents and regionalized coping strategies. Int. J. Environ. Res. Public Health 2022, 19, 13504. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Li, J.; Wang, X.; Li, X. Spatial Distribution Characteristics and Influencing Factors of Chinese Traditional Villages. Econ. Geogr. 2020, 40, 143–153. (In Chinese) [Google Scholar] [CrossRef]
  44. Yu, J.; Tang, S.; Chen, Y.; Nie, Y. Spatial differentiation and influencing factors of traditional villages in the Wuling Mountain Area based on GWR. J. Hubei Univ. Nat. Sci. 2021, 43, 367–376. Available online: http://dianda.cqvip.com/Qikan/Article/Detail?id=7104850925 (accessed on 10 June 2026). (In Chinese)
  45. Ma, Y.; Huang, Z. Spatial patterns and accessibility of traditional villages in the urban agglomeration of the middle reaches of the Yangtze River based on GWR model. Hum. Geogr. 2017, 32, 78–85. (In Chinese) [Google Scholar]
  46. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
  47. Shu, B.; Liu, Y.; Wang, C.; Zhang, H.; Amani-Beni, M.; Zhang, R. Geological hazard risk assessment and rural settlement site selection using GIS and random forest algorithm. Ecol. Indic. 2024, 166, 112554. [Google Scholar] [CrossRef] [Scilit]
  48. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. Available online: http://papers.nips.cc/paper/7062-a-unified-approach-to-interpreting-model-predictions.pdf (accessed on 4 June 2026).
  49. Lundberg, S.M.; Erion, G.; Chen, H.; DeGrave, A.; Prutkin, J.M.; Nair, B.; Katz, R.; Himmelfarb, J.; Bansal, N.; Lee, S.-I. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2020, 2, 56–67. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  50. Lundberg, S.M.; Nair, B.; Vavilala, M.S.; Horibe, M.; Eisses, M.J.; Adams, T.; Liston, D.E.; Low, D.K.-W.; Newman, S.-F.; Kim, J.; et al. Explainable machine-learning predictions for the prevention of hypoxaemia during surgery. Nat. Biomed. Eng. 2018, 2, 749–758. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  51. Anselin, L. Spatial Econometrics: Methods and Models; Kluwer Academic Publishers: Dordrecht, The Netherlands, 1988. [Google Scholar] [CrossRef] [Scilit]
  52. Martin, R.; Sunley, P. Path dependence and regional economic evolution. J. Econ. Geogr. 2006, 6, 395–437. [Google Scholar] [CrossRef] [Scilit]
  53. Scott, M. Resilience: A conceptual lens for rural studies? Geogr. Compass 2013, 7, 597–610. [Google Scholar] [CrossRef] [Scilit]
  54. McManus, P.; Walmsley, J.; Argent, N.; Baum, S.; Bourke, L.; Martin, J.; Pritchard, B.; Sorensen, T. Rural community and rural resilience: What is important to farmers in keeping their country towns alive? J. Rural Stud. 2012, 28, 20–29. [Google Scholar] [CrossRef] [Scilit]
  55. Antrop, M. Why landscapes of the past are important for the future. Landsc. Urban Plan. 2005, 70, 21–34. [Google Scholar] [CrossRef] [Scilit]
  56. Wei, Y.D. Spatiality of regional inequality. Appl. Geogr. 2015, 61, 1–10. [Google Scholar] [CrossRef] [Scilit]
  57. Silverman, B.W. Density Estimation for Statistics and Data Analysis; Chapman and Hall: London, UK, 1986. [Google Scholar] [CrossRef] [Scilit]
  58. Liang, X.; Guan, Q.; Clarke, K.C.; Liu, S.; Wang, B.; Yao, Y. Understanding the drivers of sustainable land expansion using a patch-generating land use simulation (PLUS) model: A case study in Wuhan, China. Comput. Environ. Urban Syst. 2021, 85, 101569. [Google Scholar] [CrossRef] [Scilit]
  59. Connors, J.P.; Galletti, C.S.; Chow, W.T.L. Landscape configuration and urban heat island effects: Assessing the relationship between landscape characteristics and land surface temperature in Phoenix, Arizona. Landsc. Ecol. 2013, 28, 271–283. [Google Scholar] [CrossRef] [Scilit]
  60. Huang, Z.; Li, S.; Peng, Y.; Gao, F. Spatial non-stationarity of influencing factors of China’s county economic development based on a multiscale geographically weighted regression model. ISPRS Int. J. Geo-Inf. 2023, 12, 109. [Google Scholar] [CrossRef] [Scilit]
  61. Dutta, I.; Basu, T.; Das, A. Spatial analysis of COVID-19 incidence and its determinants using spatial modeling: A study on India. Environ. Chall. 2021, 4, 100096. [Google Scholar] [CrossRef] [Scilit]
  62. Xue, C.; Chen, X.; Xue, L.; Zhang, H.; Chen, J.; Li, D. Modeling the spatially heterogeneous relationships between tradeoffs and synergies among ecosystem services and potential drivers considering geographic scale in Bairin Left Banner, China. Sci. Total Environ. 2023, 855, 158834. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  63. Mansour, S.; Al Kindi, A.; Al-Said, A.; Al-Said, A.; Atkinson, P. Sociodemographic determinants of COVID-19 incidence rates in Oman: Geospatial modelling using multiscale geographically weighted regression (MGWR). Sustain. Cities Soc. 2021, 65, 102627. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  64. Wolf, L.J.; Oshan, T.M.; Fotheringham, A.S. Single and multiscale models of process spatial heterogeneity. Geogr. Anal. 2018, 50, 223–246. [Google Scholar] [CrossRef] [Scilit]
  65. Yu, H.; Fotheringham, A.S.; Li, Z.; Oshan, T.; Kang, W.; Wolf, L.J. Inference in multiscale geographically weighted regression. Geogr. Anal. 2020, 52, 87–106. [Google Scholar] [CrossRef] [Scilit]
  66. Zhang, W.; Li, Y.; Zheng, C. The distribution characteristics and driving mechanism of vacant land in Chengdu, China: A perspective of urban shrinkage and expansion. Land Use Policy 2023, 132, 106812. [Google Scholar] [CrossRef] [Scilit]
  67. Lu, K.; Hu, F. Analysis of the value of comprehensive diversity of traditional villages and its living inheritance. Fujian Forum 2016, 12, 115–122. (In Chinese) [Google Scholar]
Figure 1. Descriptive conventional ArcGIS KDE patterns of recognized traditional villages in (a) China, (b) Zhejiang Province, and (c) southern Zhejiang. The three independently scaled cartographic surfaces provide regional context only; their values are not compared across panels, and none is used as the model outcome.
Figure 1. Descriptive conventional ArcGIS KDE patterns of recognized traditional villages in (a) China, (b) Zhejiang Province, and (c) southern Zhejiang. The three independently scaled cartographic surfaces provide regional context only; their values are not compared across panels, and none is used as the model outcome.
Land 15 01360 g001
Figure 2. Implemented scale-aware analytical workflow. The workflow separates construction of the self-excluding LOO-KDE outcome, village-scale X1–X12 modelling, 27-unit county ecological context, model-native residual diagnostics, and repeated spatial transfer and sensitivity checks. The final interpretation is explicitly bound to the correlates of local clustering intensity.
Figure 2. Implemented scale-aware analytical workflow. The workflow separates construction of the self-excluding LOO-KDE outcome, village-scale X1–X12 modelling, 27-unit county ecological context, model-native residual diagnostics, and repeated spatial transfer and sensitivity checks. The final interpretation is explicitly bound to the correlates of local clustering intensity.
Land 15 01360 g002
Figure 3. Local clustering intensity of the 612 recognized traditional villages in southern Zhejiang: (a) spatial distribution of LOO-KDE; (b) violin and box plots of LOO-KDE by municipality; (c) violin and box plots of LOO-KDE and of the number of neighbouring villages within the bandwidth, under the main, 0.75 h, and 1.25 h bandwidths.
Figure 3. Local clustering intensity of the 612 recognized traditional villages in southern Zhejiang: (a) spatial distribution of LOO-KDE; (b) violin and box plots of LOO-KDE by municipality; (c) violin and box plots of LOO-KDE and of the number of neighbouring villages within the bandwidth, under the main, 0.75 h, and 1.25 h bandwidths.
Land 15 01360 g003
Figure 4. Relationship between traditional village distribution and topographic–hydrological conditions in southern Zhejiang: (a) relationship between traditional village distribution and elevation in southern Zhejiang; (b) relationship between traditional village distribution and river networks in southern Zhejiang.
Figure 4. Relationship between traditional village distribution and topographic–hydrological conditions in southern Zhejiang: (a) relationship between traditional village distribution and elevation in southern Zhejiang; (b) relationship between traditional village distribution and river networks in southern Zhejiang.
Land 15 01360 g004
Figure 5. Random Forest diagnostics for the final X1–X12 model. (a) Observed-versus-predicted LOO-KDE for out-of-bag prediction and leave-one-county-out transfer; dashed orange lines show 1:1 agreement. (b) Robustness checks comprising five-fold county-grouped validation, the leading candidates from the 144-combination tuning search (selected candidate in orange), ensemble-size sensitivity, and county-grouped test-set permutation importance expressed as the change in RMSE. Error bars denote between-fold standard deviations.
Figure 5. Random Forest diagnostics for the final X1–X12 model. (a) Observed-versus-predicted LOO-KDE for out-of-bag prediction and leave-one-county-out transfer; dashed orange lines show 1:1 agreement. (b) Robustness checks comprising five-fold county-grouped validation, the leading candidates from the 144-combination tuning search (selected candidate in orange), ensemble-size sensitivity, and county-grouped test-set permutation importance expressed as the change in RMSE. Error bars denote between-fold standard deviations.
Land 15 01360 g005
Figure 6. TreeSHAP interpretation of the final X1–X12 Random Forest: (a) mean absolute SHAP importance and (b) beeswarm distribution. The common blue–purple–magenta scale denotes observed feature values from low to high. SHAP values are multiplied by 103 for legibility only; rankings, signs, and model results are unchanged.
Figure 6. TreeSHAP interpretation of the final X1–X12 Random Forest: (a) mean absolute SHAP importance and (b) beeswarm distribution. The common blue–purple–magenta scale denotes observed feature values from low to high. SHAP values are multiplied by 103 for legibility only; rankings, signs, and model results are unchanged.
Land 15 01360 g006
Figure 7. SHAP dependence plots for all X1–X12 village-scale predictors. Vertical position is the feature-specific SHAP contribution multiplied by 103, and each panel’s right-hand colour bar identifies the value of that predictor’s strongest interacting feature. Patterns are predictive and exploratory rather than causal.
Figure 7. SHAP dependence plots for all X1–X12 village-scale predictors. Vertical position is the feature-specific SHAP contribution multiplied by 103, and each panel’s right-hand colour bar identifies the value of that predictor’s strongest interacting feature. Patterns are predictive and exploratory rather than causal.
Land 15 01360 g007
Figure 8. SHAP interaction summary for the eight leading predictors in the final X1–X12 Random Forest. Rows and columns identify feature pairs, horizontal position represents the pairwise interaction contribution multiplied by 103, and the common blue–purple–magenta scale denotes low-to-high feature values.
Figure 8. SHAP interaction summary for the eight leading predictors in the final X1–X12 Random Forest. Rows and columns identify feature pairs, horizontal position represents the pairwise interaction contribution multiplied by 103, and the common blue–purple–magenta scale denotes low-to-high feature values.
Land 15 01360 g008
Figure 9. GWR-MGWR bandwidth and residual comparison. (a) AICc-selected adaptive nearest-neighbour bandwidths: GWR used a single 67-neighbour bandwidth, whereas MGWR selected term-specific bandwidths from nine to 611 neighbours. (b-i) Violin and box plots of absolute GWR and MGWR residuals, displayed on separate labelled y-axes because their numerical ranges differ; GWR is read against the left axis and MGWR against the right axis. For legibility, the violin density outlines end at the 99th percentile, and the axis limits place this percentile at approximately 70% of the panel height. Box-plot statistics use all 612 observations; one GWR and two MGWR observations beyond the displayed limits are identified by triangles at the top of the respective axes. (b-ii) Paired village-level differences defined as |GWR residual| minus |MGWR residual|. Positive values indicate smaller absolute residuals under MGWR.
Figure 9. GWR-MGWR bandwidth and residual comparison. (a) AICc-selected adaptive nearest-neighbour bandwidths: GWR used a single 67-neighbour bandwidth, whereas MGWR selected term-specific bandwidths from nine to 611 neighbours. (b-i) Violin and box plots of absolute GWR and MGWR residuals, displayed on separate labelled y-axes because their numerical ranges differ; GWR is read against the left axis and MGWR against the right axis. For legibility, the violin density outlines end at the 99th percentile, and the axis limits place this percentile at approximately 70% of the panel height. Box-plot statistics use all 612 observations; one GWR and two MGWR observations beyond the displayed limits are identified by triangles at the top of the respective axes. (b-ii) Paired village-level differences defined as |GWR residual| minus |MGWR residual|. Positive values indicate smaller absolute residuals under MGWR.
Land 15 01360 g009
Figure 10. MGWR local standardized coefficient results for the six X1–X12 terms with the largest local variation in the revised primary lower-bound-inactive candidate. (a–f) Framed coefficient maps over the study area and surrounding province, city, and county boundaries; (g) ridgeline distributions summarizing each mapped coefficient surface. Coefficients are multiplied by 103 for legibility only. Multi-start sensitivity, small local bandwidths, near-global upper-bound terms, and elevated local conditioning require exploratory interpretation.
Figure 10. MGWR local standardized coefficient results for the six X1–X12 terms with the largest local variation in the revised primary lower-bound-inactive candidate. (a–f) Framed coefficient maps over the study area and surrounding province, city, and county boundaries; (g) ridgeline distributions summarizing each mapped coefficient surface. Coefficients are multiplied by 103 for legibility only. Multi-start sensitivity, small local bandwidths, near-global upper-bound terms, and elevated local conditioning require exploratory interpretation.
Land 15 01360 g010
Figure 11. Moran scatter plots for model-native residuals or innovations: (a) OLS residuals; (b) SLM structural disturbances; (c) SEM filtered innovations; (d) GWR residuals; and (e) MGWR residuals. All panels use row-standardized KNN-8 weights; Moran’s I and permutation p-values are reported in each panel.
Figure 11. Moran scatter plots for model-native residuals or innovations: (a) OLS residuals; (b) SLM structural disturbances; (c) SEM filtered innovations; (d) GWR residuals; and (e) MGWR residuals. All panels use row-standardized KNN-8 weights; Moran’s I and permutation p-values are reported in each panel.
Land 15 01360 g011
Figure 12. Framed small-multiple maps of standardized model-native residuals or innovations for OLS, SLM, SEM, GWR, and MGWR. A shared diverging scale permits direct visual comparison, and the contextual administrative boundaries are retained.
Figure 12. Framed small-multiple maps of standardized model-native residuals or innovations for OLS, SLM, SEM, GWR, and MGWR. A shared diverging scale permits direct visual comparison, and the contextual administrative boundaries are retained.
Land 15 01360 g012
Figure 13. Framed LISA cluster maps for model-native residuals or innovations (p < 0.05; 999 permutations; row-standardized KNN-8 weights). A common legend is used across all panels.
Figure 13. Framed LISA cluster maps for model-native residuals or innovations (p < 0.05; 999 permutations; row-standardized KNN-8 weights). A common legend is used across all panels.
Land 15 01360 g013
Figure 14. LOO-KDE and residual-spatial-dependence sensitivity: (a) distributions under 0.75 h, the main bandwidth h, and 1.25 h; (b) rank and quintile agreement; (c) influence of treating coincident coordinates as unique spatial events; and (d) residual Moran’s I under KNN values of 4, 8, 12, and 16.
Figure 14. LOO-KDE and residual-spatial-dependence sensitivity: (a) distributions under 0.75 h, the main bandwidth h, and 1.25 h; (b) rank and quintile agreement; (c) influence of treating coincident coordinates as unique spatial events; and (d) residual Moran’s I under KNN values of 4, 8, 12, and 16.
Land 15 01360 g014
Figure 15. Geographic-transfer validation at increasing separation. (a) Representative coordinate K-means partition displayed in the original EPSG:4549 projected coordinates with an equal map aspect ratio; (b) mean ± standard deviation across 30 coordinate K-means and 30 shifted 50 km grid holdouts under no buffer, a one-bandwidth buffer (h), and a two-bandwidth buffer (2 h); and (c) county- and municipality-held-out transfer. Negative R2 values indicate performance below an intercept-only prediction for the held-out observations.
Figure 15. Geographic-transfer validation at increasing separation. (a) Representative coordinate K-means partition displayed in the original EPSG:4549 projected coordinates with an equal map aspect ratio; (b) mean ± standard deviation across 30 coordinate K-means and 30 shifted 50 km grid holdouts under no buffer, a one-bandwidth buffer (h), and a two-bandwidth buffer (2 h); and (c) county- and municipality-held-out transfer. Negative R2 values indicate performance below an intercept-only prediction for the held-out observations.
Land 15 01360 g015
Figure 16. Municipality and geographic-subset comparison. (a) Box plots of LOO-KDE distributions in Lishui, Taizhou, and Wenzhou. (b) Mean absolute RF-SHAP contributions of the six leading full-region predictors, summarized for all southern Zhejiang villages, the Lishui subset, and the non-Lishui subset. These are within-model descriptive subgroup summaries rather than separately refitted models.
Figure 16. Municipality and geographic-subset comparison. (a) Box plots of LOO-KDE distributions in Lishui, Taizhou, and Wenzhou. (b) Mean absolute RF-SHAP contributions of the six leading full-region predictors, summarized for all southern Zhejiang villages, the Lishui subset, and the non-Lishui subset. These are within-model descriptive subgroup summaries rather than separately refitted models.
Land 15 01360 g016
Table 1. Dependent variable and explanatory variables for traditional villages in southern Zhejiang, with units, spatial scales, and data sources: (N) natural geographic factors; (S) socio-economic factors.
Table 1. Dependent variable and explanatory variables for traditional villages in southern Zhejiang, with units, spatial scales, and data sources: (N) natural geographic factors; (S) socio-economic factors.
CodeVariableDefinition/CalculationUnitSpatial ScaleData SourceReference Year
YLOO-KDE local clustering intensityGaussian leave-one-out KDE calculated from all other recognized villages; focal village excludedvillages km−2village pointRecognized-village inventory; authors’ Python/GIS calculationInventory to 2023
X1ElevationDEM elevation extracted at the village centroidmvillage pointASTER GDEM 30 m, RESDCTerrain invariant
X2SlopeSlope derived from DEM at village centroiddegreevillage pointASTER GDEM 30 m; authors’ GIS calculationTerrain invariant
X3Slope aspectAspect azimuth derived from DEMdegree (0–360)village pointASTER GDEM 30 m; authors’ GIS calculationTerrain invariant
X4Topographic reliefMaximum–minimum elevation difference within local terrain windowmlocal terrain windowASTER GDEM 30 m; authors’ GIS calculationTerrain invariant
X5River levelOrder/grade of the nearest mapped riverordinal gradenearest river featureRESDC water-body/river data; authors’ extraction2023-aligned
X6Distance to riversEuclidean distance from village centroid to nearest mapped rivermvillage pointRESDC water data; authors’ GIS calculation2023-aligned
X7Cultivated land areaRegistered cultivated land area associated with the villagemu (1 mu = 1/15 ha = 666.7 m2)village unitField investigation and local government statistics2023
X8Forest land areaRegistered forest land area associated with the villagemuvillage unitField investigation and local government statistics2023
X9Geological hazardsRecorded geological-hazard events within 3 km of the villagecount3 km village bufferRESDC geological-hazard records; authors’ GIS calculationrecords to 2023
X10Distance to the central cityEuclidean distance from village to nearest designated central-city coordinatemvillage pointCompiled city coordinates; authors’ GIS calculation2023-aligned
X11Distance to roadsEuclidean distance to the nearest road in the analysis networkmvillage pointNational 1:250,000 road network; authors’ GIS calculation2023
X12Number of householdsRegistered households in the villagehouseholdsvillage unitAuthors’ field survey and village records2024 records; surveyed 2025
X13GDPTotal GDP of the county-level administrative unit10,000 CNYcounty/district contextTaizhou, Wenzhou, and Lishui statistical yearbooks2023
X14Per capita GDPCounty/district GDP per residentCNY/personcounty/district contextMunicipal statistical yearbooks2023
X15Rural per capita disposable incomeCounty/district rural disposable income per residentCNY/personcounty/district contextMunicipal statistical yearbooks2023
X16Primary industry outputGross output value of the primary industry10,000 CNYcounty/district contextMunicipal statistical yearbooks2023
X17Secondary industry outputGross output value of the secondary industry10,000 CNYcounty/district contextMunicipal statistical yearbooks2023
X18Tertiary industry outputGross output value of the tertiary industry10,000 CNYcounty/district contextMunicipal statistical yearbooks2023
Table 2. Correlation-screening decision and VIF results for the final X1–X12 village-scale predictor set.
Table 2. Correlation-screening decision and VIF results for the final X1–X12 village-scale predictor set.
VariableVIFToleranceDecision
X11.7270.579Retained
X21.4070.711Retained
X31.0320.969Retained
X41.9630.509Retained
X51.1690.855Retained
X61.0670.937Retained
X71.5280.654Retained
X81.3780.726Retained
X91.0290.972Retained
X101.1340.882Retained
X111.1890.841Retained
X121.5430.648Retained
Table 3. OLS, SLM, and SEM coefficients for standardized X1–X12 predictors on the original LOO-KDE scale. SLM/SEM spatial parameters are reported as rho and lambda; KNN-8 weights are row-standardized.
Table 3. OLS, SLM, and SEM coefficients for standardized X1–X12 predictors on the original LOO-KDE scale. SLM/SEM spatial parameters are reported as rho and lambda; KNN-8 weights are row-standardized.
TermOLS BetaOLS pSLM BetaSLM pSEM BetaSEM p
Intercept0.0182501.07 × 10−265−1.93 × 10−43.49 × 10−4−0.0226403.46 × 10−7
X10.0031461.11 × 10−151.56 × 10−40.01911.78 × 10−40.0642
X21.14 × 10−40.74191.12 × 10−50.84981.53 × 10−50.7832
X34.21 × 10−40.15403.45 × 10−50.49351.12 × 10−60.9820
X40.0017073.19 × 10−51.08 × 10−40.12166.10 × 10−50.3995
X50.0016522.06 × 10−75.00 × 10−50.35313.13 × 10−50.5904
X6−9.11 × 10−40.0025−9.80 × 10−50.0562−1.17 × 10−40.0429
X7−6.36 × 10−50.8595−7.81 × 10−60.89892.47 × 10−50.7064
X85.38 × 10−50.8747−2.21 × 10−50.70485.65 × 10−50.3600
X91.97 × 10−40.50383.71 × 10−50.46254.79 × 10−50.3883
X10−0.0021351.34 × 10−11−1.82 × 10−47.45 × 10−4−2.65 × 10−40.0241
X11−2.47 × 10−40.4355−1.67 × 10−40.0021−1.25 × 10−40.0325
X12−0.0010620.00344.83 × 10−60.9378−1.10 × 10−50.8703
rho--0.9846370.0000--
lambda----0.9887230.0000
Table 4. Definition-audited model fit. SLM structural and SEM filtered rows are in-sample model-native diagnostics; SLM reduced-form and SEM systematic rows are covariate-based predictions. Package pseudo-R2 values are not directly comparable across definitions.
Table 4. Definition-audited model fit. SLM structural and SEM filtered rows are in-sample model-native diagnostics; SLM reduced-form and SEM systematic rows are covariate-based predictions. Package pseudo-R2 values are not directly comparable across definitions.
Model/MetricDefinitionR2RMSEMAEPackage R2/Pseudo-R2AIC or AICc
OLSresponse-scale fitted value X beta0.30470.0071130.005871-−4290.97
SLM structural fitrho W y + X beta0.97920.0012298.93 × 10−40.9803−6266.48
SLM reduced form(I − rho W)−1 X beta−9.81950.0280570.0265550.9803−6266.48
SEM systematicX beta−22.94880.0417430.0408890.1615−6256.19
SEM filtered fity minus filtered innovation0.97910.0012338.88 × 10−40.1615−6256.19
GWRresponse fitted value0.97430.0013689.59 × 10−40.9743−5463.77
MGWRresponse fitted value0.99840.0003412.22 × 10−40.9984−6155.20
Table 5. Residual global Moran’s I and significant LISA cluster counts for the final X1–X12 models (row-standardized KNN-8 weights; 999 permutations).
Table 5. Residual global Moran’s I and significant LISA cluster counts for the final X1–X12 models (row-standardized KNN-8 weights; 999 permutations).
ModelResidual Moran’s Iz (Permutation)p (Permutation)Significant LISA nHH/LL/HL/LH
OLS0.794342.620.001328188/133/4/3
SLM0.288215.590.00115696/44/9/7
SEM0.298015.960.001172111/48/8/5
GWR0.223111.530.00112453/39/20/12
MGWR0.00210.190.429382/12/14/10
Table 6. RF tuning, administrative transfer, and repeated spatially grouped holdout results for X1–X12. Spatial rows report means across 30 repetitions.
Table 6. RF tuning, administrative transfer, and repeated spatially grouped holdout results for X1–X12. Spatial rows report means across 30 repetitions.
Validation DesignPredictorsR2RMSEMAEInterpretation
apparent_trainingX1–X120.57620.0055530.004564diagnostic/grouped estimate
out_of_bagX1–X120.35310.0068610.005656diagnostic/grouped estimate
county_GroupKFold_pooledX1–X120.11470.0080260.006663diagnostic/grouped estimate
leave_one_county_outX1–X120.06640.0082240.006804administrative transfer
municipality_held_outX1–X12−0.86200.0116390.009719administrative transfer
coordinate_kmeans; buffer 0X1–X12−0.08070.0088670.007483mean of 30 repetitions
coordinate_kmeans; buffer hX1–X12−0.14260.0091180.007681mean of 30 repetitions
coordinate_kmeans; buffer 2 hX1–X12−0.47530.0103600.008631mean of 30 repetitions
shifted_50 km_grid; buffer 0X1–X120.08180.0081620.006770mean of 30 repetitions
shifted_50 km_grid; buffer hX1–X12−0.23880.0094630.007768mean of 30 repetitions
shifted_50 km_grid; buffer 2 hX1–X12−0.65030.0109140.008997mean of 30 repetitions
Table 7. AICc-selected GWR/MGWR adaptive bandwidths and MGWR local coefficient variability for the X1–X12 specification.
Table 7. AICc-selected GWR/MGWR adaptive bandwidths and MGWR local coefficient variability for the X1–X12 specification.
TermGWR BandwidthMGWR BandwidthMGWR Mean BetaLocal Beta SDLocal Beta Range
Intercept6790.0193260.0070570.00403 to 0.03148
X167215.85 × 10−40.001360−0.00259 to 0.00505
X2671142.14 × 10−56.98 × 10−5−2.01 × 10−4 to 1.87 × 10−4
X367611−5.60 × 10−55.71 × 10−6−6.85 × 10−5 to −4.94 × 10−5
X467609−1.70 × 10−56.81 × 10−6−2.99 × 10−5 to −6.61 × 10−6
X567315.54 × 10−53.68 × 10−4−7.50 × 10−4 to 0.00172
X66722−1.89 × 10−47.27 × 10−4−0.00252 to 0.00205
X767611−5.14 × 10−53.52 × 10−6−5.64 × 10−5 to −4.57 × 10−5
X8676081.03 × 10−51.50 × 10−5−5.18 × 10−6 to 3.89 × 10−5
X967372.21 × 10−43.86 × 10−4−4.28 × 10−4 to 0.00184
X106715−6.95 × 10−40.001653−0.00433 to 0.00332
X116725−3.24 × 10−54.79 × 10−4−0.00116 to 0.00273
X1267261.30 × 10−43.64 × 10−4−6.49 × 10−4 to 0.00246
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.

Share and Cite

MDPI and ACS Style

Pang, D.; Shen, G.; Wang, J.; Huang, L.; Zheng, Q.; Zhang, H. Spatial Heterogeneity in the Local Clustering of Traditional Villages in Southern Zhejiang, China: Insights from Random Forest–SHAP and Multiscale Spatial Regression Models. Land 2026, 15, 1360. https://doi.org/10.3390/land15081360

AMA Style

Pang D, Shen G, Wang J, Huang L, Zheng Q, Zhang H. Spatial Heterogeneity in the Local Clustering of Traditional Villages in Southern Zhejiang, China: Insights from Random Forest–SHAP and Multiscale Spatial Regression Models. Land. 2026; 15(8):1360. https://doi.org/10.3390/land15081360

Chicago/Turabian Style

Pang, Di, Guoqiang Shen, Jie Wang, Lepeng Huang, Qiyang Zheng, and Huan Zhang. 2026. "Spatial Heterogeneity in the Local Clustering of Traditional Villages in Southern Zhejiang, China: Insights from Random Forest–SHAP and Multiscale Spatial Regression Models" Land 15, no. 8: 1360. https://doi.org/10.3390/land15081360

APA Style

Pang, D., Shen, G., Wang, J., Huang, L., Zheng, Q., & Zhang, H. (2026). Spatial Heterogeneity in the Local Clustering of Traditional Villages in Southern Zhejiang, China: Insights from Random Forest–SHAP and Multiscale Spatial Regression Models. Land, 15(8), 1360. https://doi.org/10.3390/land15081360

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop