Spatial machine-learning model diagnostics: a model-agnostic distance-based approach
Open accessThe DOI matches its Crossref record; 43 of the 43 references it cites were found in a registry or an index.
Abstract
While significant progress has been made towards explaining black-box machine-learning (ML) models, there is still a distinct lack of diagnostic tools that elucidate the spatial behaviour of ML models in terms of predictive skill and variable importance. This contribution proposes spatial prediction error profiles (SPEPs) and spatial variable importance profiles (SVIPs) as novel model-agnostic assessment and interpretation tools for spatial prediction models with a focus on prediction distance. Their suitability is demonstrated in two case studies representing a regionalization task in an environmental-science context, and a classification task from remotely-sensed land cover classification. In these case studies, the SPEPs and SVIPs of geostatistical methods, linear models, random forest, and hybrid algorithms show striking differences but also relevant similarities. Limitations of related cross-validation techniques are outlined, and the case is made that modelers should focus their model assessment and interpretation on the intended spatial prediction horizon. The range of autocorrelation, in contrast, is not a suitable criterion for defining spatial cross-validation test sets. The novel diagnostic tools enrich the toolkit of spatial data science and may improve ML model interpretation, selection, and design.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538 · cited 3×
“Random forest (RF) was chosen as it is a popular nonlinear ML technique that is agnostic of the spatial setting (Breiman, 2001).”
MethodModern Applied Statistics with S
Venables, W. N., & Ripley, B. D. (2002) · Statistics and Computing · doi:10.1007/978-0-387-21706-2 · Cited by 24,305 · cited 1×
“LDA classification was based on the implementation in the MASS package (Venables and Ripley, 2002).”
MethodCressie, N. A. C. (1993) · Wiley Series in Probability and Statistics · doi:10.1002/9781119115151 · Cited by 6,507 · cited 6×
“From a practical perspective, independent test data is not even a desirable property in predictive tasks such as interpolation or regionalization that precisely build upon and require spatial dependence (Cressie, 1993).”
BackgroundMethodInfluentialRees, M., & Cressie, N. (1993) · Journal of the Royal Statistical Society. Series A (Statistics in Society) · doi:10.2307/2982871 · Cited by 5,101
Cross‐validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure
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. (2017) · Ecography · doi:10.1111/ecog.02881 · Cited by 3,689
Random forest classifier for remote sensing classification
Pal, M. (2005) · International Journal of Remote Sensing · doi:10.1080/01431160412331269698 · Cited by 3,283 · cited 1×
“Random forest (RF) was chosen since it is a popular nonlinear technique that is widely used in remote sensing (Breiman, 2001; Pal, 2005).”
MethodConditional variable importance for random forests
Strobl, C., Boulesteix, A.-L., Kneib, T., Augustin, T., & Zeileis, A. (2008) · BMC Bioinformatics · doi:10.1186/1471-2105-9-307 · Cited by 3,254
A leisurely look at the bootstrap, the jackknife, and cross-validation
Efron, B., & Gong, G. (1983) · The American Statistician · doi:10.1080/00031305.1983.10483087 · Cited by 3,229 · cited 2×
“The model is trained on a training sample L comprising n observations of response and predictors, and its performance is estimated on a test sample or with a cross-validation (CV) or bootstrap estimator (Efron and Gong, 1983), including spatial resampling approaches (Brenning, 2012) and leave-one-out cross-validation…”
MethodModern Applied Statistics with S Fourth edition
Venables, W. N., & Ripley, B. D. (2002) · Cited by 2,538
Geostatistics for Environmental Scientists
Webster, R., & Oliver, M. A. (2007) · Wiley eBooks · doi:10.1002/9780470517277 · Cited by 2,345 · cited 1×
“…cross-validation (LOO-CV) and cross-validation in general have long been used in the context of geostatistical regionalization (Isaaks and Srivastava, 1989; Goovaerts, 2000; Webster and Oliver, 2007; Fouedjio and Klump, 2020), but they do not provide a spatially differentiated summary.”
Method
Research works printed but not linked: 5
- Brenning, A. (2021). Transforming feature space to interpret machine learning models, arXiv:2104.04295. · arXiv
- Hooker, G. and Mentch, L. (2019). Please stop permuting features: an explanation and alternatives, arXiv:1905.03151. · arXiv
- Liaw, A. and Wiener, M. (2002). Classification and regression by randomforest, R News 2 (3): 18-22.
- Pebesma, E. J. and Bivand, R. S. (2005). Classes and methods for spatial data in R, R News 5 (2): 9-13.
- Ruß, G. and Brenning, A. (2010a). Data mining in precision agriculture: Management of spatial information, in E. Hüllermeier, R. Kruse and F. Hoffmann (eds), Computational Intelligence for Knowledge-Based Systems Design , Lecture Notes in Computer Science, Springer, Berlin, Heidelberg, pp. 350-359.
Cited by
How Interpretable Machine Learning Can Benefit Process Understanding in the Geosciences
Jiang, S., Sweet, L., Blougouras, G., Brenning, A., Li, W., Reichstein, M., Denzler, J., Shangguan, W., Yu, G., Huang, F., et al. (2024) · Earth's Future · doi:10.1029/2024ef004540 · Cited by 182
“…requires careful management of the training and test data sets with consideration of the specific characteristics of the data (Bischl et al., 2023; Brenning, 2022; Davenport & Diffenbaugh, 2021; de Burgh‐Day & Leeuwenburg, 2023; Lopez‐Gomez et al., 2023; McGovern, Jergensen, et al., 2019; Meyer &…”
InfluentialSelf-citationOpening the Black Box: A systematic review on explainable artificial intelligence in remote sensing
Höhl, A., Obadić, I., Fernández‐Torres, M., Najjar, H., Oliveira, D. A. B., Akata, Z., Dengel, A. R., & Zhu, X. X. (2024) · IEEE Geoscience and Remote Sensing Magazine · doi:10.1109/mgrs.2024.3467001 · Cited by 142
Nearest neighbour distance matching Leave‐One‐Out Cross‐Validation for map validation
Milà, C., Mateu, J., Pebesma, E., & Meyer, H. (2022) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.13851 · Cited by 119
“…to bLOO, NNDM LOO CV only considers geographical distances to estimate map accuracy, but ignores the directions of those distances and the actual locations of the sampling and prediction points, and therefore may fail to account for anisotropy or lack of stationarity of the errors (Brenning, 2021).”
BackgroundAdapting machine learning for environmental spatial data - A review
Jemeļjanova, M., Kmoch, A., & Uuemaa, E. (2024) · Ecological Informatics · doi:10.1016/j.ecoinf.2024.102634 · Cited by 99
kNNDM CV: k-fold nearest-neighbour distance matching cross-validation for map accuracy estimation
Linnenbrink, J., Milà, C., Ludwig, M., & Meyer, H. (2024) · Geoscientific Model Development · doi:10.5194/gmd-17-5897-2024 · Cited by 82
“As an alternative, spatial CV methods such as block CV (Wenger and Olden, 2012; Valavi et al., 2019; Roberts et al., 2017) or buffered-LOO CV (Telford and Birks, 2009; Le Rest et al., 2014; Brenning, 2022) are often used.”
InfluentialMohammed, A., Alshraideh, H. A., & Alsuwaidi, F. (2023) · Desalination · doi:10.1016/j.desal.2023.117253 · Cited by 54
Arshad, A., Mirchi, A., Vilcáez, J., Akbar, M. U., & Madani, K. M. (2023) · Journal of Hydrology · doi:10.1016/j.jhydrol.2023.130535 · Cited by 50
Brenning, A. (2023) · Machine Learning · doi:10.1007/s10994-023-06327-8 · Cited by 26
Self-citationmlr3spatiotempcv : Spatiotemporal Resampling Methods for Machine Learning in R
Schratz, P., Becker, M., Lang, M., & Brenning, A. (2024) · Journal of Statistical Software · doi:10.18637/jss.v111.i07 · Cited by 27
Self-citationA review of regularised estimation methods and cross-validation in spatiotemporal statistics
Otto, P., Fassò, A., & Maranzano, P. (2024) · Statistics Surveys · doi:10.1214/24-ss150 · Cited by 33
“However, as pointed out by Brenning (2022), residuals-based solutions for estimating the autocorrelation range are model-dependent.”
Frank, J. K., Suesse, T., & Brenning, A. (2025) · Environmental Modelling & Software · doi:10.1016/j.envsoft.2025.106626 · Cited by 18
Self-citationSpatial linear discriminant analysis approaches for remote-sensing classification
Suesse, T., Brenning, A., & Grupp, V. (2023) · Spatial Statistics · doi:10.1016/j.spasta.2023.100775 · Cited by 15
Self-citationInferring the heterogeneous effect of urban land use on building height with causal machine learning
Chen, Y., Chen, J. M., Zhao, S., Xu, X., Liu, X., Zhang, X., & Zhang, H. (2024) · GIScience & Remote Sensing · doi:10.1080/15481603.2024.2321695 · Cited by 14
“For all models, random forest is used for the required procedures of classification and regression because of the prevalence and the reliable performance reported in literature (Brenning 2022; Kang et al. 2022).”
Domain Adaptation in Reinforcement Learning: Approaches, Limitations, and Future Directions
Wang, B. (2024) · Journal of The Institution of Engineers (India) Series B · doi:10.1007/s40031-024-01049-4 · Cited by 10
“Some notable examples include principal component analysis (PCA) [68], Den-sity-Based Spatial Clustering of Applications with Noise (DBSCAN) [69], distance-based methods [70], and expectation maximization (EM) algorithm [71].”
Schlögl, M., Waltersdorfer, L., Regner, P., Siposova, A., & Brenning, A. (2026) · Environmental Modelling & Software · doi:10.1016/j.envsoft.2026.106962 · Cited by 6
Self-citationSpatial Prediction of COVID-19 Pandemic Dynamics in the United States
Ak, Ç., Chitsazan, A., Gönen, M., Etzioni, R., & Grossberg, A. J. (2022) · ISPRS International Journal of Geo-Information · doi:10.3390/ijgi11090470 · Cited by 6
Bayesian Aerosol Retrieval-Based PM2.5 Estimation through Hierarchical Gaussian Process Models
Zhang, J., Li, D., Xia, Y., & Liao, Q. (2022) · Mathematics · doi:10.3390/math10162878 · Cited by 4
Peña, M. A., & Brenning, A. (2023) · International Journal of Remote Sensing · doi:10.1080/01431161.2023.2205981 · Cited by 5
Self-citationLucchese, L. V., de Oliveira, G. G., Pedrollo, O. C., & Brenning, A. (2025) · Hydrological Sciences Journal · doi:10.1080/02626667.2025.2561163 · Cited by 3
Self-citationMahmoud, M. F., & Arabi, M. (2026) · npj Urban Sustainability · doi:10.1038/s42949-026-00338-9 · Cited by 3
Moreno, W. E. G., Rodrigues, Á. L., Bassani, M. A. A., Marques, D. M., & Costa, J. F. C. L. (2025) · Mining Metallurgy & Exploration · doi:10.1007/s42461-025-01335-9 · Cited by 2
“In this case, the weights were calculated based on the distance between the samples and the location to be estimated [28].”
Lithology identification using semantic segmentation for well log data
Rodrigues, Á. L., Niquini, F. G. F., Pereira, S. P., & Costa, J. F. C. L. (2024) · REM - International Engineering Journal · doi:10.1590/0370-44672023770096 · Cited by 1
Spatial Cross-Validation for Machine Learning Models Estimates
Rodrigues, Á. L., Niquini, F. G. F., Moreno, W. E. G., & Costa, J. F. C. L. (2025) · Quantitative geology and geostatistics · doi:10.1007/978-3-031-92870-3_21 · Cited by 1
Henkel, F., Frank, J. K., Suesse, T., & Brenning, A. (2026) · Environmental Modelling & Software · doi:10.1016/j.envsoft.2026.107091 · Cited by 1
Self-citationChen, W. W., & Tsai, F. (2026) · Sustainability · doi:10.3390/su18157779 · Cited by 2
Schlögl, M., Waltersdorfer, L., Regner, P., Siposova, A., & Brenning, A. (2025) · doi:10.5194/egusphere-2025-5210 · Cited by 1
Self-citationSchlögl, M., Waltersdorfer, L., Regner, P., Siposova, A., & Brenning, A. (2025) · doi:10.5194/egusphere-2025-5210-v1 · Cited by 1
Self-citationComment on egusphere-2023-1308
Linnenbrink, J., MilÃ, C., Ludwig, M., et al. (2023) · doi:10.5194/egusphere-2023-1308-cc1
Comment on egusphere-2023-1308
Linnenbrink, J., Milà, C., Ludwig, M., et al. (2023) · doi:10.5194/egusphere-2023-1308-rc1
Comment on egusphere-2023-1308
Linnenbrink, J., MilÃ, C., Ludwig, M., et al. (2023) · doi:10.5194/egusphere-2023-1308-rc2
Comment on egusphere-2023-1308
Linnenbrink, J. (2023) · doi:10.5194/egusphere-2023-1308-ac1
Deep Learning for Satellite‐Based Forest Disturbance Monitoring: Recent Advances and Challenges
de Moura, C. N., Molnar, C., Dalagnol, R., & Nowack, P. J. (2026) · Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · doi:10.1002/widm.70096
“To mitigate this bias, approaches such as spatial blocking, distance buffers, or spatial cross-validation are recommended (Roberts et al. 2017; Brenning 2023; Ploton et al. 2020).”
Mahmoud, M. F. M., Arabi, M., Bailey, R., Morrison, R., Goemans, C., & DeJonge, K. (2026) · doi:10.25675/3.027203
Brenning, A., Frank, J. K., & Suesse, T. (2026) · Environmental Modelling & Software · doi:10.1016/j.envsoft.2026.107097 · Cited by 1
Self-citationJoeloidian, G., Irawan, R., & Yong, B. (2026) · Spatial and Spatio-temporal Epidemiology · doi:10.1016/j.sste.2026.100832
Achieng, A., Costa, A. C., & Cabral, P. (2026) · doi:10.5194/egusphere-2026-4622
When Test Points Learn from Training Polygons: Information Leakage in Remote Sensing Evaluation
Espandr, J., & Komárková, J. (2026) · Zooming Innovation in Consumer Technologies Conference (ZINC) · doi:10.1109/zinc69910.2026.11655736
“Distance-aware diagnostics help define the area of applicability, and spatially constrained leave-pair-out cross-validation supports ranking metrics [Brenning, 2022, Ludwig et al., 2022, Airola et al., 2019].”
Influential
Metadata
- Authors
- Brenning, A.
- Affiliations
- Friedrich Schiller University Jena (DE)
- Corresponding author
- Brenning, Alexander
- ORCID
- Brenning, Alexander
- Venue
- International Journal of Geographical Information Science
- Publisher
- Informa UK Limited
- Published
- 2022-10-26
- Volume
- 37
- Issue
- 3
- Pages
- 584-606
- ISSN
- 0269-3798 (ISSN-L)
- 1365-8816
- 1362-3087
- OpenAlex
- W3214660732
- Semantic Scholar
- f53324d6a4ec584258b5123660edd013c6972ade
- Cited by
- 33
- References
- 43
- Citations by year
- 2026: 8 · 2025: 5 · 2024: 8 · 2023: 9 · 2022: 3
- FWCI
- 5.03
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- International Journal of Geographical Information Systems (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- NSERC Discovery Grant
- Topics
- Social Sciences › Economics, Econometrics and Finance › Economics and Econometrics › Spatial and Panel Data Analysis
- Life Sciences › Agricultural and Biological Sciences › Soil Science › Soil Geostatistics and Mapping
- Physical Sciences › Computer Science › Artificial Intelligence › Gaussian Processes and Bayesian Inference
- Keywords
- spatial machine learning, model diagnostics, spatial cross-validation, spatial autocorrelation, geostatistical methods, random forest, land cover classification, regionalization, black-box models
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.