Package: blockCV 3.1-5

blockCV: Spatial and Environmental Blocking for K-Fold and LOO Cross-Validation

Creating spatially or environmentally separated folds for cross-validation to provide a robust error estimation in spatially structured environments; Investigating and visualising the effective range of spatial autocorrelation in continuous raster covariates and point samples to find an initial realistic distance band to separate training and testing datasets spatially described in Valavi, R. et al. (2019) <doi:10.1111/2041-210X.13107>.

Authors:Roozbeh Valavi [aut, cre], Jane Elith [aut], José Lahoz-Monfort [aut], Ian Flint [aut], Gurutzeta Guillera-Arroita [aut]

blockCV_3.1-5.tar.gz
blockCV_3.1-5.zip(r-4.5)blockCV_3.1-5.zip(r-4.4)blockCV_3.1-5.zip(r-4.3)
blockCV_3.1-5.tgz(r-4.5-x86_64)blockCV_3.1-5.tgz(r-4.5-arm64)blockCV_3.1-5.tgz(r-4.4-x86_64)blockCV_3.1-5.tgz(r-4.4-arm64)blockCV_3.1-5.tgz(r-4.3-x86_64)blockCV_3.1-5.tgz(r-4.3-arm64)
blockCV_3.1-5.tar.gz(r-4.5-noble)blockCV_3.1-5.tar.gz(r-4.4-noble)
blockCV_3.1-5.tgz(r-4.4-emscripten)blockCV_3.1-5.tgz(r-4.3-emscripten)
blockCV.pdf |blockCV.html
blockCV/json (API)

# Install 'blockCV' in R:
install.packages('blockCV', repos = c('https://rvalavi.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rvalavi/blockcv/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cross-validationspatialspatial-cross-validationspatial-modellingspecies-distribution-modellingcpp

10.49 score 113 stars 3 packages 302 scripts 2.0k downloads 5 mentions 13 exports 13 dependencies

Last updated 4 months agofrom:17669154b2. Checks:8 OK, 3 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 19 2025
R-4.5-win-x86_64OKFeb 19 2025
R-4.5-mac-x86_64OKFeb 19 2025
R-4.5-mac-aarch64ERRORFeb 19 2025
R-4.5-linux-x86_64OKFeb 19 2025
R-4.4-win-x86_64OKFeb 19 2025
R-4.4-mac-x86_64OKFeb 19 2025
R-4.4-mac-aarch64ERRORFeb 19 2025
R-4.3-win-x86_64OKFeb 19 2025
R-4.3-mac-x86_64OKFeb 19 2025
R-4.3-mac-aarch64ERRORFeb 19 2025

Exports:bufferingcv_block_sizecv_buffercv_clustercv_nndmcv_plotcv_similaritycv_spatialcv_spatial_autocorenvBlockrangeExplorerspatialAutoRangespatialBlock

Dependencies:classclassIntDBIe1071KernSmoothmagrittrMASSproxyRcpps2sfunitswk

blockCV introduction: how to create block cross-validation folds

Rendered fromtutorial_1.Rmdusingknitr::rmarkdownon Feb 19 2025.

Last update: 2023-05-20
Started: 2023-01-29

Block cross-validation for species distribution modelling

Rendered fromtutorial_2.Rmdusingknitr::rmarkdownon Feb 19 2025.

Last update: 2024-05-01
Started: 2023-01-29