network_anomaly_detection_final

The code loads and preprocesses a network activity dataset, converts numeric columns to integers, encodes non-numeric columns, splits the data, scales features, trains a Random Forest classifier, evaluates it, predicts attack statuses on the test set, and saves the predictions to a CSV file.

7/5/2024
31 views

Tags:  

#machine-learning