Giter Site home page Giter Site logo

jumabek / net_intrusion_detection Goto Github PK

View Code? Open in Web Editor NEW
35.0 4.0 14.0 2.67 MB

Network intrusion detection with Machine Learning (Deep Learning) experiment : 1d-cnn, softmax, neural networks, convolution

Jupyter Notebook 94.88% Python 5.12%
network intrusion detection machine learning 1d-cnn neural-network softmax deep-learning pytorch convolutional-neural-networks deeplearning cnn machine-learning networking network-monitoring flow

net_intrusion_detection's Introduction

Deep Learning based network intrusion detection in PyTorch

Net intrusion detection experiment for Final Project of DeepLearning class at Inha University.

Contributions

  1. Correct Evaluation Metric
  2. Adressing data imblance
  3. Benchmark results for different ML models
  4. Running code for training/evaluating

Accompanying slides

https://docs.google.com/presentation/d/1Rjj1vF0hv8vSJWeDxk23nE4A4w3fv8tBdvsyIBpWTdU/edit?usp=sharing

Model Performance using K-Fold Cross-Validation

Classifier 5-Fold Balanced Accuracy
Content Linear Softmax 76.27
Neural Network with 3 dense layer 85.73
Neural Network with 5 dense layer 85.63
1D-CNN with 2conv 1fc layer 87.13
CNN with 5conv layer 87.16
Random Forest 80.09

Softmax

Please run the Softmax.ipynb

NN

Please run the NN.ipynb There are two NN architectures:

  1. 'nn3' - 3 layers
  2. 'nn5' - 5 layers

1D-CNN

Please run the CNN.ipynb There are two 1D-CNN architectures:

  1. 'cnn2' - 2 conv layers
  2. 'cnn5' - 5 conv layers

net_intrusion_detection's People

Contributors

akiyomov avatar jumabek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.