Skip to content

dendyikbc/kdd99-cnn-1

Repository files navigation

kdd99-cnn-1

Intrusion Detection Based on Convolutional Neural Network with Kdd99 Data Set

tensorflow:1.12 python:3.6

Schematic Diagram

Intrusion detection architecture:

fig1

An example of data processing for KDDCUP.99 data set:

fig2

The basic structure of the convolutional network:

fig3

Source code description

handle5label.py is the source code to process train data(kddcup.data_10_percent_corrected) & test data(corrected).

data set download link:KDD Cup 1999 Data.

cnn_5label.pyis the source code to train CNN.

cnn_test5_label.pyis the source code to test CNN,and count and output each type of classification and fuzzy matrix, in the form as follow:一次结果

maybe the matrix or CNN was confused, so i called it confused matrix, not fuzzy matrix in code.

and u need to take some concentrated time to adjust the parameters of the model to solve the problem about imbalance in kdd99 data set. the former result is adjusted by simple oversampling and downsampling. there is a better one in test:

MATRIX

there are something wrong in kdd99 data set,just like the place marked by red circle. http is true,not icmp. u can find some other problem by handle5label.py

捕获

About

Intrusion Detection Based on Convolutional Neural Network with kdd99 data set

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages