This ML project detects anomalies in network traffic using supervised ml techniques.
117
1. Pull the Docker image
docker pull sabafraz/network_anomaly_detection_machine_learning:1.0
2. Run the Flask app
docker run -p 5000:5000 sabafraz/network_anomaly_detection_machine_learning:1.0
This project focuses on detecting anomalies and malicious activities in network traffic using Machine Learning techniques.The model can classify network traffic as normal or attack-related.
Network traffic data 59410 samples from UNSW_NB15ā
1. Data Preprocessing Handled missing and inconsistent values
Converted boolean values to numerical format
Applied encoding techniques for categorical features:
Target Encoding to 'Proto' column
One-Hot Encoding to Other Categorical Columns
Applied scaling/normalization for numerical stability
2. Machine Learning Models
The project implements and compares multiple ensemble models:
Logistic Regression
Random Forest
Gradient Boosting
XGBoost
Gradient Boosting
3. Model Evaluation
Evaluated model performance using:
Accuracy
Confusion Matrix
Classification Report
Verified correct handling of unseen or missing features
Best Model: Random Forest
Accuracy: 1.0
ROC-AUC: 1.0
Random Forest - Confusion Matrix:
[[10262 0]
[ 0 7561]]
Developed by Saba Faraz
š§ Email: [email protected]ā
Content type
Image
Digest
sha256:7bc4bb5f0ā¦
Size
179.7 MB
Last updated
9 months ago
docker pull sabafraz/network_anomaly_detection_machine_learning:1.0