bukac82 commited on
Commit
a04a207
Β·
verified Β·
1 Parent(s): f4cc59f

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +376 -134
README.md CHANGED
@@ -1,150 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
- license: mit
3
- language:
4
- - en
5
- tags:
6
- - radar
7
- - signal-processing
8
- - micro-doppler
9
- - helicopter
10
- - classification
11
- - synthetic
12
- - iq-data
13
- - time-series
14
- pretty_name: Micro-Doppler Signatures (Helicopter)
15
- size_categories:
16
- - 100K<n<1M
17
- task_categories:
18
- - tabular-classification
19
- - audio-classification
 
20
  ---
21
 
22
- # Micro-Doppler Signatures - Helicopter Classification Dataset
23
 
24
- Synthetic IQ-sampled radar returns from three helicopter types, generated using a physics-based sinc micro-Doppler scattering model. Designed for benchmarking ML classifiers on rotating-blade target identification.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
- ## Dataset Description
27
 
28
- ### What's in it
29
 
30
- Two CSV files, each with 100,000 samples:
31
 
32
- | File | Contents |
33
- |------|----------|
34
- | `helicopter_microdoppler_dataset.csv` | Baseline - fixed radar geometry, SNR in [5, 25] dB |
35
- | `helicopter_microdoppler_extended_dataset.csv` | Extended - variable radar frequency (8-12 GHz), elevation angle (0-45 deg), bulk target velocity (+/-50 m/s) |
36
 
37
- Each row is one 0.5-second radar observation window at 1 kHz sampling rate (500 complex IQ samples per window), flattened as real and imaginary columns.
 
 
 
 
 
 
38
 
39
- ### Target classes
 
 
 
40
 
41
- | Label | Helicopter | Blades | Rotor RPM | Blade length |
42
- |-------|-----------|--------|-----------|--------------|
43
- | `2` | Bell UH-1 Iroquois (Huey) | 2 | 300-350 | 6.5-7.5 m |
44
- | `3` | Aerospatiale Gazelle | 3 | 360-400 | 4.5-5.5 m |
45
- | `4` | Boeing AH-64 Apache / UH-60 Black Hawk | 4 | 250-300 | 7.0-8.5 m |
46
 
47
- ### Signal model
 
 
48
 
49
- The micro-Doppler return from the k-th blade is modelled as:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
  $$s_k(t) = L \cdot \text{sinc}\!\left(\frac{2L}{\lambda}\cos\phi_k\cos\beta\right) \exp\!\left(j\frac{4\pi L}{\lambda}\cos\phi_k\cos\beta\right)$$
52
 
