From Dev.to
Spatial Cross-Validation When the Data Won’t Spread Out
Random k-fold cross-validation can overstate model performance on clustered ecological data. But the obvious alternatives failed on my dataset too. Here is the spatial fold design I settled on for Que...
