Git Product home page Git Product logo

keystrokedynamics's Introduction

KeystrokeDynamics

This repository focuses on the use of keystroke dynamics as a behavioral biometric to build machine learning models for user recognition.

Hi!

This directory is used to host the source code that builds 3 ML models in order to predict an user based on keystrokes.

Please note that all necessary libraries are in the requirements.txt file.

You can install them using pip/pip3 command: pip3 install -r requirements.txt

Training the models

As original input we use the: keystroke.csv

The .csv holds the data required by the keystrokes_build_ml.py/.ipynb to train the 3 MLs(SVM, FG, XGBoost)

The output of the python file is 3 models (.joblib), they can be found in the /models directory.

Predicting the user

In order to predict the user we must do a POST in Postman to that URL, having a body with this format.

{
    "Model": "RF",
   "HT": {
        "Mean": 48.43,
        "STD": 23.34
    },
    "PPT": {
        "Mean": 120.43,
        "STD": 37.41
    },
    "RRT": {
        "Mean": 124.43,
        "STD": 45.34
    },
    "RPT": {
        "Mean": 132.56,
        "STD": 47.12
    }
}

keystrokedynamics's People

Contributors

bogdanalintudorache avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.