Answers are grounded in this paper and cite their sources.
Spatial autocorrelation can inflate predictive performance in remote sensing classification. However, its influence on Trees Outside Forests (TOF) mapping remains poorly understood. This study evaluated the extent to which optimistic bias caused by spatial leakage and hyperparameter optimization affected TOF classification using a variogram-informed nested spatial cross-validation framework. TOF classification was performed in northern Tanzania using Sentinel-2 imagery and a Random Forest classifier. The empirical variogram practical ranges were used to define spatial blocks, and model performance was compared using conventional random cross-validation (CRCV), nested random cross-validation (NRCV), non-nested spatial cross-validation (NNSCV), and nested spatial cross-validation (NSCV). CRCV produced the most optimistic performance estimates, underestimating prediction error by 14% compared to NSCV. Bias decomposition showed that spatial leakage accounted for an estimated 79% of the total optimistic bias, whereas the contribution of hyperparameter optimization was small and not statistically distinguishable from zero. Independent validation showed close agreement with NSCV, with prediction error differing by only 3.1%, compared with more than 10% under random cross-validation. Together, our analysis indicates that optimistic bias in TOF classification is driven primarily by spatial leakage rather than hyperparameter optimization. Our findings provide case-study evidence that variogram-informed spatial cross-validation can improve the assessment of TOF classification performance under the landscape and modelling conditions evaluated, while further studies are needed to establish its transferability across algorithms, sensors, and landscape contexts.
No takes yet. Share an insight, caveat, or question.
Mungas et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: