#39 · Primary category: Time Series Machine Learning

LSTM-Human-Activity-Recognition

activity-recognition deep-learning human-activity-recognition lstm machine-learning neural-network recurrent-neural-networks rnn tensorflow

Human Activity Recognition example using TensorFlow on smartphone sensors dataset and an LSTM RNN. Classifying the type of movement amongst six activity categories - Guillaume Chevalier

Project last updated:11/06/22

GitHub Stars

3.5K

Forks

935

Contributors

3

License

MIT

Why we included this project

This repo is a clear, working example of using an LSTM to classify human activities from phone sensor data. It takes the public UCI Human Activity Recognition dataset, feeds raw-ish accelerometer and gyroscope windows into a recurrent network, and distinguishes walking, sitting, standing, and other movements without hand-engineered features. The repo includes a Jupyter notebook and a standalone script, so you can follow along from downloading the data to seeing predictions. What makes it more than a code dump is the explanation: it explains what RNNs are and why LSTMs avoid the vanishing gradient problem, which is exactly the kind of context beginners need. Treat it as a teaching baseline rather than production software, but as an introduction to sequence classification, it still works well.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category