Aegis-Vanguard
Detecting network attacks and identifying rare attack classes.
I designed a two-stage pipeline on a dataset of more than 2.8 million network-traffic records. The first model asks whether traffic belongs to an attack. The second distinguishes 12 attack classes, answering a more specific question about the traffic flagged by detection.
Measuring rare classes
An overall score can hide missed attacks in underrepresented classes. I compared SMOTE, cost-sensitive weighting, and Balanced Random Forest against an XGBoost baseline. Minority-class attack recall reached over 86%. Recall measures the share of actual attacks in the evaluated class that the model identified.