Overview
Accuracy is a misleading metric when the attack you care about is 0.07% of the traffic. This study runs an 18-experiment grid: two tasks (binary and multiclass), three models (LR, RF, XGBoost), and three imbalance strategies (none, class weighting, SMOTE). It includes explicit rare-class analysis on Worms and Shellcode, reports macro-F1, ROC-AUC, and G-Mean, and fits preprocessing only on training data to prevent leakage. The resulting paper is under peer review.