Cited by 662Soil Geostatistics and MappingSpecies Distribution and Climate ChangeSpatial and Panel Data Analysis

Predicting into unknown space? Estimating the area of applicability of spatial prediction models

Open access
Meyer, Hanna, Pebesma, Edzer·2021·Methods in Ecology and Evolution

Abstract

Machine learning algorithms have become very popular for spatial mapping of the environment due to their ability to fit nonlinear and complex relationships. However, this ability comes with the disadvantage that they can only be applied to new data if these are similar to the training data. Since spatial mapping requires predictions to new geographic space which in many cases goes along with new predictor properties, a method to assess the area to which a prediction model can be reliably applied is required. Here, we suggest a methodology that delineates the ‘area of applicability’ (AOA) that we define as the area where we enabled the model to learn about relationships based on the training data, and where the estimated cross‐validation performance holds. We first propose a ‘dissimilarity index’ (DI) that is based on the minimum distance to the training data in the multidimensional predictor space, with predictors being weighted by their respective importance in the model. The AOA is then derived by applying a threshold which is the (outlier‐removed) maximum DI of the training data derived via cross‐validation. We further use the relationship between the DI and the cross‐validation performance to map the estimated performance of predictions. We illustrate the approach in a simulated case study chosen to mimic ecological realities and test the credibility by using a large set of simulated data. The simulation studies showed that the prediction error within the AOA is comparable to the cross‐validation error of the trained model, while the cross‐validation error does not apply outside the AOA. This applies to models being trained with randomly distributed training data, as well as when training data are clustered in space and where spatial cross‐validation is applied. Using the relationship between DI and cross‐validation performance showed potential to limit predictions to the area where a user‐defined performance applies. We suggest to add the AOA computation to the modeller's standard toolkit and to present predictions for the AOA only. We further suggest to report a map of DI‐dependent performance estimates alongside prediction maps and complementary to (cross‐)validation performance measures and the common uncertainty estimates.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1111/2041-210x.13650

Cites

