As cyber threats become increasingly complex, machine learning-based Intrusion Detection Systems (IDS) are crucial for network security. This study compares the performance of Support Vector Machine (SVM) and Extreme Gradient Boosting (XGBoost) using a classic dataset (NSL-KDD) and a modern dataset (UNSW-NB15). The methodology encompasses exploratory data analysis, data preprocessing, baseline …