cathv commited on
Commit
c8657b9
·
verified ·
1 Parent(s): 635b45d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -41
README.md CHANGED
@@ -39,36 +39,32 @@ license: cc-by-nc-4.0
39
  license: cc-by-nc-4.0
40
  ---
41
 
42
- # BATIS: Benchmarking Bayesian Approaches for Improving Species Distribution Models
43
 
44
- This repository contains the dataset used in experiments shown in BATIS: Benchmarking Bayesian Approaches for Improving Species Distribution Models (preprint). To download the dataset, you can use the `load_dataset` function from HuggingFace. For example :
45
 
46
  ```python
47
  from datasets import load_dataset
48
 
49
  # Training Split for Kenya
50
- training_kenya = load_dataset("cathv/batis_benchmark_2025", name="Kenya", split="train")
51
 
52
  # Validation Split for South Africa
53
- validation_south_africa = load_dataset("cathv/batis_benchmark_2025", name="South_Africa", split="val")
54
 
55
  # Test Split for USA-Summer
56
- test_usa_summer = load_dataset("cathv/batis_benchmark_2025", name="USA_Summer", split="test")
57
  ```
58
 
59
- The code to reproduce the experiments presented in the paper is available in our [GitHub repository](https://github.com/cath34/batis_benchmark_neurips_2025). Please note that the checklists data is **NOT AVAILABLE** in this current repository, in order to comply with the [eBird Data Access Terms of Use
60
- ](https://www.birds.cornell.edu/home/ebird-data-access-terms-of-use/). If you are interested in downloading the checklists data, please formulate a [request for access](https://support.ebird.org/en/support/solutions/articles/48000838205-download-ebird-data) to the eBird team.
61
 
62
- ## ⚠️ !!! ERRATUM IN THE MAIN PAPER !!! ⚠️
63
 
64
- We would like to apologize to the reviewers for a typo in Table 1 of the main paper. The table incorrectly suggests that hundreds of thousands of species can be observed in the United States during summer, and nearly 50,000 in winter. While many birders would surely dream of such an extraordinary high avian biodiversity, these numbers are clearly far from the reality. The values intended for the `number_of_hotspots` column were unfortunately placed in the `number_of_species` column. The first table of the Appendix reports the appropriate numbers, but we also include it here to avoid any confusion :
65
 
66
- | **Region** | **Date Range** | **Number of Checklists** | **Number of Hotspots** | **Number of Species** | **Species List** |
67
- |----------------------|-----------------------------|---------------------------|-------------------------|------------------------|------------------|
68
- | Kenya (KE) | 2010-01-01 to 2023-12-31 | 44,852 | 8,551 | 1,054 | Avibase |
69
- | South Africa (ZA) | 2018-01-01 to 2024-06-17 | 498,867 | 6,643 | 755 | BirdLife |
70
- | USA-Winter (US-W) | 2022-12-01 to 2023-01-31 | 3,673,742 | 45,882 | 670 | ABA 1-2 |
71
- | USA-Summer (US-S) | 2022-06-01 to 2022-07-31 | 3,920,846 | 98,443 | 670 | ABA 1-2 |
72
 
73
  ## Dataset Configurations and Splits
74
 
@@ -79,12 +75,12 @@ The dataset contains the following four configurations :
79
  - **USA-Winter :** Containing the data used to train our models for predicting bird species distribution in the United States of America during the winter season.
80
  - **USA-Summer :** Containing the data used to train our models for predicting bird species distribution in the United States of America during the summer season.
81
 
82
- Each subset can be further divided into `train`, `test` and `split`. These splits are the same as the one we used in our paper, and were generated by following the pre-processing pipeline described in our paper, which can be easily reproduced by re-using our [code](https://github.com/cath34/batis_benchmark_neurips_2025/blob/main/Splits/combined_script.py).
83
 
84
  ## Dataset Structure
85
 
86
  ```
87
- /batis_benchmark_2025/
88
  Kenya/
89
  images.tar.gz
90
  environmental.tar.gz
@@ -128,7 +124,7 @@ Each subset can be further divided into `train`, `test` and `split`. These split
128
 
129
  ```
130
 
131
- The files `train_filtered.csv`, `test_filtered.csv` and `valid_filtered.csv` are containing the informations one can see from the Dataset Viewer. The archives `targets`, `images`, `environmental` are respectively containing the target vectors (i.e., the estimated ground truth encounter rate probability). The `Species_ID/` folder contains the species list files for each subset.
132
 
133
 
134
  ## Data Fields
@@ -136,40 +132,36 @@ The files `train_filtered.csv`, `test_filtered.csv` and `valid_filtered.csv` are
136
  - `hotspot_id` : The unique ID associated with a given hotspot. The `hotspot_id`value can be used to upload date coming from either `targets`, `environmental` or variance, as they are all formulated as
137
 
138
  ```
139
- /batis_benchmark_2025/
140
  images/
141
- {hotspot_id_1}.tar.gz
142
  ...
143
- {hotspot_id_n}.tar.gz
144
  environmental/
145
- {hotspot_id_1}.tar.gz
146
  ...
147
- {hotspot_id_1}.tar.gz
148
  targets/
149
- {hotspot_id_1}.tar.gz
150
  ...
151
- {hotspot_id_1}.tar.gz
152
  ```
 
153
  - `lon` : Longitude coordinate of the hotspot
154
  - `latitude` : Latitude coordinate of the hotspot
155
  - `num_complete_checklists` : Number of complete checklists collected in that hotspot
156
- - `bio_1` to `bio_19`: Environmental covariates values associated with that hotspot, extracted from the WorldClim model. For more details on each of these variables, please refer to Table 5 of the appendix.
157
  - `split` : The split associated with that hotspot (either `train`, `valid` or `test`)
158
 
159
- ## Authors
160
-
161
- - **Curated by:** Catherine Villeneuve, Mélisande Teng, Benjamin Akera, David Rolnick
162
- - **Language:** English
163
- - **Repository:** https://huggingface.co/datasets/cathv/batis_benchmark_2025
164
- - **Paper:** IN REVIEW
165
 
166
- ## Licenses
167
-
168
- The **BATIS Benchmark** is released under a [Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License](https://creativecommons.org/licenses/by-nc/4.0/).
169
-
170
- The use of our dataset should also comply with the following:
171
-
172
- - [eBird Terms of Use](https://www.birds.cornell.edu/home/terms-of-use/)
173
- - [eBird API Terms of Use](https://www.birds.cornell.edu/home/ebird-api-terms-of-use/)
174
- - [eBird Data Access Terms of Use](https://www.birds.cornell.edu/home/ebird-data-access-terms-of-use/)
175
 
 
 
 
 
 
39
  license: cc-by-nc-4.0
40
  ---
41
 
42
+ # BATIS: Bayesian Approaches for Targeted Improvement of Species Distribution Models
43
 
44
+ This repository contains the dataset used in experiments shown in BATIS: Bayesian Approaches for Targeted Improvement of Species Distribution Models. To download the dataset, you can use the `load_dataset` function from HuggingFace. For example :
45
 
46
  ```python
47
  from datasets import load_dataset
48
 
49
  # Training Split for Kenya
50
+ training_kenya = load_dataset("cathv/BATIS", name="Kenya", split="train")
51
 
52
  # Validation Split for South Africa
53
+ validation_south_africa = load_dataset("cathv/BATIS", name="South_Africa", split="val")
54
 
55
  # Test Split for USA-Summer
56
+ test_usa_summer = load_dataset("cathv/BATIS", name="USA_Summer", split="test")
57
  ```
58
 
59
+ ## Licenses
 
60
 
61
+ The **BATIS Benchmark** is released under a [Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License](https://creativecommons.org/licenses/by-nc/4.0/).
62
 
63
+ The use of our dataset should also comply with the following:
64
 
65
+ - [eBird Terms of Use](https://www.birds.cornell.edu/home/terms-of-use/)
66
+ - [eBird API Terms of Use](https://www.birds.cornell.edu/home/ebird-api-terms-of-use/)
67
+ - [eBird Data Access Terms of Use](https://www.birds.cornell.edu/home/ebird-data-access-terms-of-use/)
 
 
 
68
 
69
  ## Dataset Configurations and Splits
70
 
 
75
  - **USA-Winter :** Containing the data used to train our models for predicting bird species distribution in the United States of America during the winter season.
76
  - **USA-Summer :** Containing the data used to train our models for predicting bird species distribution in the United States of America during the summer season.
77
 
78
+ Each subset can be further divided into `train`, `test` and `split`. These splits are the same as the one we used in our paper, and were generated by following the pre-processing pipeline described in our paper, which can be easily reproduced by re-using our code.
79
 
80
  ## Dataset Structure
81
 
82
  ```
83
+ /BATIS/
84
  Kenya/
85
  images.tar.gz
86
  environmental.tar.gz
 
124
 
125
  ```
126
 
127
+ The files `train_filtered.csv`, `test_filtered.csv` and `valid_filtered.csv` are containing the informations one can see from the Dataset Viewer. The archives `targets`, `images`, `environmental` are respectively containing the target vectors (i.e., the estimated ground truth encounter rate probability), the satellite images (in .tif format) and the environmental rasters from WorldClim (in .npy format) associated with each hotspot. The `Species_ID/` folder contains the species list files for each subset.
128
 
129
 
130
  ## Data Fields
 
132
  - `hotspot_id` : The unique ID associated with a given hotspot. The `hotspot_id`value can be used to upload date coming from either `targets`, `environmental` or variance, as they are all formulated as
133
 
134
  ```
135
+ /BATIS/
136
  images/
137
+ {hotspot_id_1}.tif
138
  ...
139
+ {hotspot_id_n}.tif
140
  environmental/
141
+ {hotspot_id_1}.npy
142
  ...
143
+ {hotspot_id_1}.npy
144
  targets/
145
+ {hotspot_id_1}.json
146
  ...
147
+ {hotspot_id_1}.json
148
  ```
149
+
150
  - `lon` : Longitude coordinate of the hotspot
151
  - `latitude` : Latitude coordinate of the hotspot
152
  - `num_complete_checklists` : Number of complete checklists collected in that hotspot
153
+ - `bio_1` to `bio_19`: Environmental covariates values associated with that hotspot, extracted from the WorldClim model. For more details on each of these variables, please refer to the appendix.
154
  - `split` : The split associated with that hotspot (either `train`, `valid` or `test`)
155
 
156
+ ## Reconstructing Satellite Image Archive Files for the USA Subsets
157
+ The satellite images archive files for the USA Summer and USA Winter subsets are very large. To facilitate download through Hugging Face, we decided to split these archives into multiple binary files. You can reconstruct the original archive using the `cat` command in a terminal, which will join the binary files in chronological order and reconstruct the original `.tar.gz` archive.
 
 
 
 
158
 
159
+ To reconstruct the archive for the USA-Winter subset, run:
160
+ ```
161
+ cat images_chunk_aa images_chunk_ab images_chunk_ac images_chunk_ad > images.tar.gz
162
+ ```
 
 
 
 
 
163
 
164
+ To reconstruct the archive for the USA-Summer subset, run:
165
+ ```
166
+ cat images_chunk_aa images_chunk_ab images_chunk_ac images_chunk_ad images_chunk_ae images_chunk_af > images.tar.gz
167
+ ```