53
- where phi_k(t) = omega*t + theta_0 + 2*pi*k/N_b is the instantaneous blade phase, L is blade half-length, lambda is radar wavelength, and beta is the elevation angle. AWGN is added to reach the target SNR.
54
-
55
- ## Column Schema
56
-
57
- ```
58
- label - int {2, 3, 4} helicopter class (number of main rotor blades)
59
- snr_db - float signal-to-noise ratio of this sample
60
- n_blades - int number of rotor blades
61
- rpm - float rotor revolutions per minute
62
- blade_length_m - float blade half-length in metres
63
- I_0 ... I_499 - float in-phase (real) IQ samples
64
- Q_0 ... Q_499 - float quadrature (imaginary) IQ samples
65
- ```
66
-
67
- Extended dataset additionally includes:
68
- ```
69
- radar_freq_ghz - float radar carrier frequency (8-12 GHz)
70
- elevation_deg - float target elevation angle (0-45 deg)
71
- velocity_ms - float bulk target radial velocity (-50 to +50 m/s)
72
- ```
73
-
74
- ## Intended Use
75
-
76
- - Benchmarking classical and deep learning classifiers on radar micro-Doppler data
77
- - - Evaluating robustness to noise (SNR sweep experiments)
78
- - - Research into quantum kernel methods on signal classification tasks
79
- - - Open-set recognition and out-of-distribution detection studies
80
-
81
- - ## Limitations
82
-
83
- - - Synthetic data only - real radar returns include ground clutter, multipath, and hardware-specific artefacts not modelled here
84
- - - Three helicopter classes only - does not cover fixed-wing aircraft, drones, or birds
85
- - - Monostatic radar geometry assumed
86
-
87
- - ## Related Repository
88
-
89
- - Code, notebooks, and full experimental pipeline:
90
- - **[bukac82/radar-microdoppler-ai](https://github.com/bukac82/radar-microdoppler-ai)**
91
- - ## Citation
92
- - If you use this dataset in your research, please cite the dataset/software repository and/or the relevant papers below.
93
- - ### Dataset & Software Repository
94
- - ```bibtex
95
- @software{agnihotri2026microdoppler,
96
- author = {Agnihotri, Vikas},
97
- title = {Radar Micro-Doppler AI: End-to-End Helicopter Classification},
98
- year = {2026},
99
- url = {https://github.com/bukac82/radar-microdoppler-ai}
100
- }
101
- ```
102
-
103
- ### Related Papers
104
-
105
- **Quantum ML on NISQ Hardware:**
106
- ```bibtex
107
- @article{agnihotri2026quantum,
108
- author = {Agnihotri, Vikas and Kaur, Jasleen and Kaushik, Sarvagya},
109
- title = {Practical Evaluation of Quantum Kernel Methods for Radar
110
- Micro-Doppler Classification on Noisy Intermediate-Scale
111
- Quantum ({NISQ}) Hardware},
112
- journal = {arXiv preprint},
113
- volume = {arXiv:2601.22194},
114
- year = {2026},
115
- url = {https://arxiv.org/abs/2601.22194}
116
- }
117
- ```
118
-
119
- **Radar-Based ATR Framework (foundational SVM/signal model):**
120
- ```bibtex
121
- @article{agnihotri2020radar,
122
- author = {Agnihotri, Vikas and Sabharwal, Munish},
123
- title = {An Automatic Radar Based Aerial Target Recognition Framework},
124
- journal = {Journal of Interdisciplinary Mathematics},
125
- volume = {23},
126
- number = {2},
127
- pages = {321--333},
128
- year = {2020},
129
- doi = {10.1080/09720502.2020.1737377},
130
- url = {https://doi.org/10.1080/09720502.2020.1737377}
131
- }
132
- ```
133
-
134
- **Frequency Effects on Micro-Doppler (underpins extended dataset design):**
135
- ```bibtex
136
- @inproceedings{agnihotri2019frequency,
137
- author = {Agnihotri, Vikas and Sabharwal, Munish and Goyal, Vinay},
138
- title = {Effect of Frequency on Micro-Doppler Signatures of a Helicopter},
139
- booktitle = {2019 International Conference on Advances in Big Data,
140
- Computing and Data Communication Systems (icABCD)},
141
- year = {2019},
142
- doi = {10.1109/ICABCD.2019.8851024},
143
- url = {https://doi.org/10.1109/ICABCD.2019.8851024}
144
- }
145
- ```
146
-
147
- ## License
148
-
149
- MIT - free to use for research and commercial purposes with attribution.
150
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ <img src="assets/banner.jpg" alt="Radar Micro-Doppler AI Banner" width="100%"/>
4
+
5
+ <br/>
6
+
7
+ [![CI](https://github.com/bukac82/radar-microdoppler-ai/actions/workflows/ci.yml/badge.svg)](https://github.com/bukac82/radar-microdoppler-ai/actions)
8
+ [![Python](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12-blue?logo=python)](https://www.python.org/)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
10
+ [![PennyLane](https://img.shields.io/badge/quantum-PennyLane-blueviolet?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjgiIGZpbGw9IiM3QzNBRUQiLz48L3N2Zz4=)](https://pennylane.ai/)
11
+ [![PyTorch](https://img.shields.io/badge/deep_learning-PyTorch-EE4C2C?logo=pytorch)](https://pytorch.org/)
12
+ [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
13
+ [![HuggingFace Dataset](https://img.shields.io/badge/πŸ€—%20Dataset-MicroDopplerSignatures-orange)](https://huggingface.co/datasets/bukac82/MicroDopplerSignatures)
14
+
15
+ </div>
16
+
17
+ ---
18
+
19
+ ## πŸ›°οΈ What Is This?
20
+
21
+ **Radar Micro-Doppler AI** is a research-grade, end-to-end pipeline for classifying helicopter and multi-rotor drone types from their **micro-Doppler radar signatures** β€” the unique frequency modulation pattern created by rotating rotor blades.
22
+
23
+ The repository brings together **three paradigms of AI** on a single, unified dataset:
24
+
25
+ | Paradigm | Methods | Input |
26
+ |----------|---------|-------|
27
+ | **Classical ML** | SVM Β· Random Forest Β· XGBoost Β· k-NN | 14 hand-crafted physics features |
28
+ | **Quantum ML** | Quantum Kernel SVM Β· VQC (PennyLane) | 4-D PCA β†’ angle embedding |
29
+ | **Deep Learning** | ResNet CNN Β· Bi-LSTM Β· Spectrogram Transformer | STFT spectrograms / raw IQ |
30
+
31
+ Plus:
32
+ - πŸ”’ **Robustness Testing** β€” SNR sweeps (βˆ’5 to 30 dB), FGSM & PGD adversarial attacks
33
+ - πŸ” **Open-Set Recognition** β€” Energy-based OOD detection for unknown aerial targets
34
+ - πŸ’‘ **Explainability** β€” SHAP feature importance + Grad-CAM heatmaps
35
+
36
+ ---
37
+
38
+ ## πŸ“Š Benchmark Results
39
+
40
+ > Results on the held-out test set (20% of 5,000 samples), SNR ∈ [5, 25] dB.
41
+
42
+ | Model | Accuracy | Macro-F1 | ROC-AUC |
43
+ |-------|----------|----------|---------|
44
+ | SVM (RBF, C=10) | 0.9620 | 0.9619 | 0.9971 |
45
+ | Random Forest (n=200) | 0.9780 | 0.9780 | 0.9994 |
46
+ | XGBoost | 0.9740 | 0.9739 | 0.9991 |
47
+ | k-NN (k=7) | 0.9480 | 0.9479 | 0.9940 |
48
+ | **CNN (ResNet-style)** | **0.9870** | **0.9870** | **0.9998** |
49
+ | Bi-LSTM | 0.9810 | 0.9810 | 0.9996 |
50
+ | Spectrogram Transformer | 0.9830 | 0.9829 | 0.9997 |
51
+ | Quantum Kernel SVM (4q) | 0.8200 | 0.8192 | 0.9421 |
52
+ | VQC (4q, 2 layers) | 0.7867 | 0.7851 | 0.9108 |
53
+
54
+ > **Key insight**: The blade flash rate (`n_blades Γ— RPM / 60`) is the single most discriminative feature, directly readable from the STFT spectrogram as periodic vertical striations.
55
+
56
  ---
57
+
58
+ ## 🎯 Target Classes
59
+
60
+ ### 🚁 Helicopters
61
+
62
+ | Class | Helicopter | Blades | RPM | Blade Radius |
63
+ |-------|-----------|--------|-----|-------------|
64
+ | **2-blade** | Bell UH-1 (Huey) | 2 | 300–350 | 6.5–7.5 m |
65
+ | **3-blade** | AΓ©rospatiale Gazelle | 3 | 360–400 | 4.5–5.5 m |
66
+ | **4-blade** | Apache AH-64 / UH-60 Black Hawk | 4 | 250–300 | 7.0–8.5 m |
67
+
68
+ ### πŸ›Έ Drones (UAVs)
69
+
70
+ | Class | Type | Rotors | Blades/Rotor | RPM | Blade Radius | Reference |
71
+ |-------|------|--------|--------------|-----|--------------|-----------|
72
+ | **quadcopter** | Quadcopter | 4 | 2 | 4,000–8,000 | 7.5–12.5 cm | DJI Phantom / Mavic |
73
+ | **hexacopter** | Hexacopter | 6 | 2 | 2,000–4,000 | 20–35 cm | DJI Matrice 600 |
74
+ | **octocopter** | Octocopter | 8 | 2 | 1,500–3,000 | 25–45 cm | DJI S1000 |
75
+
76
  ---
77
 
78
+ ## πŸ—‚οΈ Project Structure
79
 
80
+ ```
81
+ radar-microdoppler-ai/
82
+ β”‚
83
+ β”œβ”€β”€ πŸ““ notebooks/
84
+ β”‚ β”œβ”€β”€ 01_EDA_and_Signal_Analysis.ipynb
85
+ β”‚ β”œβ”€β”€ 02_Classical_ML_Benchmark.ipynb
86
+ β”‚ β”œβ”€β”€ 03_Deep_Learning.ipynb
87
+ β”‚ └── 04_Quantum_ML.ipynb
88
+ β”‚
89
+ β”œβ”€β”€ πŸ“‘ Dataset/ ← Data generation & loading
90
+ β”œβ”€β”€ πŸ”§ Preprocessing/ ← STFT spectrograms, feature extraction
91
+ β”œβ”€β”€ πŸ€– Classical_ML/ ← SVM, RF, XGBoost, k-NN
92
+ β”œβ”€β”€ βš›οΈ Quantum_ML/ ← QK-SVM, VQC (PennyLane)
93
+ β”œβ”€β”€ 🧠 Deep_Learning/ ← CNN, LSTM, Transformer (PyTorch)
94
+ β”œβ”€β”€ πŸ›‘οΈ Robustness_Testing/ ← SNR sweep, FGSM/PGD attacks
95
+ β”œβ”€β”€ πŸ”“ Open_Set_Recognition/ ← Energy OOD, AUROC/OSCR metrics
96
+ β”œβ”€β”€ πŸ’‘ Explainability/ ← SHAP, Grad-CAM
97
+ β”œβ”€β”€ πŸ“ˆ Evaluation/ ← Unified benchmark & metrics
98
+ β”‚
99
+ β”œβ”€β”€ πŸ§ͺ tests/ ← Pytest unit tests
100
+ β”œβ”€β”€ πŸ“œ scripts/
101
+ β”‚ β”œβ”€β”€ download_data.py ← Dataset download / local generation
102
+ β”‚ └── run_full_pipeline.py ← End-to-end pipeline runner
103
+ β”‚
104
+ β”œβ”€β”€ pyproject.toml
105
+ β”œβ”€β”€ requirements.txt
106
+ └── CITATION.cff
107
+ ```
108
 
109
+ ---
110
 
111
+ ## ⚑ Quick Start
112
 
113
+ ### 1. Install
114
 
115
+ ```bash
116
+ git clone https://github.com/bukac82/radar-microdoppler-ai.git
117
+ cd radar-microdoppler-ai
 
118
 
119
+ pip install -e ".[all]" # everything: DL + QML + explainability
120
+ # or
121
+ pip install -e ".[dl]" # PyTorch only
122
+ pip install -e ".[qml]" # PennyLane only
123
+ ```
124
+
125
+ ### 2. Download the Dataset
126
 
127
+ ```bash
128
+ # Option A β€” HuggingFace Hub (recommended, ~8 GB total for all 4 datasets)
129
+ pip install huggingface-hub
130
+ python scripts/download_data.py
131
 
132
+ # Option B β€” Direct CLI
133
+ huggingface-cli download bukac82/MicroDopplerSignatures \
134
+ --repo-type dataset --local-dir .
 
 
135
 
136
+ # Option C β€” Generate locally
137
+ python scripts/download_data.py --source generate
138
+ ```
139
 
140
+ ### 3. Run the Full Pipeline
141
+
142
+ ```bash
143
+ python scripts/run_full_pipeline.py --nrows 5000
144
+ ```
145
+
146
+ ### 4. Explore Notebooks
147
+
148
+ ```bash
149
+ jupyter notebook notebooks/
150
+ ```
151
+
152
+ ---
153
+
154
+ ## πŸ““ Notebooks
155
+
156
+ | # | Notebook | Description |
157
+ |---|----------|-------------|
158
+ | 01 | [EDA & Signal Analysis](notebooks/01_EDA_and_Signal_Analysis.ipynb) | Dataset statistics, IQ signals, spectrograms, feature correlation |
159
+ | 02 | [Classical ML Benchmark](notebooks/02_Classical_ML_Benchmark.ipynb) | SVM / RF / k-NN training, confusion matrices, SHAP, SNR sweep |
160
+ | 03 | [Deep Learning](notebooks/03_Deep_Learning.ipynb) | CNN/LSTM/Transformer training curves, Grad-CAM visualization |
161
+ | 04 | [Quantum ML](notebooks/04_Quantum_ML.ipynb) | QK-SVM & VQC on 4-D PCA features, Classical vs Quantum comparison |
162
+
163
+ ---
164
+
165
+ ## πŸ”¬ Dataset
166
+
167
+ > πŸ€— **[bukac82/MicroDopplerSignatures](https://huggingface.co/datasets/bukac82/MicroDopplerSignatures)** β€” publicly available on HuggingFace Hub
168
+
169
+ Two physics-accurate synthetic datasets generated from the **sinc-based micro-Doppler model**:
170
+
171
+ | Dataset | Samples | Features | Size |
172
+ |---------|---------|----------|------|
173
+ | Base (`helicopter_microdoppler_dataset.csv`) | 100,000 | IQ @ 1 kHz, 0.5s window | ~2 GB |
174
+ | Extended (`helicopter_microdoppler_extended_dataset.csv`) | 100,000 | + varied radar freq (8–12 GHz), elevation (0–45Β°), bulk velocity (Β±50 m/s) | ~2 GB |
175
+
176
+ **Signal model** (Doppler from rotating blade):
177
 
178
  $$s_k(t) = L \cdot \text{sinc}\!\left(\frac{2L}{\lambda}\cos\phi_k\cos\beta\right) \exp\!\left(j\frac{4\pi L}{\lambda}\cos\phi_k\cos\beta\right)$$
179
 
180
+ where $\phi_k = \omega t + \theta_0 + \frac{2\pi k}{N_b}$ is the phase of the $k$-th blade, $L$ is the blade length, $\lambda$ is the radar wavelength, and $\beta$ is the elevation angle.
181
+
182
+ ```python
183
+ # Load directly in Python via HuggingFace datasets library
184
+ from datasets import load_dataset
185
+
186
+ ds = load_dataset("bukac82/MicroDopplerSignatures", split="train")
187
+ ```
188
+
189
+ ---
190
+
191
+ ## πŸ—οΈ Architecture Overview
192
+
193
+ ```
194
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
195
+ β”‚ Raw IQ Signal (500 Γ— complex) β”‚
196
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
197
+ β”‚
198
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
199
+ β–Ό β–Ό β–Ό
200
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
201
+ β”‚ Feature Extract β”‚ β”‚ STFT Spectrogram β”‚ β”‚ Raw IQ (I,Q) β†’ (T,2)β”‚
202
+ β”‚ (14-D vector) β”‚ β”‚ (33 Γ— 15 image) β”‚ β”‚ for LSTM β”‚
203
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
204
+ β”‚ β”‚ β”‚
205
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
206
+ β”‚ Classical ML β”‚ β”‚ CNN / Transformer β”‚ β”‚ Bi-LSTM β”‚
207
+ β”‚ SVM Β· RF Β· kNN β”‚ β”‚ (Deep Learning) β”‚ β”‚ (128 hidden) β”‚
208
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
209
+ β”‚ β”‚ β”‚
210
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
211
+ β–Ό
212
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
213
+ β”‚ Evaluation β”‚
214
+ β”‚ Robustness Test β”‚
215
+ β”‚ OSR Detection β”‚
216
+ β”‚ Explainability β”‚
217
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
218
+ ```
219
+
220
+ ---
221
+
222
+ ## βš›οΈ Quantum ML
223
+
224
+ The quantum pipeline reduces features to 4 dimensions via PCA, then:
225
+
226
+ - **QK-SVM**: Encodes features into quantum states via angle embedding; kernel computed as fidelity `|βŸ¨Ο†(x)|Ο†(x')⟩|Β²`
227
+ - **VQC**: Parameterized `StronglyEntanglingLayers` trained with Adam optimizer and cross-entropy loss
228
+
229
+ ```python
230
+ from Quantum_ML.qkernel_svm import QuantumKernelSVM
231
+
232
+ qksvm = QuantumKernelSVM(n_qubits=4, C=1.0)
233
+ qksvm.fit(X_train_scaled, y_train)
234
+ print(f"Quantum Kernel SVM accuracy: {qksvm.score(X_test_scaled, y_test):.4f}")
235
+ ```
236
+
237
+ ---
238
+
239
+ ## πŸ›‘οΈ Robustness Testing
240
+
241
+ ```python
242
+ from Robustness_Testing.noise_robustness import snr_sweep
243
+
244
+ # Sweep from -5 dB to 30 dB
245
+ results = snr_sweep(predict_fn, X_iq_test, y_test, snr_range=range(-5, 31, 5))
246
+ # {-5: 0.61, 0: 0.79, 5: 0.91, 10: 0.97, 15: 0.98, ...}
247
+ ```
248
+
249
+ ```python
250
+ from Robustness_Testing.adversarial import evaluate_adversarial
251
+
252
+ # FGSM attack at varying epsilon
253
+ adv_results = evaluate_adversarial(cnn_model, X_test, y_test,
254
+ epsilon_values=[0.001, 0.01, 0.05])
255
+ ```
256
+
257
+ ---
258
+
259
+ ## πŸ’‘ Explainability
260
+
261
+ **SHAP** (Classical ML):
262
+ ```python
263
+ from Explainability.shap_explainer import explain_with_shap, plot_shap_summary
264
+ shap_values = explain_with_shap(rf_model, X_train, X_test, model_type="tree")
265
+ plot_shap_summary(shap_values, X_test, model_name="random_forest")
266
+ ```
267
+
268
+ **Grad-CAM** (CNN):
269
+ ```python
270
+ from Explainability.gradcam import GradCAM
271
+ cam = GradCAM(cnn_model, target_layer=cnn_model.layer3)
272
+ heatmap = cam(spectrogram_tensor, class_idx=1) # highlights 3-blade freq bands
273
+ ```
274
+
275
+ ---
276
+
277
+ ## πŸ”“ Open-Set Recognition
278
+
279
+ Detects unknown aerial targets (drones, birds) not seen during training:
280
+
281
+ ```python
282
+ from Open_Set_Recognition.energy_ood import EnergyOODDetector
283
+ from Open_Set_Recognition.evaluate_osr import print_osr_report
284
+
285
+ detector = EnergyOODDetector(cnn_model, threshold=-25.0)
286
+ is_unknown = detector.predict(X_unknown) # True = reject as unknown
287
+
288
+ print_osr_report(id_energy_scores, ood_energy_scores)
289
+ # AUROC: 0.934 | FPR@95TPR: 0.127
290
+ ```
291
+
292
+ ---
293
+
294
+ ## 🀝 Contributing
295
+
296
+ Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
297
+
298
+ Ideas for contribution:
299
+ - 🚁 Add new helicopter classes (Chinook CH-47, V-22 Osprey)
300
+ - 🐦 Add drone / bird / UAV signatures for open-set testing
301
+ - πŸ“‘ Add Ka-band / W-band radar parameters
302
+ - πŸ”¬ Implement Integrated Gradients or LIME explainability
303
+ - βš›οΈ Implement Quantum Neural Networks with larger qubit counts
304
+
305
+ ---
306
+
307
+ ## πŸ“– Citation
308
+
309
+ If you use this project or dataset in your research, please cite the software repository and/or the relevant papers below:
310
+
311
+ ### Software Repository
312
+
313
+ ```bibtex
314
+ @software{agnihotri2026microdoppler,
315
+ author = {Agnihotri, Vikas},
316
+ title = {Radar Micro-Doppler AI: End-to-End Helicopter Classification
317
+ with Classical, Quantum, and Deep Learning},
318
+ year = {2026},
319
+ url = {https://github.com/bukac82/radar-microdoppler-ai},
320
+ license = {MIT}
321
+ }
322
+ ```
323
+
324
+ ### Related Papers
325
+
326
+ This repository builds upon the following peer-reviewed publications by the author:
327
+
328
+ **Quantum ML on NISQ Hardware** (most relevant to the `Quantum_ML/` module):
329
+ ```bibtex
330
+ @article{agnihotri2026quantum,
331
+ author = {Agnihotri, Vikas and Kaur, Jasleen and Kaushik, Sarvagya},
332
+ title = {Practical Evaluation of Quantum Kernel Methods for Radar
333
+ Micro-Doppler Classification on Noisy Intermediate-Scale
334
+ Quantum ({NISQ}) Hardware},
335
+ journal = {arXiv preprint},
336
+ volume = {arXiv:2601.22194},
337
+ year = {2026},
338
+ url = {https://arxiv.org/abs/2601.22194}
339
+ }
340
+ ```
341
+
342
+ **Radar-Based ATR Framework** (foundational signal model and SVM classifier):
343
+ ```bibtex
344
+ @article{agnihotri2020radar,
345
+ author = {Agnihotri, Vikas and Sabharwal, Munish},
346
+ title = {An Automatic Radar Based Aerial Target Recognition Framework},
347
+ journal = {Journal of Interdisciplinary Mathematics},
348
+ volume = {23},
349
+ number = {2},
350
+ pages = {321--333},
351
+ year = {2020},
352
+ doi = {10.1080/09720502.2020.1737377},
353
+ url = {https://doi.org/10.1080/09720502.2020.1737377}
354
+ }
355
+ ```
356
+
357
+ **Frequency Effects on Micro-Doppler** (radar frequency analysis underpinning the extended dataset):
358
+ ```bibtex
359
+ @inproceedings{agnihotri2019frequency,
360
+ author = {Agnihotri, Vikas and Sabharwal, Munish and Goyal, Vinay},
361
+ title = {Effect of Frequency on Micro-Doppler Signatures of a Helicopter},
362
+ booktitle = {2019 International Conference on Advances in Big Data,
363
+ Computing and Data Communication Systems (icABCD)},
364
+ year = {2019},
365
+ doi = {10.1109/ICABCD.2019.8851024},
366
+ url = {https://doi.org/10.1109/ICABCD.2019.8851024}
367
+ }
368
+ ```
369
+
370
+ ---
371
+
372
+ ## πŸ“š References
373
+
374
+ ### Author's Publications
375
+
376
+ 1. Agnihotri, V., Kaur, J., & Kaushik, S. (2026). *Practical Evaluation of Quantum Kernel Methods for Radar Micro-Doppler Classification on NISQ Hardware*. [arXiv:2601.22194](https://arxiv.org/abs/2601.22194)
377
+ 2. Agnihotri, V., & Sabharwal, M. (2020). *An automatic radar based aerial target recognition framework*. Journal of Interdisciplinary Mathematics, 23(2), 321–333. [DOI: 10.1080/09720502.2020.1737377](https://doi.org/10.1080/09720502.2020.1737377)
378
+ 3. Agnihotri, V., Sabharwal, M., & Goyal, V. (2019). *Effect of frequency on micro-Doppler signatures of a helicopter*. 2019 International Conference on Advances in Big Data, Computing and Data Communication Systems (icABCD). [DOI: 10.1109/ICABCD.2019.8851024](https://doi.org/10.1109/ICABCD.2019.8851024)
379
+
380
+ ### Background Literature
381
+
382
+ 4. Chen, V.C., Li, F., Ho, S.S., & Wechsler, H. (2006). *Micro-Doppler effect in radar: phenomenon, model, and simulation study*. IEEE TAS.
383
+ 5. Molchanov, P., et al. (2015). *Classification of small UAVs and birds by micro-Doppler signatures*. IET Radar.
384
+ 6. Bendale, A., & Boult, T.E. (2016). *Towards open set deep networks (OpenMax)*. CVPR.
385
+ 7. Liu, W., et al. (2020). *Energy-based out-of-distribution detection*. NeurIPS.
386
+ 8. Schuld, M., & Petruccione, F. (2021). *Machine Learning with Quantum Computers*. Springer.
387
+
388
+ ---
389
+
390
+ <div align="center">
391
+ <sub>Made with ❀️ for the radar signal processing and AI community</sub>
392
+ </div>