Repository navigation
v1.14.0
spatial_kfold: a real geographic split for k-fold cross-validation (opt-in, off by default). Ordinary k-fold had no notion of location -- neighbouring points, or points from the same field, could land on opposite sides of a fold. New _spatial_block_groups() assigns each point to a geographic block via a quantile grid over (lon, lat), fed into the same StratifiedGroupKFold/GroupKFold machinery group_by_field (v1.13.0) already uses. k-fold-only; takes precedence over group_by_field when both are requested. See CHANGELOG.md.