DDoS Detection BI

ML / DL analysis · SDN flow dataset · connected to your DDOS.PY pipeline

Live analysis snapshot
Total flows

104,345

22 numeric features

DDoS share

39.1%

40,784 attack flows

Best model

Random Forest

100.0% accuracy · 0% FPR

Test set

20,869

20% holdout · seed 42

Class distribution

Benign vs DDoS across 104,345 SDN flows

Benign

63,561

60.9%

DDoS

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

7 models · sklearn + Keras

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

Accuracy100.0%
F1-Score100.0%
Recall100.0%
FPR0.0%

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

FeatureBenignDDoS
pktcount36,11378,962
bytecount27.3 MB55.1 MB
dur344287
flows6.084.98
pktrate195239
pktperflow5,8617,194

Traffic by OpenFlow switch

Benign / DDoS volume across switches 1–10

Model leaderboard

Ranked by accuracy · FPR shown for operational risk

#ModelAccF1FPRTime
1Random Forest100.0%100.0%0.0%15.2s
2Decision Tree100.0%100.0%0.0%3.8s
3MLP99.5%99.3%0.6%89.3s
4CNN99.0%99.0%1.0%128.5s
5KNN97.5%96.8%2.0%22.1s
6Logistic Regression78.3%66.8%16.7%1.5s
7Naive Bayes68.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.