NETWORK ACTIVITY ANOMALY DETECTION

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/3/2024
17 views

Tags:  

#machine-learning