Skip to content

论文Encrypted Traffic Classification with One-dimensional Convolution Neural Networks的torch实现

Notifications You must be signed in to change notification settings

lulu-cloud/Pytorch-Encrypted-Traffic-Classification-with-1D_CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

关于分类

  • 分类类别:依次是2 6 12 分类问题,类别如下
dict_2class = {0:'Novpn',1:'Vpn'}
dict_6class_novpn = {0:'Chat',1:'Email',2:'File',3:'P2p',4:'Streaming',5:'Voip'}
dict_6class_vpn = {0:'Vpn_Chat',1:'Vpn_Email',2:'Vpn_File',3:'Vpn_P2p',4:'Vpn_Streaming',5:'Vpn_Voip'}
dict_12class = {0:'Chat',1:'Email',2:'File',3:'P2p',4:'Streaming',5:'Voip',6:'Vpn_Chat',7:'Vpn_Email',8:'Vpn_File',9:'Vpn_P2p',10:'Vpn_Streaming',11:'Vpn_Voip'}

关于数据来源

  这里是直接使用论文作者给出的预处理好的数据,处理工具原始文章的仓库也以及给出

使用

  • 运行1d_cnn/cnn_1d_torch进行12分类
  • 修改29-36行换数据集
  • 修改26行的label_num变量与38行更换任务

1d_cnn/cnn_1d_tensorflow是原文代码,这里并没有调试,供参考

原文代码: https://github.com/mydre/wang-wei-s-research

博客地址: 烟玉蓝田的博客-加密流量分类torch实践1:1D-CNN模型训练与测试

About

论文Encrypted Traffic Classification with One-dimensional Convolution Neural Networks的torch实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages