Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fidaear/detect-DDOS-using-Machine-Learning

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 DDoS Attack Detection using Machine Learning

This project uses supervised Machine Learning algorithms to detect DDoS (Denial of Service) attacks in Wireless Sensor Networks (WSNs). The goal is to distinguish between normal and malicious traffic using classification models.

📊 Dataset

  • WSN-DS dataset
  • Contains labeled data for normal and DDoS traffic
  • Features include packet length, time intervals, and other network metrics

⚙️ Algorithms Used

  • ✅ Random Forest
  • ✅ Logistic Regression
  • ✅ Neural Networks

Each model is trained and evaluated to compare accuracy and performance.

🧠 Main Steps

  1. Data Preprocessing
    • Cleaning, feature selection, and normalization
  2. Model Training
    • Train ML models on training data
  3. Evaluation
    • Test accuracy, confusion matrix, and F1-score
  4. Prediction
    • Detect whether incoming traffic is normal or an attack

📁 Project Structure

│ ├── data/ # WSN-DS dataset files ├── models/ # Trained models (optional) ├── src/ # Python source code │ ├── preprocessing.py │ ├── train.py │ ├── evaluate.py │ └── predict.py ├── results/ # Accuracy reports, confusion matrices ├── README.md └── requirements.txt # Python dependencies

Morty Proxy This is a proxified and sanitized view of the page, visit original site.