Skip to content
/ ml-ids Public

Code for our bachelor's thesis, "Intusion Detection in Imbalanced and Evolving Data Streams"

License

Notifications You must be signed in to change notification settings

rswc/ml-ids

Repository files navigation

ML - Intrusion Detection System

  • analyze.py: Extract information from all_days.csv
  • example.py: Example usage with riverml api

CICIDS2017

Dataset used inside repository is the improved version of the CICIDS2017 dataset which can be found below:

After downloading dataset, all days can be merged into one dataset using preprocess_cicids.py. It also creates _noatt version which combines all attempted attacks into BENIGN class (which is currently used by CICIDS2017 class).

All files are by default located inside cicids2017 directory in project root. This setting can be overriten using CICIDS2017 class default value or by changing directory passed to the __init__.

Default structure of the CICIDS dataset files is shown below

cicids2017/
├─ days/
│  ├─ friday.csv
│  ├─ monday.csv
│  ├─ thursday.csv
│  ├─ tuesday.csv
│  ├─ wednesday.csv
├─ all_days.csv
├─ all_days_noatt.csv
├─ all_days_noatt_idx=200_n=4000.csv
├─ all_days_idx=4000_n=4000.csv

About

Code for our bachelor's thesis, "Intusion Detection in Imbalanced and Evolving Data Streams"

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages