To run the notebook one can either prefer using Google Colab the better method or run the notebook locally.
For running the notebook locally, follow the steps [Windows]:
- Clone the repository using
git clone https://github.com/Namratha2301/IntrusionDetection.git
- Set directory to cloned repo
cd IntrusionDetection
- Create a python virtual environment for the project using
python -m venv env
- Activate the environment using
env\Scripts\activate
- Install the dependencies using
pip install -r requirements.txt
- Open the Jupyter Notebook IDE using
jupyter notebook
- The Jupyter Notebook IDE should open up allowing you to run the file
S.No | Model | Package | Score |
---|---|---|---|
1 | Random Forest | SciKit-Learn | 99.5% |
2 | Support Vector Machine | SciKit-Learn | 98.2% |
3 | Logistic Regression | SciKit-Learn | 93.7% |
4 | Gaussian Naive Bayes | SciKit-Learn | 88% |
5 | Gradient Boosting | SciKit-Learn | 99.1% |
6 | Multi-Layer Perceptron | SciKit-Learn | 99.2% |
7 | Decision Tree | SciKit-Learn | 92.4% |