Giter Club home page Giter Club logo

recurrent_grf_prediction's Introduction

Predicting continuous ground reaction forces from accelerometers during uphill and downhill running: A recurrent neural network solution

visitors

This repository supports Predicting continuous ground reaction forces from accelerometers during uphill and downhill running: A recurrent neural network solution.

The final models and data supporting the published manuscript are archived here.

Contents

Train_LSTM.ipynb is a notebook that generates the model from the archived data.

Test_LSTM.ipynb is a notebook that shows you how to use the trained LSTM to predict GRFs from your own accelerometer data.

LSTM_Example.ipynb is a notebook that provides a tutorial of how a Long Short-Term Memory Network (LSTM) can be used to predict ground reaction force (GRF) data from accelerometer data during running.

pre_processing.py contains helper functions used in LSTM_Example.ipynb and Test_LSTM.ipynb.

data/ Contains example accelerometer data, GRF data, condition/demographic data, and LSTM model file. Supports Test_LSTM.ipynb and LSTM_Example.ipynb.

If you're going to train an LSTM model using Google Colab (recommended), make sure you utilize their GPU Runtime Type. You will need to adjust the path to data/ depending on how files are uploaded in Google Colab.

Questions?

Open an issue if you have a question or if something is broken. You can also email me at the address listed in the associated publication.

recurrent_grf_prediction's People

Contributors

alcantarar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lance-tin agtiger

recurrent_grf_prediction's Issues

Need tutorial for preprocessing steps

Users interested in using the pre-trained model for their own purposes may run into the following roadblocks:

  • Making sure data is in wide format for keras
  • Windowing their input signal as described in the manuscript
  • Extracting features correctly
  • Organizing input features (3d array)
  • Normalizing signals to min/max based on manuscript data
  • Filtering and general paper method replication

Questions regarding user specific data

I have a question regarding setting up the data needed for GRF prediction based on user specific data. Regarding the acceleration data such as Sample_test_data.csv, I would like to know how that should be formatted. Is there a specific part of the leg that should be identified as the shank and what are the formatting requirements for the .csv. Regarding formatting requirements is there a sampling rate range, can multiple shanks be added...etc? Regarding footstrike I was hopping you could let me know how to create a footstrike file that the program can use based of acceleration data, a video, and subject information. Lastly, how can I get the grf data to be outputted as a excel file, or .trc, or csv?

In summary I basically would like to know how to format my files and data for the program if I have raw acceleration data, a video of the movement for two angles, and subject info like height and weight. I'd also like to know how to get the grf prediction results in a raw data format like excel, csv, or .trc.

Thank you for your time.

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.