Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,4 +2,69 @@
|
|
| 2 |
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- anomaly-detection
|
| 7 |
+
- image-classification
|
| 8 |
+
- time-series-classification
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# FedJam Dataset
|
| 14 |
+
|
| 15 |
+
**Multimodal Dataset for Federated Jamming Detection**
|
| 16 |
+
|
| 17 |
+
The **FedJam dataset** is a multimodal dataset designed for **jamming detection and classification in wireless networks**, pairing **time–frequency spectrogram images** with **cross-layer network KPI time series**. The dataset is designed to support **multimodal learning**, **federated learning**, and **robust classification under heterogeneous data distributions**.
|
| 18 |
+
|
| 19 |
+
Each sample contains **aligned vision and time-series modalities**, enabling joint modeling of physical-layer signal characteristics and network-layer performance indicators.
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## Dataset Overview
|
| 24 |
+
|
| 25 |
+
- **Modality 1 (Vision)**: Spectrogram images
|
| 26 |
+
- Format: PNG
|
| 27 |
+
- Resolution: **224 × 224 × 3**
|
| 28 |
+
|
| 29 |
+
- **Modality 2 (Time Series)**: Network KPIs
|
| 30 |
+
- Format: CSV / structured sequences
|
| 31 |
+
- Multivariate time series with features:
|
| 32 |
+
- `Time`
|
| 33 |
+
- `Latency`
|
| 34 |
+
- `Jitter`
|
| 35 |
+
- `Packet Loss Count`
|
| 36 |
+
- `Noise`
|
| 37 |
+
- `SNR`
|
| 38 |
+
|
| 39 |
+
- **Labels**: Benign traffic and multiple jamming attack types
|
| 40 |
+
|
| 41 |
+
The dataset is designed to be **federated-learning friendly**, with samples optionally grouped by **client/device identifiers** to emulate decentralized data ownership.
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
## Dataset Statistics
|
| 46 |
+
|
| 47 |
+
*(Replace X, Y, Z with the final numbers.)*
|
| 48 |
+
|
| 49 |
+
| Subset | Train | Test | Total |
|
| 50 |
+
|------|------:|-----:|------:|
|
| 51 |
+
| FedJam-Sample | X | Y | Z |
|
| 52 |
+
| **Total** | **X** | **Y** | **Z** |
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## Loading the Dataset
|
| 57 |
+
|
| 58 |
+
```python
|
| 59 |
+
from datasets import load_dataset
|
| 60 |
+
|
| 61 |
+
# Load the FedJam dataset
|
| 62 |
+
dataset = load_dataset("YOUR_ORG_OR_USERNAME/fedjam")
|
| 63 |
+
|
| 64 |
+
# Access splits
|
| 65 |
+
train_data = dataset["train"]
|
| 66 |
+
test_data = dataset["test"]
|
| 67 |
+
|
| 68 |
+
# Access a sample
|
| 69 |
+
sample = train_data[0]
|
| 70 |
+
print(sample.keys())
|