Giter Club home page Giter Club logo

yashwanth-javvaji / intrusion-detection-system Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 5.63 MB

This project is a network intrusion detector that uses machine learning algorithms to distinguish between bad (intrusions/attacks) and good (normal) connections. The UI is built using Flask framework and the KDD Cup 1999 dataset is used for training. Python, Flask, and Scikit-learn are the main technologies used in this project.

Procfile 0.01% Python 2.39% Jupyter Notebook 91.41% JavaScript 0.04% CSS 0.21% HTML 5.95%
classification-models flask machine-learning scikit-learn numpy pandas

intrusion-detection-system's Introduction

Network Intrusion Detection

This project is a network intrusion detector, a predictive model built to distinguish between bad connections (intrusions/attacks) and good (normal) connections. The dataset used is KDD Cup 1999 dataset and various machine learning algorithms have been used to train the model. The UI has been developed using flask framework.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3
  • Required Libraries : pandas, numpy, sklearn, flask, pickle

Installing

  • Clone the repository
    git clone https://github.com/<username>/network-intrusion-detection.git
  • Install the required libraries
    pip install -r requirements.txt
  • Run the app
    python app.py

Built With

intrusion-detection-system's People

Contributors

yashwanth-javvaji avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

intrusion-detection-system's Issues

Can you help me to build the system

Hello, i git clone then repo into my desktop( it's os version is ubuntu20.04), then pip3 install the requirements.txt, but when i execute the "python app.py", it report a wrong msg.

ttributeError: 'NoneType' object has no attribute 'replace'

So,could you share me your baseOS env,and how to setup system in details.

Thanks

Can please help me out with the db connection. Thank in advance.

File "app.py", line 8, in <module>
    app = create_app()
  File "C:\Users\chiru\OneDrive\Desktop\Intrusion-Detection-main\website\__init__.py", line 9, in create_app
    app.config.from_object("config.DevelopmentConfig")
  File "C:\Users\chiru\OneDrive\Desktop\Intrusion-Detection-main\.venv\lib\site-packages\flask\config.py", line 161, in from_object
    obj = import_string(obj)
  File "C:\Users\chiru\OneDrive\Desktop\Intrusion-Detection-main\.venv\lib\site-packages\werkzeug\utils.py", line 865, in import_string
    __import__(import_name)
  File "C:\Users\chiru\OneDrive\Desktop\Intrusion-Detection-main\config.py", line 3, in <module>
    class Config(object):
  File "C:\Users\chiru\OneDrive\Desktop\Intrusion-Detection-main\config.py", line 8, in Config
    raise ValueError("No DATABASE_URL set for SQLAlchemy database")
ValueError: No DATABASE_URL set for SQLAlchemy database

Please help me with the database connectivity, even after setting the env I'm not able to connect it. Please help me!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.