104,345
22 numeric features
39.1%
40,784 attack flows
Random Forest
100.0% accuracy · 0% FPR
20,869
20% holdout · seed 42
Class distribution
Benign vs DDoS across 104,345 SDN flows
63,561
60.9%
40,784
39.1%
Protocol × attack label
Which protocols carry the most DDoS traffic
Model performance comparison
Accuracy, Precision, Recall, F1, FPR — from your DDOS.PY evaluation table
Model drill-down
Select a model to inspect confusion matrix & radar profile
Confusion matrix · Ensemble
TN
12,722
FP
0
FN
0
TP
8,147
Training time (seconds)
Compute cost vs accuracy trade-off
Top feature importances
Random Forest · relative contribution to splits
Top DDoS source IPs
Highest volume attackers in the labeled dataset
Feature means · Benign vs DDoS
Attack flows push higher packet/byte rates; duration slightly shorter
| Feature | Benign | DDoS |
|---|---|---|
| pktcount | 36,113 | 78,962 |
| bytecount | 27.3 MB | 55.1 MB |
| dur | 344 | 287 |
| flows | 6.08 | 4.98 |
| pktrate | 195 | 239 |
| pktperflow | 5,861 | 7,194 |
Traffic by OpenFlow switch
Benign / DDoS volume across switches 1–10
Model leaderboard
Ranked by accuracy · FPR shown for operational risk
| # | Model | Acc | F1 | FPR | Time |
|---|---|---|---|---|---|
| 1 | Random Forest | 100.0% | 100.0% | 0.0% | 15.2s |
| 2 | Decision Tree | 100.0% | 100.0% | 0.0% | 3.8s |
| 3 | MLP | 99.5% | 99.3% | 0.6% | 89.3s |
| 4 | CNN | 99.0% | 99.0% | 1.0% | 128.5s |
| 5 | KNN | 97.5% | 96.8% | 2.0% | 22.1s |
| 6 | Logistic Regression | 78.3% | 66.8% | 16.7% | 1.5s |
| 7 | Naive Bayes | 68.1% | 45.8% | 27.6% | 0.8s |
Key findings
Synthesized from your analysis paper & pipeline outputs
- Random Forest & Decision Tree achieve perfect classification on the held-out test set (20,869 flows).
- MLP and CNN deliver near-perfect accuracy (99%+) with slightly higher training cost.
- UDP carries the highest share of DDoS flows; ICMP is mostly benign.
- DDoS flows show ~2.2× packet counts and ~2× byte volume vs benign traffic.
- Naive Bayes underperforms (68.1% accuracy, 27.6% FPR) — poor fit for this feature space.
- Tree ensembles train in seconds while CNN needs ~2 minutes for comparable recall gains.