Git Product home page Git Product logo

nids_kdd_nsl's Introduction

Readme

01 Data_preprocess 数据预处理

01Data_preprocess.py文件对数据进行了预处理

  1. 去除了第43列(难度等级,与学习无用),给各列加上了列头,将22种攻击类型映射为5大类攻击
  2. 对源数据中的非数字变量进行了独热编码, 将41维特征化为122维特征,1维outputs化为5维label具体为第2列protocol_type、第3列service、第4列flag、第42列label
  3. 将其余38列数据归一化,归一化方法为最大最小值

测试实现CNN

nids_kdd_nsl's People

Contributors

z-patar avatar

Watchers

Kostas Georgiou 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.