Giter Site home page Giter Site logo

beom-kwon / anger-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 21 KB

Python implementation of the paper "Multi-Time Window Feature Extraction Technique for Anger Detection in Gait Data"

Python 100.00%
anger-expressions feature-extraction gait machine-learning python

anger-detection's Introduction

Contents

  1. Introduction
  2. Requirements
  3. How to Run
  4. Citation
  5. License

Introduction

On this web page, we provide the Python implementation of the anger detection method proposed in our paper titled 'Multi-Time Window Feature Extraction Technique for Anger Detection in Gait Data.'

Requirements

The proposed method was implemented using Python 3.9.16. To implement five machine learning algorithms (logistic regression, k-nearest neighbors, Naive Bayes, c-suport vector machine, and decision tree), we utilized scikit-learn 1.2.1. Additionally, we employed matplotlib 3.6.2 and numpy 1.23.5.

How to Run

1. Dataset Preparation

  • We utilized the Body Movement Library (BML) dataset, which includes gait sequences from 30 subjects. The dataset utilizes two file formats, namely CSM and PTD. In our study, we specifically used PTD file format.
  • If you wish to download this dataset, please click here to access the download link.

2. Multi-Time Window Feature Extraction

Please execute 'feature_extraction.py.' After running the .py file, you will obtain an npz file containing feature vectors.

3. Ensemble Learning

Please execute 'ensemble_learning.py.' After running the .py file, you will see the performance evaluation results of our proposed ensemble model.

Citation

Please cite this paper in your publications if it helps your research.

@article{kwon2023multi,
  author={Kwon, Beom and Oh, Taegeun},
  journal={Journal of The Korea Society of Computer and Information},
  title={Multi-Time Window Feature Extraction Technique for Anger Detection in Gait Data},
  year={2023},
  volume={28},
  number={4},
  pages={41--51},
  doi={10.9708/jksci.2023.28.04.041}
}

Paper link:

License

Our codes are freely available for non-commercial use.

anger-detection's People

Contributors

beom-kwon avatar

Watchers

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