Skip to content

detect malicious URL and Request (Bi-LSTM、Bi-LSTM + CNN、CNN + Bi-LSTM、CNN + Bi-LSTM + CNN)

Notifications You must be signed in to change notification settings

zhangbincheng1997/detect-lstm-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

detect-lstm-model

URL

Model Accuracy Precision Recall F1 Score Time per Epoch
Bi-LSTM 99.51% 99.54% 99.81% 99.67% 1242ms
Bi-LSTM + CNN 99.78% 99.73% 99.97% 99.86% 1185ms
CNN + Bi-LSTM 99.60% 99.75% 99.72% 99.73% 326ms
CNN + Bi-LSTM + CNN 99.54% 99.75% 99.64% 99.69% 318ms

Request

Model Accuracy Precision Recall F1 Score Time per Epoch
Bi-LSTM 82.30% 80.81% 99.93% 89.23% 4434ms
Bi-LSTM + CNN 99.11% 99.06% 99.68% 99.36% 4406ms
CNN + Bi-LSTM 99.10% 98.92% 99.79% 99.35% 1101ms
CNN + Bi-LSTM + CNN 99.45% 99.24% 99.96% 99.60% 1124ms

Architecture

Bi-LSTM

alt text

Bi-LSTM + CNN

alt text

CNN + Bi-LSTM

alt text

CNN + Bi-LSTM + CNN

alt text

General Architecture

Input Layer

character embedding √

word embedding ×

CNN Layer

alt text

Output Layer

alt text

About

detect malicious URL and Request (Bi-LSTM、Bi-LSTM + CNN、CNN + Bi-LSTM、CNN + Bi-LSTM + CNN)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published