Giter Site home page Giter Site logo

human-activity-recognization's Introduction

Human-Activity-Recognization

This repositary belongs to Human Activity Recognization case study

HAR

Dataset is available at https://www.kaggle.com/uciml/human-activity-recognition-with-smartphones

Objective :

Is to predict human activity based on given time series data.

Blog:

A detailed blog bost regarding this case study can be found here https://medium.com/@raman.shinde15/understanding-sequential-timeseries-data-for-lstm-4da78021ecd7

Case Study Flow:

  1. For the given case study, we have provided with both processed data and raw data from sensors.
  2. We used processed data that was already featurized to build various machine learning models.
  3. Eda was done on subject to check the various activity performed by them. We have got almost same number of reading from all the subjects.
  4. Also the distribution of activity for data was found to be balanced.
  5. We have tried and tested various models out of which Linear SVC gave the highesr accuracy of 96.61% with loss of 3.39%
  6. But, the task was to achieve accuracy of more than 91% using Deep Learning Models.
  7. First started with two layer LSTM with dropout of 0.6 to 0.4
  8. For two layer LSTM, we Found that best result was obtained in case of droput of 0.5. Decrease in dropout leaded to overfitting of model as expected due to rise in # hyperparameters.
  9. Next, We checked with single layer LSTM(128) with dropout rate varying from 0.5 to 0.7
  10. Best result was found in case of LSTM(128) wit dropout of 0.6. We got accuracy of 91.82%
  11. Also checked with single Layer LSTM(64) with droput varying from 0.2 to 0.6.
  12. In every case , we found that dicrease in dropout rate was leading to model overfitting which is as expected.

Results:

Results

Conclusions:

  • Best accuracy of 91.82% found for configuration of LSTM(128) with dropout rate of 0.6
  • Overfitting in model observed with dicrease in dropout as expected

human-activity-recognization's People

Contributors

raman-raje avatar

Stargazers

 avatar

Watchers

James Cloos 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.