Giter VIP home page Giter VIP logo

rashmi-ar / stress_detection_finetuning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24.92 MB

Evaluation of physiological signals collected from the E4 wristband to detect the stress-levels in students while performing arithmetic tasks.

Home Page: https://github.com/rashmi-ar/stress_detection_experiment

Jupyter Notebook 99.97% Python 0.03%
dashboard data-preprocessing data-visualization deep-learning empatica-e4 python python-dash

stress_detection_finetuning's Introduction

Stress Detection using finetuning

Data Collection:

  • An experiment with 25 participants, using an Empatica E4 wristband to record their physiological signals and determine their cognitive stress levels.
  • The experimental design can be found on GitHub

Data pre-processing

  • e4_raw_data\preprocessing_e4.ipynb
    • preprocessing raw E4 data
  • pre-processed and segmented using a sliding window of the length of 30 seconds without overlap
  • EDA, BVP, TEMP, HR and 3-axis ACC data from Empatica E4 is used for analysis

Cross Validations

  • Kfold (classifiers\kfold)
  • Leave-One-Subject-Out (LOSO) (classifiers\loso)
  • fine-tuning on LOSO (classifiers\loso)

Models

  • FCN
  • ResNet
  • Transformers
  • LSTM

Dashboard

  • displays dynamic stress fluctuations by utilizing the insights gained from prediction outcomes upon user-specific data
  • The application includes a stress meter, which enables users to visually understand their stress levels

alt text

alt text

References

  • Maciej Dzieżyc, Martin Gjoreski, Przemysław Kazienko, Stanisław Saganowski, and Matjaž Gams. Can we ditch feature engineering? end-to-end deep learning for affect recognition from physiological sensor data. Sensors, 20(22):6535, 2020

  • Zhiguang Wang, Weizhong Yan, and Tim Oates. Time series classification from scratch with deep neural networks: A strong baseline. In 2017 International joint conference on neural networks (IJCNN), pages 1578–1585. IEEE, 2017

  • Theodoros Ntakouris. https://keras.io/examples/timeseries/, 2021

  • Jürgen Schmidhuber, Sepp Hochreiter, et al. Long short-term memory. Neural Comput, 9(8):1735–1780, 1997

stress_detection_finetuning's People

Contributors

rashmi-ar avatar

Stargazers

 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.