2 of 2 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Traditional CV methods that ignore spatial structure (LOO or random k-fold CV) provide reliable estimates of map accuracy when samples are randomly distributed within the entire prediction area but not when they are clustered or only cover parts of the prediction area.

    “Traditional CV methods that ignore the spatial structure of the data such as leave-one-out (LOO) or random k-fold CV (Hastie et al., 2009) have been found to provide reliable estimates of map accuracy when samples are randomly distributed within the entire prediction area but not when they are clustered (Milà et al., 2022;Wadoux et al., 2021) or only cover parts of the prediction area (Meyer and P”

    From kNNDM CV: <i>k</i>-fold nearest-neighbour distance matching cross-validation for map accuracy estimation (2024) · cites this paper as Meyer and Pebesma, 2021

    Split into 2 atoms — 1 confirmed, 1 partially supported, 0 disputed, 0 misattributed, 0 unverifiable. Expand the claim to see per-atom verdicts.

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 26

  1. Aniceto, N., Freitas, A. A., Bender, A. and Ghafourian, T. (2016), 'A novel applicability domain technique for mapping predictive reliability across the chemical space of a qsar: reliability-density neighbourhood', Journal of Cheminformatics 8 (1), 69.
  2. Bastin, J.-F., Finegold, Y., Garcia, C., Mollicone, D., Rezende, M., Routh, D., Zohner, C. M. and Crowther, T. W. (2019), 'The global tree restoration potential', Science 365 (6448), 76-79.
  3. Brenning, A. (2012), Spatial cross-validation and bootstrap for the assessment of prediction rules in remote sensing: The R package sperrorest, in '2012 IEEE International Geoscience and Remote Sensing Symposium', pp. 5372-5375.
  4. Bystriakova, N., Peregrym, M., Erkens, R. H., Bezsmertna, O. and Schneider, H. (2012), 'Sampling bias in geographic and environmental space and its effect on the predictive power of species distribution models', Systematics and Biodiversity 10 (3), 305-315.
  5. Coulston, J. W., Blinn, C. E., Thomas, V. A. and Wynne, R. H. (2016), 'Approximating prediction uncertainty for random forest regression models', Photogrammetric Engineering &amp; Remote Sensing 82 (3), 189 - 197. URL: http://www.sciencedirect.com/science/article/pii/S0099111216300593
  6. Delgado-Baquerizo, M., Oliverio, A. M., Brewer, T. E., Benavent-González, A., Eldridge, D. J., Bardgett, R. D., Maestre, F. T., Singh, B. K. and Fierer, N. (2018), 'A global atlas of the dominant bacteria found in soil', Science 359 (6373), 320-325.
  7. Gadaleta, D., Mangiatordi, G. F., Catto, M., Carotti, A. and Nicolotti, O. (2016), 'Applicability domain for qsar models: Where theory meets reality', International Journal of Quantitative Structure-Property Relationships (IJQSPR) 1 (1), 45-63.
  8. Hengl, T., Rossiter, D. and Stein, A. (2003), 'Soil sampling strategies for spatial prediction by correlation with auxiliary maps', Australian Journal of Soil Research 41 (8).
  9. Hijmans, R. J., Cameron, S. E., Parra, J. L., Jones, P. G. and Jarvis, A. (2005), 'Very high resolution interpolated climate surfaces for global land areas', Int. J. Climatol. 25 (15), 1965-1978.
  10. Kadmon, R., Farber, O. and Danin, A. (2004), 'Effect of roadside bias on the accuracy of predictive maps produced by bioclimatic models', Ecological Applications 14 (2), 401-413.
  11. Kuhn, M. (2008), 'Building predictive models in r using the caret package', Journal of Statistical Software, Articles 28 (5), 1-26.
  12. Leroy, B., Meynard, C. N., Bellard, C. and Courchamp, F. (2016), 'virtualspecies, an r package to generate virtual species distributions', Ecography 39 (6), 599-607.
  13. Liaw, A. and Wiener, M. (2002), 'Classification and Regression by randomForest', R News 2 (3), 18-22.
  14. Mathea, M., Klingspohn, W. and Baumann, K. (2016), 'Chemoinformatic classification methods and their applicability domain', Molecular Informatics 35 (5), 160-180.
  15. Meinshausen, N. (2006), 'Quantile regression forests', Journal of Machine Learning Research (7), 983-999.
  16. Pelletier, T. A., Carstens, B. C., Tank, D. C., Sullivan, J. and Espíndola, A. (2018), 'Predicting plant conservation priorities on a global scale', Proceedings of the National Academy of Sciences 115 (51), 13027-13032.
  17. Pohjankukka, J., Pahikkala, T., Nevalainen, P. and Heikkonen, J. (2017), 'Estimating the prediction performance of spatial models via spatial k-fold cross validation', International Journal of Geographical Information Science 31 (10), 2001-2019.
  18. Qiao, H., Feng, X., Escobar, L. E., Peterson, A. T., Soberón, J., Zhu, G. and Pape¸ s, M. (2019), 'An evaluation of transferability of ecological niche models', Ecography 42 (3), 521-534.
  19. Sahigara, F., Ballabio, D., Todeschini, R. and Consonni, V. (2013), 'Defining a novel k-nearest neighbours approach to assess the applicability domain of a qsar model for reliable predictions', Journal of cheminformatics 5 (1), 27-27. URL: https://pubmed.ncbi.nlm.nih.gov/23721648
  20. Schratz, P., Muenchow, J., Iturritxa, E., Richter, J. and Brenning, A. (2019), 'Hyperparameter tuning and performance assessment of statistical and machine-learning algorithms using spatial data', Ecological Modelling 406 , 109 - 120. URL: http://www.sciencedirect.com/science/article/pii/S0304380019302145
  21. Sheridan, R. P., Feuston, B. P., Maiorov, V. N. and Kearsley, S. K. (2004), 'Similarity to molecules in the training set is a good discriminator for prediction accuracy in qsar', J. Chem. Inf. Comput. Sci. 44 (6), 1912-1928.
  22. Toplak, M., Moˇ cnik, R., Polajnar, M., Bosni´ c, Z., Carlsson, L., Hasselgren, C., Demšar, J., Boyer, S., Zupan, B. and Stålring, J. (2014), 'Assessment of machine learning reliability methods for quantifying the applicability domain of qsar regression models', J. Chem. Inf. Model. 54 (2), 431-441.
  23. Valavi, R., Elith, J., Lahoz-Monfort, J. J. and Guillera-Arroita, G. (2018), 'blockcv: an r package for generating spatially or environmentally separated folds for k-fold cross-validation of species distribution models', bioRxiv . URL: https://www.biorxiv.org/content/early/2018/06/28/357798
  24. van den Hoogen, J., Geisen, S., Routh, D., Ferris, H., Traunspurger, W., Wardle, D. A., de Goede, R. G. M., Adams, B. J., Ahmad, W., Andriuzzi, W. S., Bardgett, R. D., Bonkowski, M., Campos-Herrera, R., Cares, J. E., Caruso, T., de Brito Caixeta, L., Chen, X., Costa, S. R., Creamer, R., Mauro da Cunha Castro, J., Dam, M., Djigal, D., Escuer, M., Griffiths, B. S., Gutiérrez, C., Hohberg, K., Kalinkina, D., Kardol, P., Kergunteuil, A., Korthals, G., Krashevska, V ., Kudrin, A. A., Li, Q., Liang, W., Magilton, M., Marais, M., Martín, J. A. R., Matveeva, E., Mayad, E. H., Mulder, C., Mullin, P., Neilson, R., Nguyen, T. A. D., Nielsen, U. N., Okada, H., Rius, J. E. P., Pan, K., Peneva, V ., Pellissier, L., Carlos Pereira da Silva, J., Pitteloud, C., Powers, T. O., Powers, K., Quist, C. W., Rasmann, S., Moreno, S. S., Scheu, S., Setälä, H., Sushchuk, A., Tiunov, A. V., Trap, J., van der Putten, W., Vestergård, M., Villenave, C., Waeyenberge, L., Wall, D. H., Wilschut, R., Wright, D. G., Yang, J.-i. and Crowther, T. W. (2019), 'Soil nematode abundance and functional group composition at a global scale', Nature 572 (7768), 194-198.
  25. Zhu, A. X., Liu, J., Du, F., Zhang, S. J., Qin, C. Z., Burt, J., Behrens, T. and Scholten, T. (2015), 'Predictive soil mapping with limited sample data', European Journal of Soil Science 66 (3), 535-547.
  26. Zohner, C. M., Mo, L., Renner, S. S., Svenning, J.-C., Vitasse, Y., Benito, B. M., Ordonez, A., Baumgarten, F., Bastin, J.-F., Sebald, V ., Reich, P. B., Liang, J., Nabuurs, G.-J., de Miguel, S., Alberti, G., Antón-Fernández, C., Balazy, R., Brändli, U.-B., Chen, H. Y. H., Chisholm, C., Cienciala, E., Dayanandan, S., Fayle, T. M., Frizzera, L., Gianelle, D., Jagodzinski, A. M., Jaroszewicz, B., Jucker, T., Kepfer-Rojas, S., Khan, M. L., Kim, H. S., Korjus, H., Johannsen, V. K., Laarmann, D., Lang, M., Zawila-Niedzwiecki, T., Niklaus, P. A., Paquette, A., Pretzsch, H., Saikia, P., Schall, P., Šebeˇ n, V., Svoboda, M., Tikhonova, E., Viana, H., Zhang, C., Zhao, X. and Crowther, T. W. (2020), 'Late-spring frost risk between 1959 and 2017 decreased in north america but increased in europe and asia', Proceedings of the National Academy of Sciences .

Cited by

Sorted by citations

Authors
Meyer, H., & Pebesma, E.
Affiliations
University of Münster (DE)
Corresponding author
Meyer, Hanna
Venue
Methods in Ecology and Evolution
Publisher
Wiley
Published
2021-07-26
Volume
12
Issue
9
Pages
1620-1633
ISSN
2041-210X (ISSN-L)
OpenAlex
W3025440848
Cited by
662
References
2
Citations by year
2026: 247 · 2025: 108 · 2024: 113 · 2023: 84 · 2022: 83 · 2021: 24 · 2020: 3
FWCI
24.75
Type
journal article
Language
en
Open access
Locations
  • Methods in Ecology and Evolution (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Environmental Science › Environmental Engineering › Soil Geostatistics and Mapping
  • Physical Sciences › Environmental Science › Ecological Modeling › Species Distribution and Climate Change
  • Social Sciences › Economics, Econometrics and Finance › Economics and Econometrics › Spatial and Panel Data Analysis
Keywords
scope of application, spatial prediction, dissimilarity index, cross-validation, forecast uncertainty, machine learning, spatial cross-validation, model extrapolation, ecological mapping

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