Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,71 +1,37 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
- name: f0_hz
|
| 39 |
-
sequence: float32
|
| 40 |
-
- name: f0_conf
|
| 41 |
-
sequence: float32
|
| 42 |
-
- name: f0_ok
|
| 43 |
-
dtype: bool
|
| 44 |
-
- name: f0_bad_reason
|
| 45 |
-
dtype: string
|
| 46 |
-
- name: f0_spectrogram
|
| 47 |
-
dtype: image
|
| 48 |
-
- name: snr_db
|
| 49 |
-
dtype: float64
|
| 50 |
-
splits:
|
| 51 |
-
- name: train
|
| 52 |
-
num_bytes: 2629873129.824
|
| 53 |
-
num_examples: 5848
|
| 54 |
-
- name: validation
|
| 55 |
-
num_bytes: 558058618.714
|
| 56 |
-
num_examples: 1253
|
| 57 |
-
- name: test
|
| 58 |
-
num_bytes: 561976010.714
|
| 59 |
-
num_examples: 1253
|
| 60 |
-
download_size: 3424280239
|
| 61 |
-
dataset_size: 3749907759.252
|
| 62 |
-
configs:
|
| 63 |
-
- config_name: default
|
| 64 |
-
data_files:
|
| 65 |
-
- split: train
|
| 66 |
-
path: data/train-*
|
| 67 |
-
- split: validation
|
| 68 |
-
path: data/validation-*
|
| 69 |
-
- split: test
|
| 70 |
-
path: data/test-*
|
| 71 |
-
---
|
|
|
|
| 1 |
+
# Dolphin whistle classification
|
| 2 |
+
|
| 3 |
+
Short whistle clips with metadata, fundamental-frequency tracks, F0 spectrograms, and integer class IDs in `main_category`.
|
| 4 |
+
|
| 5 |
+
**Whistle sub-category:** fine-grained whistle identity is carried in the **`whistle_type`** column (integer IDs). This is the primary label column for sub-category work; `main_category` groups whistles at a coarser level.
|
| 6 |
+
|
| 7 |
+
Splits (`train`, `validation`, `test`) are disjoint by recording session.
|
| 8 |
+
|
| 9 |
+
## Columns
|
| 10 |
+
|
| 11 |
+
- `audio`, `main_category`, `name`, `onset`, `offset`, `duration`, `recording_duration`, **`whistle_type`**, `whistle_name`, `f0_time`, `f0_hz`, `f0_conf`, `f0_ok`, `f0_bad_reason`, `f0_spectrogram`, `snr_db`
|
| 12 |
+
|
| 13 |
+
## Usage
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
from datasets import load_dataset
|
| 17 |
+
|
| 18 |
+
# Default: one `datasets.Dataset` per split (`train`, `validation`, `test`)
|
| 19 |
+
ds = load_dataset("dolphinteam/Whistle-Classification")
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
Load **all rows in a single dataset** (no split separation; train, validation, and test concatenated in order):
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from datasets import load_dataset
|
| 26 |
+
|
| 27 |
+
full = load_dataset("dolphinteam/Whistle-Classification", split="train+validation+test")
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
Equivalent if you already loaded the split dict and want one table:
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from datasets import concatenate_datasets
|
| 34 |
+
|
| 35 |
+
ds = load_dataset("dolphinteam/Whistle-Classification")
|
| 36 |
+
full = concatenate_datasets([ds["train"], ds["validation"], ds["test"]])
|
| 37 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|