panitsasi commited on
Commit
d2f0fbf
·
verified ·
1 Parent(s): a1a94b4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -10
README.md CHANGED
@@ -22,11 +22,14 @@ Each sample contains **aligned vision and time-series modalities**, enabling joi
22
 
23
  - **Modality 1 (Vision)**: Spectrogram images
24
  - Format: PNG
25
- - Resolution: **224 × 224 × 3**
 
26
 
27
  - **Modality 2 (Time Series)**: Network KPIs
28
  - Format: CSV / structured sequences
29
- - Multivariate time series with features:
 
 
30
  - `Time`
31
  - `Latency`
32
  - `Jitter`
@@ -36,18 +39,29 @@ Each sample contains **aligned vision and time-series modalities**, enabling joi
36
 
37
  - **Labels**: Benign traffic and multiple jamming attack types
38
 
39
- The dataset is designed to be **federated-learning friendly**, with samples optionally grouped by **client/device identifiers** to emulate decentralized data ownership.
40
 
41
  ---
42
 
43
- ## Dataset Statistics
44
 
45
- *(Replace X, Y, Z with the final numbers.)*
46
 
47
- | Subset | Train | Test | Total |
48
- |------|------:|-----:|------:|
49
- | FedJam-Sample | X | Y | Z |
50
- | **Total** | **X** | **Y** | **Z** |
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  ---
53
 
@@ -57,7 +71,7 @@ The dataset is designed to be **federated-learning friendly**, with samples opti
57
  from datasets import load_dataset
58
 
59
  # Load the FedJam dataset
60
- dataset = load_dataset("YOUR_ORG_OR_USERNAME/fedjam")
61
 
62
  # Access splits
63
  train_data = dataset["train"]
@@ -65,4 +79,21 @@ test_data = dataset["test"]
65
 
66
  # Access a sample
67
  sample = train_data[0]
 
 
 
 
 
 
68
  print(sample.keys())
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  - **Modality 1 (Vision)**: Spectrogram images
24
  - Format: PNG
25
+ - Resolution: **224 × 224 × 3**
26
+ - One spectrogram image per sample
27
 
28
  - **Modality 2 (Time Series)**: Network KPIs
29
  - Format: CSV / structured sequences
30
+ - **Fixed-length multivariate time series**
31
+ - **256 measurements per KPI feature, per sample**
32
+ - KPI features:
33
  - `Time`
34
  - `Latency`
35
  - `Jitter`
 
39
 
40
  - **Labels**: Benign traffic and multiple jamming attack types
41
 
42
+ Each spectrogram image and KPI time series correspond to the **same time window**.
43
 
44
  ---
45
 
46
+ ## Dataset Schema
47
 
48
+ Each dataset sample contains:
49
 
50
+ - **`spectrogram`** *(Image)*
51
+ Spectrogram image of shape **224 × 224 × 3**.
52
+
53
+ - **`kpis`** *(sequence / array)*
54
+ Multivariate time series of shape **[256, F]**, where:
55
+ - `256` is the number of temporal measurements
56
+ - `F` is the number of KPI features
57
+ (`Time`, `Latency`, `Jitter`, `Packet Loss Count`, `Noise`, `SNR`)
58
+
59
+ - **`label`** *(integer)*
60
+ Encoded class label:
61
+ - `0`: Benign
62
+ - `1`: Jamming type A
63
+ - `2`: Jamming type B
64
+ - `3`: Jamming type C
65
 
66
  ---
67
 
 
71
  from datasets import load_dataset
72
 
73
  # Load the FedJam dataset
74
+ dataset = load_dataset("panitsasi/FedJam")
75
 
76
  # Access splits
77
  train_data = dataset["train"]
 
79
 
80
  # Access a sample
81
  sample = train_data[0]
82
+
83
+ # Modalities
84
+ spectrogram = sample["spectrogram"]
85
+ kpis = sample["kpis"]
86
+ label = sample["label"]
87
+
88
  print(sample.keys())
89
+
90
+
91
+ ## Citation
92
+
93
+ If you use this dataset, please cite:
94
+
95
+ I. Panitsas, I. Ofeidis, and L. Tassiulas,
96
+ “FedJam: Multimodal Federated Learning Framework for Jamming Detection,”
97
+ arXiv:2508.09369 [cs.NI], 2025. doi:10.48550/arXiv.2508.09369.
98
+
99
+ ---