Unsupervised K-Means clustering (k=4) on 5,848 hourly CAMS observations across Greater Cairo, capturing photochemical smog, maritime flow, and thermal inversion dynamics.
Standardized Z-Score space comparing the 4 atmospheric clusters
Annual occurrence frequency across 2023–2024
| Feature | Cluster 0 (Smog) | Cluster 1 (Marine) | Cluster 2 (Inversion) | Cluster 3 (Dispersive) | Mean Baseline |
|---|---|---|---|---|---|
| Temperature (°C) | 31.10 | 24.10 | 15.37 | 17.07 | 22.78 |
| Tropospheric Ozone O3 (µg/m³) | 102.58 | 56.99 | 21.66 | 60.28 | 66.13 |
| Carbon Monoxide CO (µg/m³) | 160.72 | 203.03 | 376.22 | 195.54 | 212.25 |
| Nitrogen Dioxide NO2 (µg/m³) | 8.33 | 17.01 | 41.70 | 17.80 | 18.13 |
| Fine Particulates PM2.5 (µg/m³) | 18.55 | 18.84 | 30.08 | 14.97 | 19.12 |
| Coarse Dust PM10 (µg/m³) | 53.19 | 39.57 | 54.87 | 32.16 | 43.28 |
| Wind Speed (m/s) | 4.28 | 2.33 | 1.79 | 3.24 | 3.08 |
| Dew Point (°C) | 11.20 | 16.84 | 8.08 | 8.05 | 11.40 |
| Surface Pressure (hPa) | 998.59 | 999.52 | 1006.55 | 1006.84 | 1002.41 |
Empirical validation comparing the published paper (MATLAB) with our Python scikit-learn replication (Notebook Cell 61).
| Validation Metric | Published Paper (MATLAB) | Our Python Replicate | Delta | Status |
|---|---|---|---|---|
| K-Means Clusters (k) | 4.00 | 4.00 | 0.00 | Exact Match |
| K-Means Silhouette Score | 0.3880 | 0.2029 | -0.1851 | Scikit-learn vs MATLAB variant |
| K-Means Calinski-Harabasz | 2099.80 | 1681.31 | -418.49 | Consistent 4-cluster peak topology |
| Decision Tree Test Accuracy | 93.10% | 86.72% | -6.38% | High Agreement (Depth 90) |
| Random Forest (300 Trees) | 97.43% | 92.19% | -5.24% | Robust Generalization |
| Random Forest Peak Accuracy | 97.49% (450 trees) | 92.31% (400 trees) | -5.18% | Convergence Plateau |
| Temporal Robustness (ARI 2023 ➔ 2024) | 0.8260 | 0.8320 | +0.0060 | Exceeds Paper Baseline |
Temperature and Ozone dominate regime classification over 40% combined weight
Test accuracy: 92.19% across 1,755 stratified test instances
Enter environmental and meteorological parameters to predict the active atmospheric pollution regime in Greater Cairo.
Governed by strong solar insolation and extreme summer temperatures driving high tropospheric Ozone.
Elevated respiratory risk during afternoon hours. Sensitive groups should avoid prolonged outdoor physical exertion.