Skip to content

Jupyter notebooks for analyzing the CICIDS 2017 dataset, to download data, EDA, and training various classification models and deep learning architectures.

License

Notifications You must be signed in to change notification settings

WalkingDevFlag/CICIDS-2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CICIDS 2017 Repository

Overview

This repository contains Jupyter notebooks designed for analyzing the CICIDS 2017 dataset, which focuses on intrusion detection. The notebooks provide a comprehensive framework for data exploration, preprocessing, and machine learning model training.

Features

  • Dataset Download: Automates the retrieval of the CICIDS 2017 dataset.
  • Exploratory Data Analysis (EDA): Provides insights into data distributions and patterns.
  • Model Training:
    • Binary Classification: Logistic Regression and Support Vector Machine.
    • Multi-Class Classification: K-Nearest Neighbors, Random Forest, Decision Tree.
    • Deep Learning: Multi-Layer Perceptron, Convolutional Neural Network, Deep Neural Network for both binary and multi-class tasks.

Usage

Clone the repository and open the Jupyter notebooks to start analyzing the dataset. Follow the instructions within each notebook to execute the code and interpret the results.

Setting Up the Conda Environment

To set up a Conda environment for working with the CICIDS 2017 dataset, follow these steps:

  1. Create a new Conda environment:

    conda create -n cicids python=3.9
  2. Activate the environment:

    conda activate cicids
  3. Install necessary libraries:

    pip install numpy pandas seaborn matplotlib scikit-learn tensorflow
  4. Install additional packages:

    pip install missingno imbalanced-learn wget
  5. Install Jupyter Notebook:

    pip install jupyter notebook
  6. Install IPython kernel for Jupyter:

    pip install ipykernel
  7. Add the Conda environment to Jupyter Notebook:

    python -m ipykernel install --user --name=cicids

Requirements

Ensure you have the necessary libraries installed, such as pandas, numpy, seaborn, missingno, imbalanced-learn, scikit-learn, and tensorflow or keras for deep learning models.

References

  1. CICIDS Dataset: CICIDS 2017 Machine Learning Repository
  2. Data Preprocessing: Data Preprocessing Notebook
  3. DNN and Preprocessing: DNN and Preprocessing Repository
  4. Intrusion Detection: Intrusion Detection Notebook
  5. Dataset Preprocessing: CICIDS 2017 ML Preprocessing
  6. Autoencoder: Autoencoder Model for CICIDS 2017
  7. Data Cleaning and Random Forest: CICIDS 2017 Data Cleaning

License

This project is licensed under the MIT License.

About

Jupyter notebooks for analyzing the CICIDS 2017 dataset, to download data, EDA, and training various classification models and deep learning architectures.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published