vatsalgupta13/Network-Intrusion-Detection-using-Machine-Learning
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
NETWORK INTRUSION DETECTION USING MACHINE LEARNING 1) First install python 3.x along within a python IDE. It is encouraged to download spyder IDE since that's the IDE we have used to write and run the code 2) Download the dataset from https://www.unb.ca/cic/datasets/nsl.html. It is freely avalaible. In case of any issues from this website, download this dataset from Kaggle - https://www.kaggle.com/hassan06/nslkdd. [Dataset has also been provided in the 'Dataset' folder] Note: For the purposes of our code: there is no need for csv files, txt files will work. Only KKDtest.txt , KDDtrain.txt files are needed. 3) Set the working directory as the location of the folder containing the dataset. 4) Install the required modules using pip installer on anaconda prompt(if spyder installed on anaconda environment) or else on terminal/cmd (if python has been installed separately). 5) Open the code file - Network Intrusion Detection using Machine Learning.py. Run the code at once or run the code in sections to understand the working of each part of the code. This code can also be run with the jupyter notebook. 6) The code is properly commented for better understanding.