Skip to main content

spatial-kfold: A Python Package for Spatial Resampling Toward More Reliable Cross-Validation in Spatial Studies.

Project description

# spatial-kfold spatial resampling for more robust cross validation in spatial studies

spatial-kfold is a python library for performing spatial resampling to ensure more robust cross-validation in spatial studies. It offers spatial clustering and block resampling technique with user-friendly parameters to customize the resampling. It enables users to conduct a “Leave Region Out” cross-validation, which can be useful for evaluating the model’s generalization to new locations as well as improving the reliability of [feature selection](https://doi.org/10.1016/j.ecolmodel.2019.108815) and [hyperparameter tuning](https://doi.org/10.1016/j.ecolmodel.2019.06.002) in spatial studies

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatial-kfold-0.0.1.tar.gz (245.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatial_kfold-0.0.1-py3-none-any.whl (272.8 kB view details)

Uploaded Python 3

File details

Details for the file spatial-kfold-0.0.1.tar.gz.

File metadata

  • Download URL: spatial-kfold-0.0.1.tar.gz
  • Upload date:
  • Size: 245.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for spatial-kfold-0.0.1.tar.gz
Algorithm Hash digest
SHA256 48b9540e9e193b668d91f9c475d2cedce00c9b11916cf4ca5ad6aa0d53e778d7
MD5 8dd1237ea31fa03efd05abe8955eff1b
BLAKE2b-256 cfceb281bb1a60185584ccd151ce63b6a4aec48d525987087b5405375ec584a1

See more details on using hashes here.

File details

Details for the file spatial_kfold-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: spatial_kfold-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 272.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for spatial_kfold-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2e3c8d6be2437fd64ff1b83281db04c22525d2f29a98ee7539bdbf0542e2321
MD5 ff7960290c955d4b85039a82207b6e25
BLAKE2b-256 81038207534227bc66a0c34f764b089325e77b268a02e45b1217c9a9c834c5b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page