GithubHelp home page GithubHelp logo

mrwupengfei / detect-lstm-model Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhangbincheng1997/detect-lstm-model

0.0 0.0 0.0 62.45 MB

检测恶意 URL and Request (Bi-LSTM、Bi-LSTM + CNN、CNN + Bi-LSTM、CNN + Bi-LSTM + CNN)

Jupyter Notebook 99.67% Python 0.33%

detect-lstm-model's Introduction

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

detect-lstm-model's People

Contributors

zhangbincheng1997 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.