Abstract
Suitability maps that rank land for industrial development are usually judged by a single accuracy score, the area under the receiver operating characteristic curve (AUC), which does not show where a model places its highest scores. We tested whether such maps for nine provinces of Northern Thailand point to the same places when two modeling choices change: the background radius, that is, how far from existing factories the comparison locations are sampled, and the algorithm (random forest, XGBoost or logistic regression). In a pre-specified experiment, six radii (1 km to unbounded) were crossed with three algorithms and evaluated on held-out provinces. On these province-wide tests, discrimination was nearly identical from 5 km outward (median AUC 0.970–0.976). Yet, at 10 km, algorithms whose AUC differed by no more than 0.004 had top-decile hotspot overlap of only 0.52–0.64 (Jaccard index), and the random background sample also moved the hotspots. In post hoc analyses, the AUC fell and the ranking of radii changed against test locations near existing factories, while slope ranked among the top three covariates in all 90 map models. The maps rank places resembling existing factory sites, not sites suitable for new factories. Map agreement should be reported beside accuracy.
1. Introduction
Machine learning suitability maps are now a routine instrument for screening where economic activity is likely to locate. A presence sample of existing facilities is contrasted with background locations drawn from the surrounding landscape, a classifier learns the covariate profile that separates the two, and the fitted model is projected across a region to rank every cell by its propensity to host the activity. This approach replaces the analyst-assigned weights used in GIS-based multicriteria overlays (reviewed by Malczewski [1] and, for industrial site selection, by Rikalovic et al. [2], and still used in recent suitability studies [3]) with relationships learned from observed locations. Its output is the map: the surface that planners and analysts read to decide which parts of a region deserve closer attention. Yet, the evidence offered for such a map is usually a single number, the cross-validated area under the receiver operating characteristic curve (AUC), and the AUC describes how well a model separates presences from background, not where the model places its highest scores [4]. Recent susceptibility studies report their maps in the same way, as the map of one model with its accuracy: a MaxEnt fire-risk map of Phrae Province, within the present study area [5], and a flood map drawn from the most accurate of random forest, XGBoost and logistic regression [6].
The question such a map answers is an old one in regional science and economic geography. Manufacturing firms concentrate where they gain from proximity to other firms, labor and markets [7,8]. Empirical location studies relate firm counts or location choices to accessibility, agglomeration and land characteristics [9], and spatial dependence among neighboring locations is a recurring complication in them [10]. Road freight activity, facility location and urban form are interrelated [11]. Grid-based mapping of observed urban locations has also been used to examine the operational geographies of digital platforms. In Istanbul, Eren [12] aggregated static point-of-interest data from three e-commerce platforms to a grid of 0.01° (about 1 km), classified cells into three density classes (very dense, dense and less dense) and overlaid the resulting zones with official administrative divisions and district commercial centers. Presence–background suitability models borrow their statistical machinery from species distribution modeling, but they address the same question: which land offers the conditions under which firms have located. We draw on the literature above for the statistical properties of presence–background classifiers and for methods of comparing prediction surfaces. We do not assume that the substantive processes governing firm locations are analogous to those governing species distributions. Where cross-border corridors are being developed, as in the economic corridors of the Greater Mekong Subregion [13], such maps can inform discussion of land ahead of infrastructure investment, which makes the way they are produced consequential.
That distinction matters because every suitability map rests on modeling choices that the analyst makes before any accuracy is computed. Two of them are especially consequential. The first is the extent from which background points are drawn. The background defines the contrast the model learns, so the radius around presences within which it is sampled changes both the apparent signal and the fitted response [14,15,16]. The second is the learning algorithm. Studies in species distribution modeling have repeatedly found that algorithms fitted to the same data can produce markedly different spatial predictions [17,18], and that the choice of algorithm can be a larger source of variation in projected distributions than other components of the modeling chain [19]. Applied studies also vary both choices together, for example, in a Thai urban-ecology application, by comparing several algorithms under alternative pseudo-absence strategies and mapping the combination with the highest AUC [20]. Empirical suitability studies also show that background construction and algorithm choice enter together in model development. In Thailand, Changruenngam et al. [21] developed fuzzy pseudo-absence selection for random-forest habitat prediction and compared it with MaxEnt under limited occurrence data. Both observations are instances of a more general property of statistical learning: many models can fit the same data almost equally well while describing it differently [22]. Controlled and applied studies likewise show that sampling choices, modeling algorithms, and spatial extent can alter geographical predictions while conventional performance measures may not fully reveal those differences [23,24]. When this holds, an accuracy comparison cannot determine which of the near-equivalent maps should be believed, because it does not ask whether they agree.
The usual responses address the problem only in part. Ensemble forecasting and model averaging combine predictions from several algorithms or settings into a single surface [25,26]. A combined map can be more robust than any of its members, but it reports a consensus without showing where the members disagreed or which choice produced the disagreement. Benchmarking studies, conversely, compare configurations on discrimination and leave the maps themselves uncompared. Measures that compare maps directly are available. The structural similarity index (SSIM), developed for image quality assessment [27], has been applied to compare species distribution surfaces in a moving local window [28], and set-overlap measures such as the Jaccard index summarize whether two maps identify the same high-scoring areas. These measures are less often reported alongside held-out discrimination for the same configurations, scored against the same test data. Without that pairing, a reader cannot tell whether two configurations with equal AUC also give the same spatial advice.
A second difficulty is analytic flexibility. When background extent and algorithm can be varied freely and only the preferred result is reported, the published map reflects one path through many defensible alternatives. Work on multiverse analysis and on many-analyst studies has shown that such alternatives can change substantive conclusions, and that the remedy is to make the set of alternatives explicit and analyze it in full rather than report one of its members [29,30]. Pre-specification, in which the design, metrics and reading rules are fixed before outcomes are observed, protects such an analysis from being adjusted after the results are known [31]. Both practices are directly applicable to suitability mapping, where the analytic alternatives are few, well defined and computationally cheap to enumerate.
This study applies them to industrial-location suitability mapping in nine provinces of Northern Thailand, a mountainous region with uneven development in which background extent is likely to matter. We ask whether the land that a suitability map identifies as suitable stays in place when the background radius and the learning algorithm change, while the data and covariates are held fixed. The design is a pre-specified crossed experiment: six background radii (1, 5, 10, 20, 25 km, and an outer bound set only by the study area) are crossed with three algorithms representing distinct model families (random forest, gradient-boosted trees, and logistic regression), giving eighteen configurations, each fitted under five pre-declared background draws. Every configuration is evaluated by leave-one-province-out validation, an administrative province holdout, against the same held-out presence and background points for each province, and every map is produced on a common 500 m grid without per-map rescaling, so that differences in score level are retained rather than normalized away. The design, metrics, test points and analysis code were fixed in an internal pre-declaration, and their hashes were recorded, before any model was fitted.
For industrial-location analysis, this difference matters because a suitability map determines where screening begins. Two maps with near-equal AUC that rank different parts of basins or valley corridors among their highest-scoring areas could direct screening, infrastructure discussion, or land-use review to different places. This study contributes a pre-specified crossed comparison in which discrimination and map agreement are measured for the same industrial-location configurations, using shared held-out test data and a common prediction grid.
The analysis keeps three questions separate rather than merging them into a single score:
- RQ1. How much do background radius and algorithm change discrimination on provinces withheld from training?
- RQ2. When discrimination is comparable, do the resulting maps place their highest scores in the same locations?
- RQ3. Do configurations with comparable discrimination rely on the same covariates, in rank, magnitude and direction?
A fourth, exploratory question synthesizes the first three:
- RQ4 (exploratory). Which parts of the study area are identified as high-scoring in nearly all configurations, which depend on the configuration, and which modeling choice accounts for that dependence?
This study does not seek the best radius or the best algorithm, and it does not select a configuration on accuracy alone. Its aim is to show how much of a suitability map is stable across defensible modeling choices and how much is a consequence of them, and to report that dependence as part of the map’s evidence. The resulting surfaces are intended for regional screening, not for the selection of individual parcels.
2. Materials and Methods
2.1. Study Area
The study area comprises the nine provinces of upper Northern Thailand: Chiang Mai, Chiang Rai, Lampang, Lamphun, Uttaradit, Nan, Phrae, Phayao and Mae Hong Son (Figure 1). The region is mountainous. Industrial and urban activity is concentrated in a small number of intermontane basins separated by forested uplands, so gently sloping land in the basins is both limited and spatially clustered. This structure is the reason the background extent is expected to matter here: a narrow ring around existing firms samples their immediate surroundings, whereas a wide ring increasingly samples steep and forested terrain that differs sharply from the presence locations.
Figure 1.
Study area and presence data. (a) Location of the nine provinces of upper Northern Thailand (shaded) within Thailand, with a rectangle marking the extent of panel (b). (b) The nine provinces, with the 2859 industrial firm locations and the Chiang Khong border crossing. WGS 84/UTM zone 47N (EPSG:32647). Sources: Boundaries of Thailand and its provinces from OCHA [32], originally from the Royal Thai Survey Department, neighboring countries from Natural Earth (1:10 m Admin 0, public domain), and firm locations from the Department of Industrial Works factory registry [33]. Map lines delineate study areas and do not necessarily depict accepted national boundaries.
The region lies at the northern end of an overland trade corridor that links Thailand with Lao PDR and southern China through the Chiang Khong border crossing on the Mekong (20.3622° N, 100.0894° E), part of the North–South Economic Corridor of the Greater Mekong Subregion, which runs from Kunming through Chiang Rai to Bangkok via the Lao PDR or Myanmar [13]. BBBike extracts of OpenStreetMap data dated July–August 2025 depict the new railway from Den Chai through Chiang Rai to Chiang Khong as under construction, and it was not in operation when the covariates were compiled. Distance to the planned alignment is therefore one of the covariates. A cross-sectional model can relate firm locations to this distance, but it cannot show how firms will respond once the line operates.
All layers are held in WGS 84/UTM zone 47N (EPSG:32647). The analysis extent is the union of the nine provincial polygons, taken from the subnational administrative boundaries for Thailand distributed by the United Nations Office for the Coordination of Humanitarian Affairs (OCHA), with the Royal Thai Survey Department as the original source [32]. On the common 500 m prediction grid used for all maps (Section 2.7), 382,056 cells have complete covariate values, forming a valid area of 95,514 km2 (Table S1).
2.2. Presence Data
The presences are 2859 industrial firm locations from the factory registry of the Department of Industrial Works (DIW), Ministry of Industry, Thailand, with their coordinates recorded in the registry [33]. The records were last updated between August 2022 and April 2023, and the extract was obtained on 9 May 2026. The registry does not state the format of its coordinates. All 2859 coordinates were visually inspected in Google Earth (Google LLC, Mountain View, CA, USA) by an inspector external to this study (see Acknowledgments), who checked whether each recorded location corresponded plausibly to a visible industrial facility or developed site. Every coordinate was judged to do so, and none was changed. The inspection was a complete visual check of the government-supplied coordinates, not a field survey or an independent geodetic validation of each facility, and some points lie slightly off the building, although still at the site. We use industrial firms for registered manufacturing, processing and storage establishments. A screen applied before this study removed nine records from an initial 2868: four lay outside the nine-province boundary and five lacked a covariate value. Each presence is assigned to the province named in its registry record, and this assignment defines the validation folds (Section 2.6). Presence counts are uneven across provinces, from 906 in Chiang Mai to 53 in Mae Hong Son, which bounds the precision of province-level results in the smaller provinces.
2.3. Covariates
Eleven covariates are used in every configuration (Table 1). They were fixed before the experiment and are not selected or transformed per configuration. For reporting, they are arranged in five groups, also fixed in advance: physical capacity (slope, distance to water), forest condition (forest), development intensity (built-up, nighttime light), transport access (distances to road, existing railway and the planned railway alignment), and market and gateway access (distances to the nearest provincial capital, dry port and the Chiang Khong crossing). This grouping is used for the leave-one-group-out test (Section 2.10) and is a reading aid. Group importances are not summed, because several covariates within and across groups are correlated.
Ten covariates are rasters on a common 92.8 m grid. Slope is derived from the Shuttle Radar Topography Mission (SRTM) v4.1 digital elevation model (DEM) [34]. The eleventh covariate, distance to the Chiang Khong crossing, is computed as the Euclidean distance from each point or cell to the crossing coordinate. Forest and built-up are binary layers. Forest is the Royal Forest Department’s forest-area condition dataset for B.E. 2568 (Buddhist Era, 2025 CE), produced by its Forest Resources Survey and Analysis Section in collaboration with the Forest Research Center, Faculty of Forestry, Kasetsart University, from Sentinel-2 imagery at 10 m, with Landsat 8 and 9 imagery in support [35]. Its forest definition is contiguous tree cover of at least 3.125 rai (0.5 ha), including natural grassland and rock enclosed by forest but excluding eucalyptus, agroforestry, orchard, rubber and oil-palm plantations, and its reported classification accuracy is 99.05% at 528 field check points. The producer states that the layer is intended for national-scale study and that parcel-level use requires higher-resolution data as well, which is consistent with the regional-screening use of the maps here. It is a forest-condition layer, not a legal-designation layer, and it carries no attribute that distinguishes reserved forest, national park or wildlife sanctuary. It is Thai government spatial data supplied for research use (metadata record dated 2 April 2026). Its redistribution is restricted, so it is not deposited with the code and outputs and is obtainable from the department on request. The planned railway alignment is the one published by the State Railway of Thailand on Google My Maps [36]: the final alignment (323 km) and a 25.5 km branch toward Chiang Saen, exported on 9 September 2025. OpenStreetMap railway features mapped as under construction coincide with the main alignment to within 30 m along 99.9% of its length. It is a published planning alignment, not an engineering design, and it is not redistributed. Project records identify the Overpass API as the acquisition route and 2025 as the download year for the OpenStreetMap layers used to derive distances to roads, existing railways, waterways and dry ports. The original extracts and queries were not retained, so the exact acquisition dates and source snapshots cannot be verified retrospectively. The derived distance rasters are dated 7 May 2026 (file dates). OpenStreetMap data are used under the Open Database License (ODbL). Built-up is the built-up class of the European Space Agency (ESA) WorldCover product [37]. The nighttime light layer is a 2024 annual composite of the NPP-VIIRS-like series, a cross-sensor product calibrated to the Visible Infrared Imaging Radiometer Suite on the Suomi National Polar-orbiting Partnership satellite (NPP-VIIRS), obtained from the producer’s dataset record [38], whose cross-sensor method is described by Chen et al. [39]. The file lineage records a corrected VIIRS median composite produced in April 2025, before the producer’s December 2025 update of the record. Which release of the record the file belongs to cannot be determined from the file itself, so the layer is treated as a processed composite of undetermined release, not as a raw observation. All distances are straight-line distances, not network distances.
Table 1.
Covariates, sources, resampling methods for the 500 m prediction grid, and licensing information.
2.4. Analysis Overview
The analysis follows six steps (Figure 2). The data and design are locked before any model is fitted (Section 2.5), and a shared held-out test set is defined for each province (Section 2.6). Eighteen configurations are then fitted in a crossed experiment (Section 2.7), and three questions are answered separately on discrimination (Section 2.8), map agreement (Section 2.9) and factor reliance (Section 2.10). The results are synthesized in an exploratory step (Section 2.11), and the reporting rules bound what the results may be taken to show (Section 2.12). Post hoc analyses requested during peer review are described in Section 2.13.
Figure 2.
Research framework and analysis workflow. Steps 1–3 fix the data, the shared held-out test sets and the crossed experiment before any model is fitted. Steps 4a–4c answer RQ1–RQ3 separately rather than merging them into one score. Step 5 (dashed) is exploratory and was specified after Steps 4a–4c had been read. Step 6 states what the results may be taken to show. The dashed box on the right shows the post hoc analyses added during peer review, which are not part of the pre-declaration (Section 2.13).
2.5. Pre-Specification and Locks
The design, metrics, comparison structure and reading rule were written in a pre-declaration before any background was drawn or any model fitted. The SHA-256 hashes of the input files, namely the presence data, the province boundary and the ten covariate rasters, were recorded with it. Four amendments were appended before the run, each re-hashed. They fixed the training presence file, the province assignment of presences, the test-point procedure and its sampling budget, the training-background budget, and the implementation choices of the analysis code. The test points and the analysis code were hashed before the first fit. After the run, a manifest of 711 output files was hashed and checked against the outputs with no mismatch. The pre-declaration is an internal analysis plan: it was not deposited with an external registry, and its hashes were recorded locally. Its chronology therefore rests on the records released with the code: the file dates of the pre-declaration, the locked inputs and the test points, the run log, in which the analysis script checked every locked hash before the first fit, and the output manifest. The reading rule was declared in advance: if two configurations have close AUCs but low map similarity, they discriminate comparably while giving different spatial advice, and no map is to be chosen on the highest AUC alone. The pre-declaration set no numerical threshold for “low” similarity, so similarity values are reported descriptively.
2.6. Validation Design and Shared Test Sets
Discrimination is assessed by leave-one-province-out validation with nine folds. In fold k, the presences registered in province k, Pk, are held out, and the model is trained on the remaining presences, P−k. Folds follow the registry province of each presence, so the design is an administrative province holdout, not a fully independent spatial extrapolation: held-out provinces border training provinces, and the test points of some folds lie close to training presences (Section 3.6). Six presences lie inside a different provincial polygon from the one named in their record. They are kept under their registry province in the primary analysis, and a post hoc sensitivity analysis reassigns or excludes them (Section 2.13).
Holding out a whole province asks whether a model transfers to an area it has not seen, which is stricter than random cross-validation and block cross-validation within the training region, both of which can leave training and test points close together [41,42]. Provinces are also the administrative units over which a regional screening result would be read. A random or within-region split was therefore not used as the primary design.
For each province, one test background set Tk was generated before any model was fitted, with a fixed random seed (a fresh generator for each province), and is shared by every configuration. Its points are drawn uniformly in the province polygon Ωk, at least 500 m from every one of the 2859 presences and with complete covariates, in a number equal to the province’s presence count:
where d(x,P) is the Euclidean distance from x to the nearest presence. Each fold is therefore scored on the same balanced 1:1 test set by all eighteen configurations and all five background draws, so differences in test performance cannot arise from differences in test data. All nine test sets were completed within their pre-declared sampling budgets.
Each configuration could have been scored against a background drawn under its own radius. The test background would then change with the radius, and a difference in AUC between radii could reflect the change in test data as much as the change in the model. Scoring every configuration on the same presences and the same background points makes the comparison paired, so that differences in held-out performance are attributable to the configuration alone.
Drawn across the whole held-out province, the test background lies mostly on forested upland: 61.8% of the test background points are on forest cells and 0.9% on built-up cells, close to the composition of the widest training rings (Section 3.4). The test sets therefore define a province-wide test domain, in which firm sites are separated from land that is mostly unlike them. Post hoc test backgrounds drawn near the firms are described in Section 2.13.
2.7. Crossed Experiment
For a training fold, the candidate background region for outer radius r is the ring
where Ω−k is the union of the eight training provinces and d(x,P−k) is the distance to the nearest training presence. The six radii are r ∈ {1,5,10,20,25} km and r = ∞, written R∞. R∞ drops only the upper bound in Equation (2): sampling is still confined to the training provinces and still excludes the 500 m inner zone, so R∞ means no outer ring, not unlimited extent. Training background is never drawn in the held-out province. Candidates are drawn uniformly within the bounding box of Ω−k, kept in draw order if they satisfy Equation (2) and have complete covariates, and the first nbg = |P−k| are used, giving a 1:1 training sample. The 10 km ring is the reference for comparisons across radii. It was fixed in the pre-declaration before any result was observed.
The six radii span the range between the two extremes at which background extent is usually set: a background confined to the immediate surroundings of the presences, and a background drawn from the whole study area [14,15,16]. The 500 m inner exclusion keeps background points from falling on or next to a firm site. The number of background points and the order in which candidates are drawn are the same at every radius, so the radius effect is not confounded with sample size or with a different random sequence.
Three algorithms representing distinct model families are fitted with settings fixed in advance and not tuned per configuration (Table 2): random forest [43], gradient-boosted trees (XGBoost) [44] and L2-regularized logistic regression on standardized covariates. Crossing six radii with three algorithms gives eighteen configurations.
Table 2.
Algorithm settings, identical in every configuration.
The three algorithms differ in how they combine covariates, which is the property expected to affect where high scores fall. Logistic regression fits an additive, monotone surface on the logit scale and is the generalized-linear baseline of distribution modeling [45]. Random forest averages many deep trees fitted to bootstrap samples (bagging), whereas gradient boosting adds shallow trees in sequence, each fitted to the errors of the trees before it [46]. Both tree ensembles represent thresholds and interactions without the analyst specifying them, and tree ensembles have performed well in benchmarks of presence–background modeling [47]. Comparing bagging with boosting therefore tests two aggregation strategies rather than two implementations of one idea, and logistic regression is the standard reference against which random forest is compared [48]. Maximum entropy modeling (MaxEnt) was not run separately. MaxEnt is equivalent to a Poisson point-process model [49], and logistic regression approaches the same model as the number of background points increases [50]. With a 1:1 background sample and linear features, the logistic model here is related to MaxEnt but not equivalent to it.
The settings were fixed in advance and not tuned per configuration. Tuning is itself an analyst choice. Tuning each configuration separately would have mixed the effect of the algorithm with the effect of the tuning effort it received, and would have added a further source of variation between maps. Random forest is relatively insensitive to its hyperparameters [51], and the boosting settings follow the general recommendations of Elith et al. [46] for shallow trees, stochastic subsampling and many boosting rounds. The specific values in Table 2 were fixed in the pre-declaration. They were not derived from that source or tuned, and they are not claimed to be optimal. The set of algorithms is not exhaustive. Generalized additive models, support vector machines and neural networks were not run, and a wider or tuned set could agree more or less than the three reported here.
Each configuration is fitted under five pre-declared random seeds (42, 0, 1, 7 and 2024). The seed changes only the order in which background candidates are drawn. The tree models use one fixed internal seed, and logistic regression is deterministic. The five draws are an experimental setting, not a modeling choice under study, and no draw is selected over the others. The number of draws was fixed in the pre-declaration. The draws assess how sensitive the results are to the random background sample, and they are not independent datasets. Discrimination and map-agreement results are summarized over them as a median, whereas the pre-declared SHAP values and the group-removal test use the first draw only (Section 2.10). SHAP values for the other four draws were added post hoc (Section 2.13). For a discrimination measure m computed in fold k under background draw d, the reported value is
and the spread across draws is given in Table S2, with a post hoc comparison of between-algorithm and between-draw hotspot overlap in Table S3. With nine folds, six radii and five draws, the design comprises 270 fold × radius × draw sampling units. The three algorithms are fitted in each unit, giving 810 fold-level model fits.
For mapping, each configuration is refitted on all nine provinces under each draw, with nbg = 2859, giving 90 maps (the full-data maps). Every map is predicted on the same 500 m grid with the same valid-cell mask, as a relative suitability score s(c) ∈ [0, 1] for cell c: the classifier’s output on the probability scale. Because the design contrasts presences with a 1:1 background sample, the score ranks cells by relative suitability and is not the probability that a firm is present. Maps are not rescaled to their own range, so differences in score level between configurations are preserved.
2.8. Measuring Discrimination on Held-Out Provinces (RQ1)
Discrimination is measured by the AUC on the shared test set of each fold. With n1 test presences scored si and n0 test background points scored sj,
which is the probability that a randomly chosen presence outscores a randomly chosen background point [52].
Thresholded performance uses the true skill statistic (TSS) [53]. A location is predicted positive when s ≥ t, and
The threshold is chosen from training data only. Within each training fold, out-of-fold scores are obtained by leave-one-block-out cross-validation on a fixed 50 km grid of square blocks [41], and the threshold is the highest candidate that attains the maximum out-of-fold TSS, as follows:
where is the set of distinct finite out-of-fold scores and ϵ = 10−12 absorbs floating-point ties. The threshold is then frozen and applied unchanged to the held-out province. Because the test background is a sampled rather than confirmed absence, TSS here measures the separation of presences from the sampled background, not specificity against true absence.
The AUC is threshold-free and measures how well a model ranks presences above the background, which is the same ordering a suitability map displays. Its limits as a sole criterion are the motivation for this study [4]. TSS adds a thresholded view that, unlike kappa, does not depend on prevalence [53]. The threshold is chosen inside the training provinces so that the held-out estimate is not tuned to the data it scores.
Cohen’s kappa [54] was also pre-declared, as follows:
with test-set size n = n1 + n0, observed agreement po = (TP + TN)/n and chance agreement pe. Because every test set is balanced, TP + FN = TN + FP = n/2, so pe = 1/2 whatever the predicted prevalence, and
Kappa therefore carries no information beyond TSS in this design. It is computed as declared, its identity with TSS is confirmed numerically, and only TSS is reported.
2.9. Measuring Map Agreement (RQ2)
Maps are compared in two directions: across radii within one algorithm, with each radius against the 10 km reference, and across algorithms within one radius for the three algorithm pairs. All agreement measures are computed per province, because agreement can differ between provinces. Each comparison is made within a background draw. The provincial value is the median over the five draws, and a study-area summary is the median of the nine provincial values, reported with their range.
The structural similarity index [27] compares two maps a and b in a moving window. For the window centered on cell c,
where μ, σ2 and σab are the window means, variances and covariance, C1 = (0.01λ)2, C2 = (0.03λ)2 and the data range λ = 1. The index combines agreement in local mean, contrast and pattern, and equals 1 for identical windows. The primary window is 7 × 7 cells (3.5 km), with 21 × 21 cells (10.5 km) as a sensitivity scale. The provincial value is the mean over the set Wp of cells of province p whose entire window lies on valid cells,
so windows touching NoData or the array edge are excluded rather than filled. SSIM is computed twice: on the raw scores, where it responds to both score level and spatial pattern, and on percentile-rank maps, which remove differences in score calibration. The rank of cell c among the N valid cells of the study area is
with tied scores given their average rank.
Cell-by-cell measures such as a correlation or a root-mean-square difference treat cells as independent and return one number for the whole map. SSIM compares local neighborhoods, separates agreement in level, contrast and pattern, and has been used in ecology to locate where two distribution maps differ [27,28]. The algorithms produce scores on differently calibrated scales, so raw SSIM can register a difference in calibration even where the ordering of cells is the same. Rank SSIM removes calibration, but it does not isolate the ordering of cells within a window. The ranks are study-wide, so two maps with the same pattern inside a window but at different percentile levels or spreads there still receive a lower value through the mean and variance terms of Equation (9). The structure term alone is reported post hoc (Section 2.13). Rescaling each map to its own range was not used, because it would remove exactly the differences in score level being measured. The 7 × 7 window was fixed in advance as a neighborhood a few kilometers across. Because SSIM depends on window size, a 21 × 21 window is reported as a sensitivity check.
The hotspot set of map A is its study-wide top decile,
where q0.9(sA) is the 90th percentile of sA over all valid cells. The overlap in province p, with valid cells Ωp, is the Jaccard index [55]:
Because the top decile is defined study-wide, a province’s hotspot count reflects how much of the corridor-wide top 10% it draws, and the counts behind the provincial Jaccard values are given for the 10 km algorithm pairs in the post hoc results (Section 3.6) and for every comparison and draw in the released map-similarity table. No significance test is applied to pixel counts, because neighboring cells are not independent replicates.
The hotspot set approximates the area a screening user would examine first, so whether two maps share it is the most direct test of whether they give the same spatial advice. Defining it as each map’s own top decile makes the comparison independent of score calibration and of a score threshold, whose choice can itself change a map [56]. The Jaccard index counts only cells that are hotspots in at least one map. Overall agreement or kappa computed over all cells would be dominated by agreement on the 90% of cells that are hotspots in neither map, and would overstate similarity.
2.10. Measuring Factor Reliance (RQ3)
For each of the eighteen configurations, the map model fitted under the first pre-declared draw is explained with SHapley Additive exPlanations (SHAP) values [57,58] on the same 1000 randomly selected valid cells, against the same reference sample of 100 valid cells, with the output on the probability scale for every algorithm. Tree models use interventional TreeSHAP [59]. Logistic regression uses a sampled permutation explainer, so its values are approximations. For covariate j, with ϕj(xm) the SHAP value of covariate j at cell xm, the magnitude of reliance is the mean absolute SHAP value over the M = 1000 cells,
and the direction is the Spearman correlation between the covariate value xj and its SHAP value ϕj across the same cells. Direction is a descriptive association, not a causal effect.
Permutation importance is the cross-algorithm measure because it is computed in the same units for every model. On each fold’s shared test set, the values of covariate j are permuted across rows Q = 10 times and the mean loss of AUC is recorded as follows:
where denotes the test set with covariate j permuted in repeat q. Built-up and nighttime light are also permuted jointly with one shared row permutation to measure the loss when their combined information is disrupted. Correlation complicates the attribution of permutation importance to individual covariates [60,61]. This is computed for every fold, radius, algorithm and background draw.
SHAP and permutation importance answer different questions. SHAP describes how a fitted model distributes its predictions across covariates over the landscape, with the same additive definition for every model type [57,58]. All models are explained on a common probability scale against a common reference sample. Their raw magnitudes nevertheless reflect how widely each algorithm spreads its scores as well as its reliance on the covariates, and logistic regression uses a different explainer, so raw magnitudes are compared within an algorithm and across rings, and reliance is compared across algorithms with normalized shares (Section 2.13). Permutation importance describes which covariates the model’s held-out discrimination depends on, in the same units of AUC for every algorithm, and it is computed on the same test data as the discrimination results [43].
In the leave-one-group-out test, for each of the five covariate groups G (Section 2.3), the model is refitted without the group and scored on the same test set, as follows:
This test requires refitting, so it is run under the first pre-declared draw only for every fold, radius and algorithm, and its results are conditional on that draw. All three measures are reported for each background ring separately as well as summarized over rings, so that changes in factor reliance can be read alongside the map comparisons for the same rings.
Permuting a covariate breaks its association with correlated predictors and can force the model to predict for combinations that are rare or absent from the observed data [62]. Consequently, individual permutation scores should not be interpreted as unique or independent contributions. Refitting without a group asks a different question: whether the information carried by that group can be replaced by the remaining covariates. The three measures are reported together because none of them alone separates what a model uses from what it needs.
2.11. Exploratory Synthesis: Consensus and Configuration-Dependent Areas (RQ4)
This step was specified after the results of Section 2.8, Section 2.9 and Section 2.10 had been read, but before this step was computed. Its specification was hashed first, and it uses only the saved maps, and no model is refitted. It is reported as exploratory.
For each cell, the hotspot frequency is the share of maps in a set in which the cell is a hotspot by Equation (12):
Two sets are used: all 90 maps, and the 75 maps without the 1 km ring as a sensitivity view. Cells are classed as a consensus core if f(c) ≥ 0.9, configuration-dependent if 0 < f(c) < 0.9, and never a hotspot if f(c) = 0. The full distribution of f is also reported, so that the 0.9 cut can be read against it, together with the area that is a hotspot in every map (f(c) = 1).
To identify which modeling choice moves a configuration-dependent cell, its binary hotspot membership Irld(c) over radius r (R levels), algorithm l (L levels) and background draw d (D levels) is decomposed as in a balanced factorial design. With the mean over all maps and , the means for one radius and one algorithm,
and the remainder, SSrem = SST − SSR − SSL, contains the background-draw effect and all interactions. It is split into the background-draw main effect, , and the sum of all interactions, SST − SSR − SSL − SSD. The interactions between radius and algorithm are not separated from those involving the draw. Each component is summed over the configuration-dependent cells of a province, or of the whole study area, and is reported as a share of . The decomposition is descriptive: it is not an analysis-of-variance test, and no p-values are computed. Raw shares of the sum of squares accumulate over terms with different degrees of freedom, so a post hoc descriptive variance decomposition is reported beside them (Section 2.13).
After the results above were read and reported, four further analyses were specified, and their specification hashed and computed from the saved outputs without refitting any model. They are reported as post hoc and do not amend the pre-declaration. The first comprises paired differences in held-out AUC within fold and draw and the summary AUC under four aggregation orders (the reported median over draws of the median over folds, the reverse order, the pooled median and the pooled mean). The second comprises hotspot cell counts, ties at the top-decile threshold, overlap at the top 5% and 20%, and the area at f(c) ≥ 0.8. The third is the radius × algorithm interaction in Equation (18), , separated from the interactions involving the draw. The fourth is, for each fold, the distance from the test points to the nearest training presence.
2.12. Reporting Rules and Software
Results are reported per province where they vary by province, with cross-province medians as summaries only. No configuration is selected, and no statement of statistical significance is made about differences between maps. The term configuration-dependent describes dependence on modeling choices and is not used as a measure of predictive uncertainty. Analyses used Python 3.11.9 with scikit-learn 1.7.1 [63], XGBoost 3.0.4, SHAP 0.48.0, scikit-image 0.26.0 [64], SciPy 1.16.1 [65] and NumPy 2.3.1 [66], with GeoPandas 1.1.0 and Rasterio 1.4.4 for spatial operations. The analysis scripts did not log package versions at run time. The versions above are taken from an environment lock file written before the experiment was run and agree with the installed versions checked after the run. The lock file is included with the released code. Generative AI (Claude Opus 5.5) was used to write and run the analysis and figure scripts, to search for and verify references, and to draft this text. Its use is stated in the Acknowledgments, and all code, outputs and text were checked by the authors.
2.13. Design of the Post Hoc Reviewer-Requested Sensitivity Analyses
Six further analyses were requested during peer review. Their specification was written and hashed before any of them was computed, they use the locked inputs and the functions of the locked analysis code, and they do not amend the pre-declaration. They are labeled post hoc wherever they are reported.
The first analysis tests discrimination against test background near the firms. For each province, two further shared test backgrounds were drawn as in Equation (1), with the same number of points, but were restricted to cells 0.5–5 km or 0.5–1 km from the nearest presence, the 500 m inner exclusion still applying. The 810 fold-level models were not saved, so they were refitted from the saved training backgrounds. Every refitted model reproduced its stored held-out AUC (maximum absolute difference 1.1 × 10−16) and was then scored on the two new test backgrounds. These test backgrounds are still sampled points, not land confirmed to be developable.
The second analysis concerns the six presences whose registry province differs from the polygon they lie in. They were either reassigned to the province of that polygon or excluded, and all 270 units were rerun with the same seeds and sampling rules, giving 810 fits for each variant. The AUC was computed on the original test backgrounds.
The third analysis computes the structure term of Equation (9), tstr = (σab + C3)/(σaσb + C3) with C3 = C2/2, which compares the local pattern of two rank maps without their local means and variances. It uses the same window, cells and summaries as rank SSIM. The fourth compares, at the 10 km radius, the maps of each algorithm under the five background draws pairwise (10 pairs) by raw SSIM, rank SSIM and Jaccard overlap, as a baseline for the comparisons between algorithms.
The fifth analysis extends the SHAP ranking to all five draws. The map models of the other four draws were refitted, reproduced the saved maps in all 72 cases, and were explained as in Section 2.10. For each of the 90 map models, the normalized share of a covariate is its mean absolute SHAP value divided by the sum over the eleven covariates. Directions and the group-removal test were not repeated.
The sixth analysis is a descriptive variance decomposition of the hotspot membership in Equation (18). Mean squares were computed for every main effect and interaction of radius, algorithm and draw, and variance components were estimated from expected mean squares (method of moments, a mixed model with random-effects variance shares for the draw terms), with radius and algorithm fixed, the draw random and the three-way interaction as the residual. Negative estimates were set to zero. For radius and algorithm, the component is the variance of the effects among the tested levels, so these shares describe the radii and algorithms tested here, not a population of possible settings. Neighboring cells are spatially autocorrelated and are not independent observations, so no test or interval is attached.
3. Results
All 270 sampling units, corresponding to 810 fold-level model fits, completed, including every unit at the 1 km ring, so no configuration was reported as not computable. All 90 full-data maps were produced over the same 382,056 valid cells. SHAP values were obtained for all eighteen configurations in the first draw and, in a post hoc five-draw analysis, for all 90 map models. Unless otherwise stated, the discrimination and map-agreement values below are medians over the five background draws (Section 2.7), and their spread is reported in Table S2. SHAP directions, the group-removal test and the single-configuration maps use the first draw. SHAP rankings are reported both for the first draw and for the post hoc analysis of all five draws.
Table 3 summarizes the main results for the province-held-out discrimination and full-data map agreement.
Table 3.
Summary of province-held-out discrimination and full-data map agreement.
3.1. Discrimination on Held-Out Provinces (RQ1)
On the pre-specified province-wide test sets, held-out discrimination depended on the background radius only at its narrowest setting (Table S4 and Figure 3). With the 1 km ring, median AUC was 0.890–0.919 across the three algorithms. From 5 km outward, it was 0.970–0.976 for every algorithm, and widening the ring beyond 5 km brought no consistent further gain. Differences between algorithms at a given radius were small: at the 10 km reference, the three algorithms spanned 0.972–0.976. Logistic regression had the lowest AUC at every radius and the lowest or equal-lowest TSS, but its AUC was within about 0.004 of the tree models from 5 km outward. Provincial values varied more than the summaries suggest, with a range of about 0.94–0.99 across provinces from 5 km outward.
Figure 3.
Discrimination on held-out provinces by background radius and algorithm. Points are the median over the five background draws of the median across the nine province folds (Equation (3)), and bars show the range across the nine provinces of the provincial values, each a median over draws. (a) Area under the receiver operating characteristic curve (AUC). (b) True skill statistic (TSS) at a threshold chosen on training data only. Cohen’s kappa equals TSS in this design (Equation (8)). Values are given in Table S4.
TSS followed the same pattern at a lower level, from 0.679–0.740 at 1 km to 0.709–0.806 at the wider radii. Kappa equaled TSS in all 810 fold-level results (maximum absolute difference 2.2 × 10−16), as Equation (8) requires, and is not reported separately.
Comparable discrimination was therefore observed on the pre-specified province-holdout test sets. In the post hoc near-facility-background sensitivity analysis (Table S21), AUC decreased and the ordering of background-radius configurations differed when background points were sampled 0.5–1 km from recorded facilities. With test background 0.5–5 km from a presence, median AUC was 0.905–0.940 from 5 km outward, and the 1 km ring still scored lowest for every algorithm (0.855–0.917) and in 26 of the 27 fold × algorithm comparisons with the 10 km ring. With test background 0.5–1 km from a presence, AUC fell to 0.775–0.896, and the 1 km ring scored highest for every algorithm (logistic regression 0.804, random forest 0.859, XGBoost 0.896), with AUC generally declining as the ring widened, to 0.790, 0.809 and 0.842 at 10 km. The 1 km ring scored above the 10 km ring in 25 of the 27 fold × algorithm comparisons. The algorithms also spread more widely at 10 km, over 0.033 with the 0.5–5 km test background and 0.052 with the 0.5–1 km test background, against 0.004 on the province-wide test sets. The ordering was consistent with the resemblance between the test and training backgrounds: 9.5% of the 0.5–1 km test background points lie on forest and 9.8% on built-up cells, close to the 1 km training ring (8.6% and 9.2%), whereas the province-wide test background resembles the widest rings. Thus, discrimination depends on the presence–background contrast used for evaluation.
3.2. Map Agreement (RQ2)
Agreement with the 10 km map was lowest for the 1 km ring for every algorithm and every measure (Figure 4a and Table S5). Its median provincial Jaccard overlap with the 10 km hotspots was 0.17–0.18: of the cells that were hotspots in either map, fewer than one in five were hotspots in both. Raw SSIM was 0.20–0.24. From 5 km outward, agreement with the 10 km map was much higher, but the level depended on the algorithm. For logistic regression, rank SSIM was 0.985–0.994: its percentile-rank surfaces were almost unchanged across radii. Because each map’s hotspots are its own top decile, a change in score level alone cannot move them, so the lower hotspot overlap (0.79–0.89) reflects small changes in ordering among cells close to the top-decile cut. For random forest, rank SSIM was 0.743–0.811 and hotspot overlap 0.78–0.87. XGBoost had the lowest hotspot overlap at the wider radii, 0.71–0.75, even where its SSIM was close to that of random forest.
Figure 4.
Map agreement, summarized over provinces. (a) Each radius against the 10 km map within one algorithm. (b) Pairs of algorithms at the same radius. Rows: Structural similarity index (SSIM) on raw scores and on percentile ranks (7 × 7 window), and Jaccard overlap of the study-wide top-10% hotspots. In (b), open markers at 10 km show the agreement between the five background draws of each algorithm (post hoc, Table S22). Points are the median of the nine provincial values, each a median over the five background draws, and bars show the range across provinces. Values are given in Tables S5 and S6.
At a fixed radius, the three algorithms agreed considerably less than the wider radii agreed with each other (Figure 4b and Table S6). The difference is visible in the maps themselves (Figure 5). Read visually, at 10 km, the three algorithms place their highest scores in the same basins, but logistic regression spreads high scores along valley corridors where the tree models score lower, and XGBoost produces a more fragmented pattern than random forest. Figure 5d shows where they agree: of the roughly 9550 km2 that each algorithm places in its top 10%, about 6420 km2 was a hotspot for all three algorithms, and the remaining hotspot cells were flagged by only one or two of them, mostly along basin margins and valley corridors. At the 10 km reference, where their median AUC differed by no more than 0.004, the median provincial hotspot overlap between algorithm pairs was 0.52–0.64, and rank SSIM was 0.37–0.63. Agreement was lowest for pairs involving logistic regression: at 10 km, rank SSIM between a tree model and logistic regression fell to 0.04–0.07 in the province where agreement was weakest. Between the two tree models, this was higher but still well short of identical maps, with Jaccard 0.58–0.67 from 5 km outward. At 1 km, rank SSIM between logistic regression and either tree model was near zero (0.03–0.05).
Figure 5.
Suitability maps at the 10 km radius for (a) random forest, (b) XGBoost and (c) logistic regression from the map models fitted on all nine provinces under the first pre-declared background draw on the common 500 m grid and the same color scale. (d) Number of algorithms whose map places each cell in its study-wide top 10%, under the first pre-declared background draw (added in revision). Scores are relative suitability from a 1:1 presence–background design, not probabilities that a firm is present. WGS 84/UTM zone 47N (EPSG:32647). Boundaries from OCHA [32]. Map lines delineate study areas and do not necessarily depict accepted national boundaries.
Part of this disagreement arises within an algorithm. In the post hoc comparison of the five background draws of the same algorithm at 10 km (Table S22 and Figure 4b), median provincial hotspot overlap between draws was 0.93 for logistic regression, 0.79 for random forest and 0.66 for XGBoost, and rank SSIM between draws was 0.998, 0.87 and 0.84. Rank SSIM between algorithms (0.37–0.63) was below every between-draw value, and the pairs involving logistic regression overlapped less (0.52–0.57) than the draws of either member. For XGBoost, however, hotspot overlap between its own draws (0.66) was close to its overlap with random forest at the same radius (0.64, Table S7), both as medians of the nine provincial values, so the hotspots of the boosted model depended on the background draw nearly as much as on the choice between the two tree ensembles. Algorithm, radius and background realization therefore all contributed to where the hotspots fell. The post hoc structure term of SSIM, which compares local pattern without local rank level or spread, ordered the comparisons in the same way at somewhat higher values (Table S23): 0.46–0.71 between algorithm pairs at 10 km against 0.37–0.63 for rank SSIM, 0.10 against 0.04 between random forest and logistic regression in Mae Hong Son, and 0.991–0.996 for logistic regression across radii from 5 km outward. Rank SSIM thus partly reflects differences in percentile level between maps, but not enough to change the comparisons reported here.
Agreement was not uniform across the study area (Figure 6 and Table S7). At 10 km, hotspot overlap between algorithms was highest in Lamphun and Chiang Mai, at 0.64–0.73, and lowest in Mae Hong Son, where the overlap between logistic regression and either tree model was about one third (0.35 and 0.34). Results for the 21 × 21 SSIM window are given in Table S8.
Figure 6.
Hotspot overlap by province, measured with the Jaccard index for each map’s study-wide top 10% of cells and summarized as the median over the five background draws. (a) The 1 km, 5 km and R∞ maps compared with the 10 km map within each algorithm. (b) Pairs of algorithms compared at 1 km, 10 km and R∞. Selected comparisons are shown for legibility. Summaries for all radii and comparisons are reported in Tables S5 and S6, and the provincial values for the algorithm pairs at 10 km in Table S7. RF = random forest; LR = logistic regression; R∞ = no outer radius.
3.3. Factor Reliance (RQ3)
Figure 7, Figure 8 and Figure 9 address RQ3: whether configurations with near-equal AUCs rely on the same covariates. They show that near-equal discrimination does not imply identical covariate reliance, paralleling the differences between their maps. Slope was the most consistent factor (Table S9 and Figure 7b). In the map models of the first draw, it ranked among the three covariates with the largest mean absolute SHAP value in all eighteen configurations, and its direction was negative in all eighteen: steeper cells received lower scores. Distance to road was in the top three in 17 of 18 configurations, mostly with a negative direction (14 of 18). Repeated post hoc for all five draws (Table S24), slope ranked in the top three in all 90 map models and distance to road in 77, and nine of the 13 exceptions were XGBoost models. Beyond these two covariates, the algorithms differed in what they relied on. Because raw SHAP magnitudes partly reflect how widely each algorithm spreads its scores, reliance was compared across algorithms by the normalized share of each covariate, as the median over radii and draws. Slope had a share of 0.35 for logistic regression, 0.27 for random forest and 0.28 for XGBoost. Nighttime light had a share of 0.26 for random forest, about equal to slope, 0.16 for XGBoost and 0.03 for logistic regression. Logistic regression placed larger shares on distance to road (0.18, against 0.11 and 0.10 for the tree models) and forest (0.12, against 0.07 and 0.06). Directions were stable where a covariate mattered. In the first-draw models, nighttime light was positive in 17 of 18 configurations and forest positive in all 18.
Figure 7.
Factor reliance. (a) Loss of held-out area under the receiver operating characteristic curve (AUC) when a covariate is permuted on the shared test sets: median and interquartile range over the 810 fold-level model fits (9 folds × 6 radii × 5 background draws × 3 algorithms). (b) Mean absolute SHapley Additive exPlanations (SHAP) value on the probability scale for each algorithm, median over the six radii, from the map models of the first pre-declared draw evaluated on the same 1000 cells. Raw magnitudes partly reflect how widely each algorithm spreads its scores, so they are compared within an algorithm, and reliance across algorithms is compared with normalized shares (Section 3.3, Table S24). Logistic-regression values are sampled approximations. The sign in parentheses is the direction of the covariate–SHAP correlation in most of the eighteen configurations and is descriptive, not causal.
Figure 8.
Factor reliance by background ring: Mean absolute SHapley Additive exPlanations (SHAP) value × 100 on the probability scale for (a) random forest, (b) XGBoost and (c) logistic regression from the map models of the first pre-declared draw evaluated on the same 1000 cells. The sign in each cell is the direction of the covariate–SHAP correlation (+, a higher value raises the score). Directions are descriptive, not causal, and the logistic-regression values are sampled approximations. Covariate names follow Table 1. Values are given in Table S11.
Figure 9.
Loss of held-out area under the receiver operating characteristic curve (AUC) by background ring. (a) Median loss when a covariate, or built-up and nighttime light jointly, is permuted on the shared test sets (135 fold-level model fits per point: 9 folds × 5 draws × 3 algorithms). (b) Median loss when a covariate group is removed and the model refitted under the first pre-declared draw (27 fits per point). Panel a shows the joint group and the five single covariates with the largest median loss at 10 km, and all covariates are given in Table S12.
The positive direction for forest is conditional on the other covariates and should not be read as a preference for forested land. Only 20.6% of presences lie on forest cells, against 50.7% of the training background at the 10 km ring, so on its own forest separates presences from the background in the negative direction. Forest is also associated with steep terrain (point-biserial correlation with slope rpb = 0.51, with a mean slope of 13.8° on forest cells and 5.2° elsewhere), and once slope is accounted for, the remaining contribution of forest is positive. The logistic regression coefficient makes this explicit: with standardized covariates at 10 km, the forest coefficient is +0.59 while the slope coefficient is −2.12.
Permutation importance on the shared test sets gave a different ordering (Table S10 and Figure 7a), and this difference is informative. Permuting built-up and nighttime light together reduced AUC by a median of 0.145, the largest loss of any covariate or group. Built-up alone reduced it by 0.061, although its mean absolute SHAP value was the smallest of all covariates. The two measures are computed over different populations. SHAP was evaluated on 1000 randomly selected map cells, and built-up cells make up 1.2% of the study area, so the average contribution of built-up across the landscape is small. Permutation importance was evaluated on the test sets, where 56% of presences are on built-up cells, so built-up is decisive for separating presences from background. Slope (0.071) and distance to road (0.023) were important by both measures. Removing covariate groups and refitting reduced the AUC by small amounts: physical capacity 0.017, development intensity 0.014, and 0.005 or less for the other groups. These losses are small, plausibly because the remaining covariates partly substitute for the removed group, although the design does not test this directly. Distance to the planned railway had a median permutation loss of 0.000.
3.4. Factor Reliance by Background Ring
Factor reliance changed most between the 1 km ring and the wider rings (Figure 8 and Figure 9). The composition of the training background explains why the change is concentrated there. Across all folds and draws, 8.6% of the 1 km background lay on forest cells and 9.2% on built-up cells. At 5 km, these shares were 33.3% and 2.8%, and at R∞, 64.3% and 0.9% (presences: 20.6% and 56.2%). The 1 km ring therefore contrasts each firm site with its immediate surroundings, whereas the wider rings increasingly contrast it with the forested uplands.
With the 1 km ring, the models separated presences from background mainly on site conditions. Forest and slope had the largest mean absolute SHAP values for random forest (5.8 and 4.9, × 100) and logistic regression (16.4 and 15.1), and slope had the largest for XGBoost (6.5), while nighttime light contributed almost nothing (0.0–0.6). Forest had a positive direction at this ring, more consistent with the lower forest share of the 1 km background than of the presences. Permuting built-up or slope reduced held-out AUC more at 1 km than at any wider ring (median 0.184 and 0.121), and removing the physical-capacity group cost 0.070, against 0.014–0.019 at the wider rings. Two directions reversed relative to the wider rings. Distance to road had a positive direction at 1 km for both tree models, was still weakly positive at 5 km, and was negative from 10 km outward. Distance to water was positive at 1 km for all three algorithms and negative from 5 km outward.
From 5 km outward, the models relied on a regional contrast in development intensity and terrain. Nighttime light rose to 4.0–6.1 for random forest and 2.1–3.6 for XGBoost, while forest fell to 1.8 or less for the tree models (logistic regression 3.0–4.4). The contribution of slope grew with every widening of the ring beyond 5 km for all three algorithms: from 4.1 to 6.4 for random forest, from 3.9 to 5.5 for XGBoost and from 7.9 to 10.6 for logistic regression. From 10 km to R∞, the two leading covariates were the same within each algorithm: slope and nighttime light for the tree models, and slope and distance to road for logistic regression. Permutation losses changed less beyond 5 km than between 1 and 5 km: built-up declined from 0.088 at 5 km to 0.043 at R∞, while the joint built-up and nighttime-light group remained at or above 0.13. The rings over which factor reliance changed most, 1 to 5 km, are therefore the same rings over which map agreement changed most (Section 3.2).
3.5. Consensus and Configuration-Dependent Areas (RQ4, Exploratory)
The consensus and configuration-dependent maps show where hotspot designation is retained across the set of maps and where it changes with background radius, algorithm or background draw. Each map’s top decile covers about 9551 km2. Across all 90 maps, only 1844 km2 was a hotspot in at least 90% of them (Table S13 and Figure 10), about one fifth of a single map’s hotspot area, and 926 km2 was a hotspot in every one of them, while 36,664 km2 was a hotspot in some maps but not others. Excluding the 1 km ring, which changes the set of maps being compared rather than the land, the consensus core was 5051 km2, about half of a single map’s hotspot area (2950 km2 was a hotspot in all 75 maps), and the configuration-dependent area fell to 14,311 km2. Even then, the area that was a hotspot in at least one map, 19,362 km2, was about twice the size of any single map’s hotspot set.
Figure 10.
Consensus and configuration-dependent hotspot areas (exploratory analysis, Section 2.11). (a) Hotspot frequency f (Equation (17)): The share of the 90 maps in which a cell is in the study-wide top 10%. (b) Cells classed as consensus core, configuration-dependent or never a hotspot over all 90 maps. (c) The same classes over the 75 maps without the 1 km ring. WGS 84/UTM zone 47N (EPSG:32647). Boundaries from OCHA [32]. Map lines delineate study areas and do not necessarily depict accepted national boundaries. Consensus indicates agreement among the maps generated under the tested settings. It does not establish that an area is feasible or suitable for a new factory.
Which choice moved the configuration-dependent cells depended on whether the 1 km ring was included. Across all 90 maps, radius accounted for 0.36 of the sum of squares of hotspot membership, algorithm for 0.20, and the remainder (background draw and interactions) for 0.45. Without the 1 km ring, radius accounted for only 0.07 and algorithm for 0.40, the largest main-effect share in all nine provinces. The remainder was large in both sets (0.45 and 0.53). Most of it was interaction rather than a main effect of the background draw (0.40 and 0.43, against 0.04 and 0.09), but because the interactions between radius and algorithm are not separated from those involving the draw, the decomposition does not show how far the effect of one choice depends on the other. A post hoc separation and a descriptive variance decomposition are reported in Section 3.6 and Section 3.7. Shares are rounded and may not sum exactly to 1.
The consensus core was concentrated in the basins of Chiang Mai (1337 km2 without the 1 km ring), Chiang Rai (1235 km2), Lampang (807 km2) and Lamphun (511 km2). Mae Hong Son had almost none: 59 km2, against 801 km2 that was configuration-dependent.
3.6. Post Hoc Sensitivity Analyses
Paired within fold and draw, the differences in held-out AUCs between algorithms at 10 km had medians of 0.001–0.005 across the nine folds but reached 0.020 in single folds (Table S14). The summary AUC changed by at most 0.0016 under the reverse median order and 0.0013 under the pooled median. Under pooled means, it was lower, 0.966–0.975 from 5 km outward, and the three algorithms spread over 0.007 at 10 km, because logistic regression had low values in a few provinces. The statement that the algorithms differed by no more than 0.004 therefore holds for the pre-declared median summaries, not for every fold or for means.
Ties at the hotspot threshold were negligible: at most three cells shared a map’s top-decile threshold, and no hotspot set exceeded 10% of the valid cells by more than two cells. Recomputed at the top 10%, the provincial overlaps reproduced the reported values exactly. With the top 5% or 20% instead, the median provincial overlap between algorithm pairs at 10 km was 0.45–0.55 and 0.63–0.75, against 0.52–0.64 at the top 10%, and the overlap of the 1 km maps with the 10 km maps stayed at 0.15–0.25 at every cut (Table S15). The area that was a hotspot in at least 80%, at least 90%, and all of the maps was 4430, 1844 and 926 km2 over all 90 maps, and 6316, 5051 and 2950 km2 without the 1 km ring (Table S16). The cell counts behind the 10 km overlaps are given in Table S17.
The radius × algorithm interaction accounted for 0.14 of the variation over all 90 maps and 0.09 without the 1 km ring, and the interactions involving the background draw for 0.27 and 0.34 (Table S18). Without the 1 km ring, the background draw, through its main effect (0.09) and its interactions (0.34), therefore accounted for about as much of the variation in the configuration-dependent cells as the algorithm (0.40).
The test presences of a fold lay a median of 7.3 km (Lamphun) to 64.7 km (Mae Hong Son) from the nearest training presence (Table S19 and Figure S1), so the held-out evaluation is least geographically independent for the central provinces of Lamphun and Chiang Mai. The six presences whose registry province differs from the polygon they lie in are between 75 m and 19.8 km inside that polygon (Table S20).
3.7. Post Hoc Reviewer-Requested Sensitivity Analyses
The results for the near-facility test backgrounds, the between-draw comparison, the structure term of SSIM and the SHAP ranking across draws are reported with the corresponding results in Section 3.1, Section 3.2 and Section 3.3. This section reports the other two analyses.
With the six presences reassigned to the province whose polygon contains them, the summary AUC changed by at most 0.003 from the reported values, and with the six excluded, by at most 0.009, the largest changes being at the 1 km ring (Table S25). The 1 km ring remained the lowest, and from 5 km outward, the summaries stayed within 0.969–0.977. Per-fold median changes were within ±0.001 except in Phrae (+0.009 reassigned, +0.008 excluded) and Nan (−0.007 reassigned). Changes in single units were larger, up to 0.076. Unit-level differences reflect both the removal of records and the consequent regeneration of sampled backgrounds, so they should not be attributed solely to these six records.
The descriptive variance decomposition, which allows for the different degrees of freedom of each term, kept the reading of the raw shares (Table S26). Without the 1 km ring, the algorithm’s main effect had the largest mean square (2.07, against 0.19 for radius and 0.24 for the draw) and the largest variance component, 0.42 of the total, against 0.05 for radius, 0.08 for the radius × algorithm interaction, 0.07 for the draw, 0.01 for radius × draw, 0.10 for algorithm × draw and 0.26 for the three-way residual. The algorithm had the largest component in every province (0.31–0.46). The terms involving the draw together accounted for 0.45, about as much as the algorithm. Over all 90 maps, radius had the largest component (0.32), followed by the residual (0.23) and the algorithm (0.21).
4. Discussion
4.1. Comparable Accuracy, Divergent Hotspots
The central result is a mismatch between two kinds of evidence that are usually treated as one. Once the background ring reached 5 km, held-out discrimination on the province-wide test sets was high and nearly flat: the fifteen configurations with rings of 5 km or more all had median AUCs within 0.970–0.976. Judged by AUC alone, the configurations would appear nearly equivalent in discrimination. Their maps were not. At the 10 km radius, where the three algorithms differed in their median AUC by no more than 0.004, their median provincial hotspot overlap was only 0.52–0.64 (Jaccard), and about one third in Mae Hong Son. This is the pattern the pre-declared reading rule anticipated: configurations that discriminate comparably while giving different spatial advice. An analyst who chose the configuration with the highest AUC would have chosen between maps on a difference smaller than the variation across provinces (Table S4), and the choice would have changed which areas the map flagged for closer attention.
This finding is consistent with earlier observations that algorithms fitted to the same data can produce markedly different spatial predictions [17,18] and that algorithm choice can dominate the variation in projected distributions [19]. It is also an instance of the more general property that many models fit the same data almost equally well while describing it differently [22]. Two recent studies come closest. Grimmett et al. [23], working with virtual species, recommended assessing agreement between replicate predictions as a measure of spatial stability rather than relying on AUC alone, and Singleton et al. [24] found that algorithms with comparable spatially cross-validated performance produced suitability maps with major qualitative differences, judged against expert knowledge. What the present design adds is a quantitative pairing: discrimination and map agreement were measured for the same configurations, with discrimination on the same held-out test points for every configuration and map agreement on maps refitted to all nine provinces and predicted on one common grid. Differences in discrimination therefore cannot arise from differences in the test data, nor differences between maps from differences in grid or mask, and both are reported per province rather than as a single study-wide figure. The AUC answers whether presences can be separated from the background [4]. It does not answer where a model places its highest scores, and in this study, the two answers diverged.
The comparable discrimination is itself conditional on the evaluation. The province-wide test background lies mostly on forested upland, and separating firm sites from it gave a high AUC to every configuration with a ring of 5 km or more. Against a test background drawn near the firms, AUC was lower, the algorithms spread more widely, and 0.5–1 km from the firms was where the narrowest ring scored best (Section 3.1). This is consistent with a test background favoring the training rings whose background resembles it, and a near-facility test would not have found the configurations equivalent. The divergence between near-equal AUC and unequal maps is therefore established for the pre-declared test domain. It strengthens rather than weakens the case for reporting map agreement: which configurations appear equivalent depends on the contrast chosen for evaluation, whereas the differences between their maps do not depend on any test background.
4.2. Radius and Algorithm Affect the Map Differently
The two modeling choices did not act in the same way. The background radius mattered strongly at its narrowest setting and little beyond it. With the 1 km ring, background is drawn from the immediate surroundings of the presences, so the training contrast is weak. Discrimination fell, and hotspot overlap with the 10 km maps was below 0.2. From 5 km outward, maps from the same algorithm agreed closely across radii. This matches the role of background extent in setting the used-versus-available contrast [14,16]: once the ring is wide enough to reach terrain unlike the presence locations, widening it further adds little contrast. The exploratory decomposition gives the same picture. With the 1 km ring included, radius had the largest main-effect share in hotspot membership (0.36). Without it, radius accounted for only 0.07, and the algorithm accounted for 0.40 in the study area and had the largest main-effect share in all nine provinces. The post hoc separation adds that among these cells, the background draw accounted for a similar share through its main effect and its interactions (0.43), so their hotspot membership also depended on which background points were drawn (Section 3.6). The descriptive variance decomposition, which allows for the different degrees of freedom of each term, gives the same reading: algorithm 0.42, radius 0.05 and the terms involving the draw together 0.45 (Section 3.7).
The algorithms differ in how they represent the covariates, and the maps reflect it. Logistic regression fits an additive, monotone relationship on the logit scale, with one coefficient per covariate. Across radii, its percentile-rank surfaces were almost unchanged (rank SSIM 0.985–0.994 from 5 km outward), so changing the radius altered mainly the score level, which does not move a map’s top decile, and the ordering of cells near the top-decile cut, which does. It was also the most stable algorithm across background draws (hotspot overlap 0.93 between draws at 10 km), and its additive, monotone form provides one plausible explanation for that observed stability. The tree ensembles can represent thresholds and interactions, and their maps changed more with radius and with the draw. They also differed from each other. Random forest averages deep trees grown on bootstrap samples, which smooths its response, whereas boosting adds shallow trees fitted in sequence to the remaining errors and can represent localized thresholds and interactions that may be sensitive to the sampled background. Consistent with this, XGBoost had the lowest hotspot overlap across radii at the wider rings and between draws (0.66), and its maps were more fragmented than those of random forest (Figure 5). The largest contrast, however, was between the additive model and the tree ensembles, not between bagging and boosting. At 10 km, rank SSIM between the two tree ensembles was 0.63, against 0.37–0.46 between either of them and logistic regression. Logistic regression gave its largest normalized shares to slope, distance to road and forest, and spread high scores along valley corridors, whereas the tree models gave nighttime light a share about equal to that of slope (random forest) or about half of it (XGBoost) and scored those corridors lower. These are descriptions of fitted behavior under the fixed settings used here, not general properties of the algorithms, and the experiment was not designed to explain why a given algorithm places a given cell in its top decile.
4.3. What the Factor Analysis Does and Does Not Show
Agreement on factor reliance was greatest where it matters most for interpretation. Slope ranked among the three most influential covariates in all 90 map models of the post hoc five-draw analysis, with a negative direction in every configuration of the first draw, and distance to road in 77 of 90. Across the tested configurations, flatter terrain and proximity to roads were therefore the most consistently supported characteristics of high-scoring locations. Beyond these two covariates, the algorithms distributed reliance differently. Random forest relied about equally on nighttime light and slope, XGBoost relied less on nighttime light, and logistic regression relied most on slope, distance to road and forest. The explanation a reader would draw from a single SHAP summary would therefore depend on which algorithm produced it.
Two results show why importance measures must be read with their population and conditioning in view. First, built-up had the smallest mean absolute SHAP value of any covariate but the second-largest permutation loss of any single covariate. SHAP was averaged over map cells, of which 1.2% are built-up, whereas permutation was computed on test sets in which 56% of presences are built-up. Both are correct for the population over which they were computed, and neither is “the” importance of built-up. Second, forest had a positive direction in every configuration, although presences lie on forest cells less than half as often as the training background does. Forest is correlated with slope, and conditional on slope, its remaining contribution is positive, as the logistic regression coefficients show directly. Read alone, the SHAP direction would suggest that firms favor forested land, which the data do not support. Correlation among covariates complicates the attribution of importance to any one of them [60,61], and SHAP values describe a fitted model’s attribution, not a causal effect [67]. The explanation also depends on the background ring (Section 3.4). With the 1 km ring, the background is drawn almost entirely from the valley land around the firms: only 8.6% of it is forest, lower than among the presences themselves, and 9.2% is built-up. The models then separate firm sites from their immediate surroundings on site conditions, and distance to road and to water take the opposite sign from the one they take at wider rings. From 5 km outward, the background reaches the forested uplands, and the contrast becomes one of terrain and development intensity at a regional scale. A statement such as “proximity to roads raises suitability” therefore holds for every model fitted with a ring of 10 km or more, but not for the two tree models fitted with the 1 km ring. Factor interpretations should state the background extent from which they were derived. Distance to the planned railway had negligible permutation importance, so the models provide no evidence that current firm locations anticipate the line, and a cross-sectional design could not establish such anticipation in any case.
4.4. Implications for Suitability Mapping
The results suggest three practices for presence–background suitability mapping. First, map agreement should be reported alongside discrimination whenever a choice among configurations is made or defended. The cost is small: SSIM and top-decile overlap need only the maps and a shared grid. Reporting standards for distribution models already ask for the modeling choices to be documented [68], and the present results indicate that their consequence for the map should be documented too. Second, the alternatives should be enumerated rather than one chosen. Background radius and algorithm are a small, well-defined set of choices, so analyzing all of them, as in a multiverse analysis [29], is feasible, and pre-specifying the set, the metrics and the reading rule protects the analysis from adjustment after the results are seen [31]. Third, a map intended for screening can carry its own configuration dependence. Ensemble or averaged maps combine configurations [25,26], but an average hides where the members disagree. A consensus layer such as the one in Section 3.5 shows it: in this study, only about one fifth of a single map’s hotspot area was a hotspot in nearly all configurations, and about half once the 1 km ring was set aside. A single-configuration map does not reveal which part of its hotspot area is stable across defensible modeling choices.
The practical interpretation depends on whether the narrowest ring is included. With the 1 km ring, comparison locations are sampled 0.5–1 km from existing firms, and background radius accounts for the largest share of variation in hotspot membership. These hotspots overlap those of the 10 km maps by only 0.17–0.18. An analyst must therefore decide whether the question is local, meaning which nearby locations resemble existing firms relative to their local surroundings, or regional, meaning which areas resemble them against the wider provincial landscape. When the 1 km ring is excluded, radius contributes much less. Algorithm choice is the largest single component of the remaining variation, while terms involving the background draw collectively contribute a similar share. Comparing maps from several algorithms and draws, and reporting their consensus, makes this dependence on modeling choices visible and provides a more defensible basis for regional screening than a single map. In both cases, high-scoring land resembles recorded firm locations and indicates where closer examination might begin. It is not evidence that a site is feasible or suitable for a new factory.
Whether a map is fit for its purpose depends on the decision it supports [69]. For regional screening, the consensus core is a defensible place to begin, and configuration-dependent areas are where a different modeling choice would have changed the advice. Neither class licenses parcel-level decisions. A screening map of this kind does not assess land status, environmental constraints or the feasibility of a particular site, and the forest covariate is a land-condition layer, not a legal designation. More generally, the results describe the stability of presence–background model outputs in this study domain. They are not evidence that a high-scoring area is suitable for a new factory. That would require at least a test against a locally feasible background, a mask of cells unlike the training data, and maps without the covariates that describe existing development, none of which was completed here.
4.5. Limitations
This study covers one region and one presence dataset, and its results describe this region rather than establish general rates of disagreement. The validation folds follow registry provinces, so the evaluation is an administrative province holdout, not fully independent spatial extrapolation. Six presences lie in a different provincial polygon from their record, and reassigning or excluding them changed the summary AUC by at most 0.009. Firm coordinates are used as recorded in the registry. Although all of them were visually inspected in Google Earth, this procedure does not replace field verification or independently establish positional accuracy for every facility. Residual positional error could affect covariate extraction, fitted presence–background associations and hotspot placement. Presences also record where firms have located, not where they should locate. The models learn the conditions of past location decisions, including the effects of past policy, land prices and infrastructure, and a high score does not show that a location is optimal or that similar land suits a new facility. The test background is sampled rather than confirmed absence, so TSS measures separation from the sampled background, and the province-level estimates for the smallest provinces rest on few presences. The five background draws vary only the sampling order of the training background. They are not independent datasets, although in the configuration-dependent cells, they accounted for about as much variation as the algorithm. The analyses in Section 3.6 and Section 3.7, as well as the near-facility, between-draw, structure-term and five-draw SHAP results in Section 3.1, Section 3.2 and Section 3.3, were specified after the results had been read and are post hoc. SHAP directions and the group-removal test use the first draw only, SHAP was computed on one sample of 1000 cells, and the logistic-regression values are sampled approximations. The covariates were fixed in advance, all distances are straight-line distances, and the nighttime light layer’s release version could not be determined. Some covariates postdate the registry-update period (August 2022–April 2023), notably the 2025 forest layer and the 2024 nighttime-light composite. Accordingly, part of their observed association with the recorded firm locations may reflect development occurring after those locations were recorded, rather than conditions that preceded them. The primary hotspot definition was the study-wide top decile, so a province’s overlap partly reflects how much of the corridor-wide top decile it draws. Post hoc checks at the top 5% and 20% gave the same qualitative conclusion (Section 3.6), but no other hotspot definitions were examined. The comparable discrimination was measured against the test background drawn across each held-out province and describes separation within that declared test domain. Against the test background near the firms, it was lower and ordered the rings differently (Section 3.1), and neither test background identifies land that is developable. The three algorithms were run with fixed settings, and tuned models or other families could more or less agree. The consensus analysis (RQ4) and its 0.9 cut were specified after the confirmatory results had been read, and it is reported as exploratory. Finally, no significance test was applied to map differences because neighboring cells are not independent, so the agreement values are descriptive. The model is cross-sectional and predicts across the study area from a contrast learned near observed firms, so cells far from that contrast are extrapolations [70].
5. Conclusions
In this pre-specified crossed experiment with eighteen configurations of an industrial-location suitability model for upper Northern Thailand, the fifteen configurations with a background ring of 5 km or more discriminated comparably on the pre-specified province-holdout test sets, yet they did not agree on where the highest scores lie. A post hoc sensitivity analysis showed that comparable discrimination depended on the evaluation: Against a test background sampled near recorded firms, the AUC was lower and the ordering of radii changed. With the 1 km ring included, background radius accounted for the largest share of variation in hotspot membership. When the 1 km ring was excluded, algorithm choice became the largest single component, while terms involving the background draw collectively accounted for a comparable share. In a separate post hoc five-draw check, slope ranked among the three most influential covariates in all 90 map models, and distance to road did so in 77. Discrimination, map agreement and factor reliance answered different questions: the first measured separation from the sampled background, the second the spatial stability of the resulting rankings, and the third how the fitted models attributed their predictions to the covariates. Accuracy alone therefore did not establish whether the spatial advice was stable. Suitability studies that choose among near-equivalent configurations should report map agreement beside accuracy, state the background against which accuracy was measured, enumerate the defensible alternatives rather than present one, and attach to the map a record of which areas depend on the configuration. The maps produced here rank relative presence–background suitability. They are not validated predictions of where new facilities will locate or would be feasible, and they are intended for regional screening, not for selecting individual parcels.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/geographies6040129/s1, Table S1: Presences by province, all from the Department of Industrial Works factory registry, and valid area on the 500 m prediction grid; Table S2: Held-out discrimination across the five background draws: Median over draws of the median across the nine province folds, with the range of the five draw-level values in parentheses; Table S3: Post hoc comparison at the 10 km radius: Hotspot overlap (Jaccard, top 10%) between algorithms at the same background draw (5 values per cell) against overlap between draws within the same algorithm, for each of the two algorithms of the compared pair (10 draw pairs per algorithm, 20 values per cell); Table S4: Discrimination on held-out provinces: Median AUC with the range across the nine provinces in parentheses, and median TSS; Table S5: Agreement of each radius with the 10 km map, within one algorithm: Median of the nine provincial values, with their range in brackets; Table S6: Agreement between algorithms at the same radius: Median of the nine provincial values, with their range in brackets; Table S7: Hotspot overlap (Jaccard, top 10%) between algorithms at the 10 km radius, by province; Table S8: Sensitivity of SSIM to window size: 21 × 21 cells (10.5 km) instead of 7 × 7; Table S9: Mean absolute SHAP value by algorithm (median over the six radii), number of the eighteen configurations in which the covariate ranks in the top three, and direction across the eighteen configurations; Table S10: Loss of held-out AUC when a covariate is permuted (all folds, radii, algorithms and draws, n = 810 each) and when a covariate group is removed and the model refitted (first pre-declared draw, n = 162 each); Table S11: Mean absolute SHAP value × 100 (probability scale) by algorithm, covariate and background ring, with the sign of the covariate–SHAP Spearman correlation (+ or −); Table S12: Median loss of held-out AUC by background ring; Table S13: Consensus core (hotspot in ≥90% of maps) and configuration-dependent area (hotspot in some but fewer than 90% of maps), and the shares of variation in hotspot membership attributable to radius and algorithm, without the 1 km ring; Table S14: Paired differences in held-out AUC (post hoc); Table S15: Hotspot overlap (Jaccard) when hotspots are defined as each map’s study-wide top 5%, 10% or 20% (post hoc); Table S16: Area (km2) that was a hotspot (study-wide top 10%) in at least 80%, at least 90% and all of the maps (post hoc for the 80% and 100% cuts, while the 90% cut defines the consensus core); Table S17: Hotspot cell counts behind the provincial Jaccard values for the algorithm pairs at the 10 km radius: Cells in the study-wide top 10% of each map within the province (HA, HB), their intersection and union, and the Jaccard index, as medians over the five background draws, so the Jaccard column need not equal the ratio of the medians; Table S18: Shares of variation in top-10% hotspot membership over the configuration-dependent cells, with the radius × algorithm interaction separated from the interactions involving the background draw (post hoc); Table S19: Distance from the test points of each fold (held-out province) to the nearest training presence (presences of the other eight provinces): Median, with the 10th and 90th percentiles in parentheses, in km (post hoc); Figure S1: The nine leave-one-province-out folds: Province code, name and number of presences held out in each fold (post hoc); Table S20: The six presences whose registry province differs from the provincial polygon they lie in; Table S21: Held-out AUC against three shared test backgrounds (post hoc, reviewer-requested): The pre-declared background drawn across each held-out province, and backgrounds drawn in the same way but restricted to cells 0.5–5 km or 0.5–1 km from the nearest presence, with the same number of points per province; Table S22: Agreement between the five background draws of the same algorithm at the 10 km radius (post hoc, reviewer-requested): Median over the 10 draw pairs in each province, then the median of the nine provincial values with their range in brackets; Table S23: Rank SSIM and its structure term (post hoc, reviewer-requested), on the percentile-rank maps with the 7 × 7 window; Table S24: SHAP across the five background draws (post hoc, reviewer-requested); Table S25: Held-out AUC with the six presences of Table S20 reassigned to the province whose polygon contains them or excluded (post hoc, reviewer-requested); Table S26: Descriptive variance decomposition of top-10% hotspot membership over the configuration-dependent cells (post hoc, reviewer-requested).
Author Contributions
Conceptualization, T.K. and T.C.; methodology, T.K., T.C., T.P. and S.S.; software, T.K. and J.K.; validation, T.P., J.K. and S.S.; formal analysis, T.K. and T.C.; investigation, T.K.; data curation, T.K.; writing—original draft preparation, T.K.; writing—review and editing, T.C., T.P., J.K. and S.S.; visualization, T.K.; supervision, T.C., T.P., J.K. and S.S.; project administration, T.K. and T.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The pre-declaration and its four amendments, input and output hash records, the run log, test points, analysis code, and derived tables, together with the specification, hash record, scripts and outputs of the post hoc analyses added in revision, are openly available in Zenodo at https://doi.org/10.5281/zenodo.24361144 (version 1.1.0). The prediction surfaces are derived in part from the restricted forest layer and will be released only with the Royal Forest Department’s permission. Three input datasets are not redistributed. First, individual firm coordinates from the Department of Industrial Works factory registry are restricted, and access may be requested from the department. Second, the Royal Forest Department forest-area layer was supplied for research use and may be obtained directly from the department upon request. Third, the planned railway alignment, taken from the State Railway of Thailand’s Google My Maps map, and the distance raster derived from it are not redistributed, because no license is stated for the map. The released test points omit the distance-to-nearest-presence field used when they were drawn, the forest value and the distance to the planned railway. To protect restricted registry information, the publicly released pre-declaration redacts six factory registration identifiers. This redaction does not alter the study design, amendments, analyses, or reported results. OpenStreetMap, SRTM, ESA WorldCover, and NPP-VIIRS-like datasets are publicly available from the sources cited in Table 1.
Acknowledgments
During the preparation of this study, the authors used Claude Opus 5.5 (Anthropic) for the purposes of paraphrasing, rearranging the language of the text, writing the analysis and figure code, and searching for and verifying references. The authors reviewed and edited all output and take full responsibility for the content of this publication. The authors thank Petsawat Kankam, Faculty of Social Sciences, Chiang Rai Rajabhat University, for preparing the provincial boundary layer and the built-up, slope, distance-to-road, distance-to-existing-railway, distance-to-water, and distance-to-provincial-capital layers. The authors also thank Surat Khampangkaew, Photogrammetrist (Professional Level), Mapping Technology Division, Department of Lands, Thailand, for providing the Royal Forest Department forest-area condition data for B.E. 2568 for research use, and for independently inspecting all 2859 facility coordinates in Google Earth.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Malczewski, J. GIS-based multicriteria decision analysis: A survey of the literature. Int. J. Geogr. Inf. Sci. 2006, 20, 703–726. [Google Scholar] [CrossRef] [Scilit]
- Rikalovic, A.; Cosic, I.; Lazarevic, D. GIS based multi-criteria analysis for industrial site selection. Procedia Eng. 2014, 69, 1054–1063. [Google Scholar] [CrossRef] [Scilit]
- Alattas, A.; Sahahiri, R.M. Identifying optimal hiking locations using a GIS-based suitability model. Geographies 2026, 6, 96. [Google Scholar] [CrossRef] [Scilit]
- Lobo, J.M.; Jiménez-Valverde, A.; Real, R. AUC: A misleading measure of the performance of predictive distribution models. Glob. Ecol. Biogeogr. 2008, 17, 145–151. [Google Scholar] [CrossRef] [Scilit]
- Kamyo, T.; Kamyo, P.; Panthong, K.; Howpinjai, I.; Kamton, R.; Asanok, L. Assessing fire risk zones in Phrae Province, Northern Thailand, using a MaxEnt model. Geographies 2025, 5, 51. [Google Scholar] [CrossRef] [Scilit]
- Shrestha, S.; Dahal, D.; Bhattarai, N.; Regmi, S.; Sewa, R.; Kalra, A. Machine learning-based flood risk assessment in urban watershed: Mapping flood susceptibility in Charlotte, North Carolina. Geographies 2025, 5, 43. [Google Scholar] [CrossRef] [Scilit]
- Krugman, P. Increasing returns and economic geography. J. Polit. Econ. 1991, 99, 483–499. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ellison, G.; Glaeser, E.L. Geographic concentration in U.S. manufacturing industries: A dartboard approach. J. Polit. Econ. 1997, 105, 889–927. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Arauzo-Carod, J.-M.; Liviano-Solis, D.; Manjón-Antolín, M. Empirical studies in industrial location: An assessment of their methods and results. J. Reg. Sci. 2010, 50, 685–711. [Google Scholar] [CrossRef] [Scilit]
- Liviano, D.; Arauzo-Carod, J.-M. Industrial location and spatial dependence: An empirical application. Reg. Stud. 2014, 48, 727–743. [Google Scholar] [CrossRef] [Scilit]
- Allen, J.; Browne, M.; Cherrett, T. Investigating relationships between road freight transport, facility location, logistics management and urban form. J. Transp. Geogr. 2012, 24, 45–57. [Google Scholar] [CrossRef] [Scilit]
- Eren, F. Urban assemblages through digital platforms: The case of Istanbul. In Handbook of Platform Urbanism; Smets, A., Ballon, P., Eds.; Edward Elgar Publishing: Cheltenham, UK, 2025; pp. 188–200. [Google Scholar] [CrossRef] [Scilit]
- Asian Development Bank. Review of Configuration of the Greater Mekong Subregion Economic Corridors; Asian Development Bank: Manila, Philippines, 2017. [Google Scholar] [CrossRef] [Scilit]
- VanDerWal, J.; Shoo, L.P.; Graham, C.; Williams, S.E. Selecting pseudo-absence data for presence-only distribution modeling: How far should you stray from what you know? Ecol. Model. 2009, 220, 589–594. [Google Scholar] [CrossRef] [Scilit]
- Phillips, S.J.; Dudík, M.; Elith, J.; Graham, C.H.; Lehmann, A.; Leathwick, J.; Ferrier, S. Sample selection bias and presence-only distribution models: Implications for background and pseudo-absence data. Ecol. Appl. 2009, 19, 181–197. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Barbet-Massin, M.; Jiguet, F.; Albert, C.H.; Thuiller, W. Selecting pseudo-absences for species distribution models: How, where and how many? Methods Ecol. Evol. 2012, 3, 327–338. [Google Scholar] [CrossRef] [Scilit]
- Pearson, R.G.; Thuiller, W.; Araújo, M.B.; Martinez-Meyer, E.; Brotons, L.; McClean, C.; Miles, L.; Segurado, P.; Dawson, T.P.; Lees, D.C. Model-based uncertainty in species range prediction. J. Biogeogr. 2006, 33, 1704–1711. [Google Scholar] [CrossRef] [Scilit]
- Qiao, H.; Soberón, J.; Peterson, A.T. No silver bullets in correlative ecological niche modelling: Insights from testing among many potential algorithms for niche estimation. Methods Ecol. Evol. 2015, 6, 1126–1136. [Google Scholar] [CrossRef] [Scilit]
- Buisson, L.; Thuiller, W.; Casajus, N.; Lek, S.; Grenouillet, G. Uncertainty in ensemble forecasting of species distribution. Glob. Change Biol. 2010, 16, 1145–1157. [Google Scholar] [CrossRef] [Scilit]
- Kaewpanus, K.; Kamtaeja, S.; Malithong, S.; Changruenngam, T. Artificial light at night and house sparrows (Passer domesticus): Association with species distribution and roost site selection. Urban Ecosyst. 2026, 29, 242. [Google Scholar] [CrossRef] [Scilit]
- Changruenngam, T.; Swangpol, S.C.; Tovaranonte, J. Habitat prediction and knowledge extraction from Musa gracilis Holttum with limited data. Chiang Mai J. Sci. 2022, 49, 1050–1062. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Statistical modeling: The two cultures (with comments and a rejoinder by the author). Stat. Sci. 2001, 16, 199–231. [Google Scholar] [CrossRef] [Scilit]
- Grimmett, L.; Whitsed, R.; Horta, A. Presence-only species distribution models are sensitive to sample prevalence: Evaluating models using spatial prediction stability and accuracy metrics. Ecol. Model. 2020, 431, 109194. [Google Scholar] [CrossRef] [Scilit]
- Singleton, A.L.; Glidden, C.K.; Chamberlin, A.J.; Tuan, R.; Palasio, R.G.S.; Pinter, A.; Caldeira, R.L.; Mendonça, C.L.F.; Carvalho, O.S.; Monteiro, M.V.; et al. Species distribution modeling for disease ecology: A multi-scale case study for schistosomiasis host snails in Brazil. PLoS Glob. Public Health 2024, 4, e0002224. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Araújo, M.B.; New, M. Ensemble forecasting of species distributions. Trends Ecol. Evol. 2007, 22, 42–47. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dormann, C.F.; Calabrese, J.M.; Guillera-Arroita, G.; Matechou, E.; Bahn, V.; Bartoń, K.; Beale, C.M.; Ciuti, S.; Elith, J.; Gerstner, K.; et al. Model averaging in ecology: A review of Bayesian, information-theoretic, and tactical approaches for predictive inference. Ecol. Monogr. 2018, 88, 485–504. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jones, E.L.; Rendell, L.; Pirotta, E.; Long, J.A. Novel application of a quantitative spatial comparison tool to species distribution data. Ecol. Indic. 2016, 70, 67–76. [Google Scholar] [CrossRef] [Scilit]
- Steegen, S.; Tuerlinckx, F.; Gelman, A.; Vanpaemel, W. Increasing transparency through a multiverse analysis. Perspect. Psychol. Sci. 2016, 11, 702–712. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Silberzahn, R.; Uhlmann, E.L.; Martin, D.P.; Anselmi, P.; Aust, F.; Awtrey, E.; Bahník, Š.; Bai, F.; Bannard, C.; Bonnier, E.; et al. Many analysts, one data set: Making transparent how variations in analytic choices affect results. Adv. Methods Pract. Psychol. Sci. 2018, 1, 337–356. [Google Scholar] [CrossRef] [Scilit]
- Nosek, B.A.; Ebersole, C.R.; DeHaven, A.C.; Mellor, D.T. The preregistration revolution. Proc. Natl. Acad. Sci. USA 2018, 115, 2600–2606. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- OCHA. Thailand-Subnational Administrative Boundaries [Dataset]; Humanitarian Data Exchange, OCHA Centre for Humanitarian Data: The Hague, The Netherlands, 2022; Source: Royal Thai Survey Department; License CC BY-IGO. Available online: https://data.humdata.org/dataset/cod-ab-tha (accessed on 4 October 2026).
- Department of Industrial Works. Factory Registry Records for the Nine Upper Northern Provinces of Thailand [Dataset]; Extract, Records Last Updated August 2022 to April 2023, Obtained 9 May 2026; Ministry of Industry: Bangkok, Thailand, 2023.
- Jarvis, A.; Reuter, H.I.; Nelson, A.; Guevara, E. Hole-Filled SRTM for the Globe, Version 4 [Dataset]. CGIAR-CSI SRTM 90m Database, v4.1. 2008. Available online: https://csidotinfo.wordpress.com/data/srtm-90m-digital-elevation-database-v4-1/ (accessed on 7 May 2026).
- Royal Forest Department. Report of the Project on Forest Area Condition Data, B.E. 2568 (2025); Forest Land Management Office, Royal Forest Department: Bangkok, Thailand, 2026; (In Thailand). Available online: https://www.forest.go.th/ (accessed on 5 October 2026).
- State Railway of Thailand. Denchai-Chiang Rai [Google My Maps Map of the Den Chai–Chiang Rai–Chiang Khong Railway Alignment]; State Railway of Thailand: Bangkok, Thailand, 2017. Available online: https://www.google.com/maps/d/viewer?mid=1REMriQY0BxNPmksruPXyT867ewA (accessed on 9 September 2025).
- Zanaga, D.; Van De Kerchove, R.; Daems, D.; De Keersmaecker, W.; Brockmann, C.; Kirches, G.; Wevers, J.; Cartus, O.; Santoro, M.; Fritz, S.; et al. ESA WorldCover 10 m 2021 v200 [Dataset]; Zenodo: Geneva, Switzerland, 2022. [Google Scholar] [CrossRef]
- Chen, Z.; Yu, B.; Yang, C.; Zhou, Y.; Yao, S.; Qian, X.; Wang, C.; Wu, B.; Wu, J.; Liao, L.; et al. The Global NPP-VIIRS-like Nighttime Light Data (Version 2) for 1992–2025 [Dataset]; Harvard Dataverse: Cambridge, MA, USA, 2020. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Yu, B.; Yang, C.; Zhou, Y.; Yao, S.; Qian, X.; Wang, C.; Wu, B.; Wu, J. An extended time series (2000-2018) of global NPP-VIIRS-like nighttime light data from a cross-sensor calibration. Earth Syst. Sci. Data 2021, 13, 889–906. [Google Scholar] [CrossRef] [Scilit]
- OpenStreetMap Contributors. OpenStreetMap [Dataset]. Available online: https://www.openstreetmap.org/ (accessed on 4 October 2026).
- Roberts, D.R.; Bahn, V.; Ciuti, S.; Boyce, M.S.; Elith, J.; Guillera-Arroita, G.; Hauenstein, S.; Lahoz-Monfort, J.J.; Schröder, B.; Thuiller, W.; et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913–929. [Google Scholar] [CrossRef] [Scilit]
- Valavi, R.; Elith, J.; Lahoz-Monfort, J.J.; Guillera-Arroita, G. blockCV: An R package for generating spatially or environmentally separated folds for k-fold cross-validation of species distribution models. Methods Ecol. Evol. 2019, 10, 225–232. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
- Elith, J.; Leathwick, J.R. Species distribution models: Ecological explanation and prediction across space and time. Annu. Rev. Ecol. Evol. Syst. 2009, 40, 677–697. [Google Scholar] [CrossRef] [Scilit]
- Elith, J.; Leathwick, J.R.; Hastie, T. A working guide to boosted regression trees. J. Anim. Ecol. 2008, 77, 802–813. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Valavi, R.; Guillera-Arroita, G.; Lahoz-Monfort, J.J.; Elith, J. Predictive performance of presence-only species distribution models: A benchmark study with reproducible code. Ecol. Monogr. 2022, 92, e01486. [Google Scholar] [CrossRef] [Scilit]
- Couronné, R.; Probst, P.; Boulesteix, A.-L. Random forest versus logistic regression: A large-scale benchmark experiment. BMC Bioinform. 2018, 19, 270. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Renner, I.W.; Warton, D.I. Equivalence of MAXENT and Poisson point process models for species distribution modeling in ecology. Biometrics 2013, 69, 274–281. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Warton, D.I.; Shepherd, L.C. Poisson point process models solve the “pseudo-absence problem” for presence-only data in ecology. Ann. Appl. Stat. 2010, 4, 1383–1402. [Google Scholar] [CrossRef] [Scilit]
- Probst, P.; Wright, M.N.; Boulesteix, A.-L. Hyperparameters and tuning strategies for random forest. WIREs Data Min. Knowl. Discov. 2019, 9, e1301. [Google Scholar] [CrossRef] [Scilit]
- Hanley, J.A.; McNeil, B.J. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology 1982, 143, 29–36. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Allouche, O.; Tsoar, A.; Kadmon, R. Assessing the accuracy of species distribution models: Prevalence, kappa and the true skill statistic (TSS). J. Appl. Ecol. 2006, 43, 1223–1232. [Google Scholar] [CrossRef] [Scilit]
- Cohen, J. A coefficient of agreement for nominal scales. Educ. Psychol. Meas. 1960, 20, 37–46. [Google Scholar] [CrossRef] [Scilit]
- Jaccard, P. The distribution of the flora in the alpine zone. New Phytol. 1912, 11, 37–50. [Google Scholar] [CrossRef] [Scilit]
- Liu, C.; Berry, P.M.; Dawson, T.P.; Pearson, R.G. Selecting thresholds of occurrence in the prediction of species distributions. Ecography 2005, 28, 385–393. [Google Scholar] [CrossRef] [Scilit]
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems 30, Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Available online: https://proceedings.neurips.cc/paper_files/paper/2017/hash/8a20a8621978632d76c43dfd28b67767-Abstract.html (accessed on 28 September 2026).
- Chen, H.; Covert, I.C.; Lundberg, S.M.; Lee, S.-I. Algorithms to estimate Shapley value feature attributions. Nat. Mach. Intell. 2023, 5, 590–601. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Lundberg, S.M.; Lee, S.-I. Explaining a series of models by propagating Shapley values. Nat. Commun. 2022, 13, 4512. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Strobl, C.; Boulesteix, A.-L.; Kneib, T.; Augustin, T.; Zeileis, A. Conditional variable importance for random forests. BMC Bioinform. 2008, 9, 307. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gregorutti, B.; Michel, B.; Saint-Pierre, P. Correlation and variable importance in random forests. Stat. Comput. 2017, 27, 659–678. [Google Scholar] [CrossRef] [Scilit]
- Hooker, G.; Mentch, L.; Zhou, S. Unrestricted permutation forces extrapolation: Variable importance requires at least one more model, or there is no free variable importance. Stat. Comput. 2021, 31, 82. [Google Scholar] [CrossRef] [Scilit]
- Varoquaux, G.; Buitinck, L.; Louppe, G.; Grisel, O.; Pedregosa, F.; Mueller, A. Scikit-learn: Machine learning without learning the machinery. GetMobile Mob. Comput. Commun. 2015, 19, 29–33. [Google Scholar] [CrossRef] [Scilit]
- van der Walt, S.; Schönberger, J.L.; Nunez-Iglesias, J.; Boulogne, F.; Warner, J.D.; Yager, N.; Gouillart, E.; Yu, T. scikit-image: Image processing in Python. PeerJ 2014, 2, e453. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Harris, C.R.; Millman, K.J.; van der Walt, S.J.; Gommers, R.; Virtanen, P.; Cournapeau, D.; Wieser, E.; Taylor, J.; Berg, S.; Smith, N.J.; et al. Array programming with NumPy. Nature 2020, 585, 357–362. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Molnar, C.; König, G.; Herbinger, J.; Freiesleben, T.; Dandl, S.; Scholbeck, C.A.; Casalicchio, G.; Grosse-Wentrup, M.; Bischl, B. General pitfalls of model-agnostic interpretation methods for machine learning models. In xxAI-Beyond Explainable AI; Holzinger, A., Goebel, R., Fong, R., Moon, T., Müller, K.-R., Samek, W., Eds.; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2022; Volume 13200, pp. 39–68. [Google Scholar] [CrossRef] [Scilit]
- Zurell, D.; Franklin, J.; König, C.; Bouchet, P.J.; Dormann, C.F.; Elith, J.; Fandos, G.; Feng, X.; Guillera-Arroita, G.; Guisan, A.; et al. A standard protocol for reporting species distribution models (ODMAP). Ecography 2020, 43, 1261–1277. [Google Scholar] [CrossRef] [Scilit]
- Guillera-Arroita, G.; Lahoz-Monfort, J.J.; Elith, J.; Gordon, A.; Kujala, H.; Lentini, P.E.; McCarthy, M.A.; Tingley, R.; Wintle, B.A. Is my species distribution model fit for purpose? Matching data and models to applications. Glob. Ecol. Biogeogr. 2015, 24, 276–292. [Google Scholar] [CrossRef] [Scilit]
- Meyer, H.; Pebesma, E. Predicting into unknown space? Estimating the area of applicability of spatial prediction models. Methods Ecol. Evol. 2021, 12, 1620–1633. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









