Datasets:
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,150 +1,392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
| `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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 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 |
-
#
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 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 |
+
[](https://github.com/bukac82/radar-microdoppler-ai/actions)
|
| 8 |
+
[](https://www.python.org/)
|
| 9 |
+
[](LICENSE)
|
| 10 |
+
[](https://pennylane.ai/)
|
| 11 |
+
[](https://pytorch.org/)
|
| 12 |
+
[](https://github.com/astral-sh/ruff)
|
| 13 |
+
[](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>
|