Giter Site home page Giter Site logo

Comments (5)

sakurachiyuki avatar sakurachiyuki commented on May 25, 2024

BTW,用您给的20类数据则不会有准确率低的情况,故此推测是数据处理流程有误、

step 0, train accuracy 0.08
step 2000, train accuracy 0.76
step 4000, train accuracy 0.84
step 6000, train accuracy 0.84
step 8000, train accuracy 0.94
step 10000, train accuracy 0.86

2021-01-05 14:23:09
DATA_DIR: /PUBLIC/sakura/echowei-deeptraffic/sakurachiyuki-DeepTraffic-master/DeepTraffic/1.malware_traffic_classification/3.PreprocessedResults/20class/SessionL7
0, aimchat, 0.7780487804878049, 0.42533333333333334
1, AIM_Chat, 0.9983333333333333, 0.9983333333333333
2, browsing, 0.9904306220095693, 0.9825949367088608
3, browsing2-1, 0.7841726618705036, 0.21330724070450097
4, browsing2-2, 0.9871428571428571, 0.9829302987197724
5, browsing2, 0.4538152610441767, 0.9064171122994652
6, browsing_ara, 0.9983606557377049, 1.0
7, browsing_ara2, 0.9665178571428571, 0.7959558823529411
8, browsing_ger, 0.8113207547169812, 0.9409190371991247
9, Email_IMAP_filetransfer, 0.9986824769433466, 0.9986824769433466
10, AUDIO_spotifygateway, 0.9939393939393939, 1.0
11, AUDIO_tor_spotify, 0.9931506849315068, 0.866965620328849
12, AUDIO_tor_spotify2, 0.7891472868217054, 0.8554621848739495
13, BROWSING_gate_SSL_Browsing, 0.9551656920077972, 0.98989898989899
14, BROWSING_ssl_browsing_gateway, 0.6893004115226338, 0.7957244655581948
15, BROWSING_tor_browsing_ara, 0.9786476868327402, 0.912106135986733
16, BROWSING_tor_browsing_ger, 0.9763860369609856, 0.9926931106471816
17, BROWSING_tor_browsing_mam, 0.9905992949471211, 0.991764705882353
18, BROWSING_tor_browsing_mam2, 0.7302752293577982, 0.6482084690553745
19, CHAT_aimchatgateway, 0.9832402234636871, 0.9328621908127208
Total accuracy: 0.8694934

from deeptraffic.

sakurachiyuki avatar sakurachiyuki commented on May 25, 2024

还有就是分类标签是我后来改了的,不过应该是不影响训练测试运行的

dict_20class = {0:'aimchat',1:'AIM_Chat',2:'browsing',3:'browsing2-1',4:'browsing2-2',
                       5:'browsing2',6:'browsing_ara',7:'browsing_ara2',8:'browsing_ger',9:'Email_IMAP_filetransfer',
                   10:'AUDIO_spotifygateway',11:'AUDIO_tor_spotify',12:'AUDIO_tor_spotify2',13:'BROWSING_gate_SSL_Browsing',
                    14:'BROWSING_ssl_browsing_gateway',15:'BROWSING_tor_browsing_ara',16:'BROWSING_tor_browsing_ger',
                    17:'BROWSING_tor_browsing_mam',18:'BROWSING_tor_browsing_mam2',19:'CHAT_aimchatgateway'
               
               }

from deeptraffic.

shathil avatar shathil commented on May 25, 2024

@sakurachiyuki, I am having issues with the input_data on OSX. how did you solve that problem?

from deeptraffic.

jeevan-thapa avatar jeevan-thapa commented on May 25, 2024

@sakurachiyuki, I am having issues with the input_data on OSX. how did you solve that problem?

Is it saying that there's no input_data or so? Can you elaborate. I got into a similar issue and found out that the file paths were not correct. You may need to check on that.

from deeptraffic.

shathil avatar shathil commented on May 25, 2024

@jeevan-thapa thanks. I was having issues with the input_data.py. The initial error was like import not found. Then I downloaded it from somewhere. Now that error is gone. Now I am having issues like the following

labels_one_hot.flat[index_offset + labels_dense.ravel()] = 1
IndexError: index 32440 is out of bounds for size 32440

There are also other deprecated API issues as my python version is 3.7. Can you please share your experience and configurations at [email protected]?

from deeptraffic.

Related Issues (20)

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.