kNNDM CV: k-fold nearest-neighbour distance matching cross-validation for map accuracy estimation

Random and spatial cross-validation (CV) methods are commonly used to evaluate machine-learning-based spatial prediction models, and the performance values obtained are often interpreted as map accuracy estimates. However, the appropriateness of such approaches is currently the subject of controv…