Journal article

blockCV: An r package for generating spatially or environmentally separated folds for k-fold cross-validation of species distribution models

R Valavi, J Elith, JJ Lahoz-Monfort, G Guillera-Arroita

Methods in Ecology and Evolution | WILEY | Published : 2019

Abstract

When applied to structured data, conventional random cross-validation techniques can lead to underestimation of prediction error, and may result in inappropriate model selection. We present the r package blockCV, a new toolbox for cross-validation of species distribution modelling. Although it has been developed with species distribution modelling in mind, it can be used for any spatial modelling. The package can generate spatially or environmentally separated folds. It includes tools to measure spatial autocorrelation ranges in candidate covariates, providing the user with insights into the spatial structure in these data. It also offers interactive graphical capabilities for creating spati..

View full abstract