Skip to content

srijan-lamichhane/IntrusionVigor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntrusionVigor

IntrusionVigor is a machine learning-based intrusion detection system designed to preprocess data, train various models, and evaluate their performance. This project aims to enhance network security by leveraging advanced machine learning techniques.

Table of Contents

Project Abstract

IntrusionVigor aims to empower network security by utilizing machine learning algorithms for intrusion detection. The system preprocesses network data, trains multiple machine learning models including K-Nearest Neighbors, Random Forest, Support Vector Machine, and Gradient Boosting Machine, and evaluates their effectiveness. This project provides a user-friendly command-line interface to facilitate the preprocessing, training, and evaluation processes, making it easier to integrate and deploy advanced intrusion detection capabilities.

Prerequisites

Ensure you have the following installed on your machine:

  • Python 3.6 or higher
  • Git

Installation For Linux

Follow these steps to set up the project:

  1. Clone the repository:
    git clone https://github.com/srijan-lamichhane/IntrusionVigor.git
    cd IntrusionVigor
  2. Copy the .env.example to .env:
     cp .env.example .env
  3. Create a virtual environment:
     python -m venv _venv
  4. Activate virtual environment _venv and .env file:
    source _venv/bin/activate
    source .env
  5. Install the required packages:
    pip install -r requirements.txt
  6. Install the package:
    python setup.py install

Installation For Windows

  1. Clone the repository:

    git clone https://github.com/srijan-lamichhane/IntrusionVigor.git
    cd IntrusionVigor
  2. Install virtual Environment:

     pip install virtualenv
  3. create virtual Environment:

     virtualenv _venv
  4. Activate virtual Environment:

     _venv/scripts/activate
  5. set PYTHONPATH environment variable:

    $env:PYTHONPATH = "$env:PYTHONPATH;$PWD"
  6. Install the required packages:

    pip install -r requirements.txt
  7. Install the package:

    python setup.py install

Usage

Once the installation steps are completed, you can run the program using the following command:

main

This will start the Intrusion Detection System menu where you can choose various options to preprocess data, train models, and evaluate them.

Commands

Here are the available commands in the menu:

  1. Exit: Exit the program.
  2. Open Data Visualization Notebook: Open the Jupyter Notebook for data visualization.
  3. Preprocess Data: Prepare the data for training.
  4. Train Scalar Model: Train the scaler model for data normalization.
  5. Train KNN Model: Train the K-Nearest Neighbors model.
  6. Train Random Forest Model: Train the Random Forest model.
  7. Train SVM Model: Train the Support Vector Machine model.
  8. Train GBM Model: Train the Gradient Boosting Machine model.
  9. Evaluate KNN Model: Evaluate the K-Nearest Neighbors model.
  10. Evaluate Random Forest Model: Evaluate the Random Forest model.
  11. Evaluate SVM Model: Evaluate the Support Vector Machine model.
  12. Evaluate GBM Model: Evaluate the Gradient Boosting Machine model.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •