Coder Social home page Coder Social logo

ykarki1 / smart-move Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 79.57 MB

Machine Learning Project on Smartphone Activity Detector

Jupyter Notebook 100.00%
activity-recognition deep-neural-networks machine-learning-algorithms classification-algorithims

smart-move's Introduction

smart-move

Machine Learning Project on Smartphone Activity Detector We built some machine learning models to recognize the human activity with the help of sensor readings of the phone being carried.

all_models.ipynb is the main file where all the models are compiled.

Dataset

Source of the dataset was UCI Machine Learning Repository. Data set built from the recordings of 30 subjects performing basic activities and postural transitions while carrying a waist-mounted smartphone (Samsung Galaxy S II) with embedded inertial sensors (accelerometer and gyroscope).

Dataset was already cleaned, scaled and split into training and testing data. As features the dataset has 561 datapoints for each instance of activity.

And as labels, activities composed of six basic activities: three static postures (standing, sitting, lying) and three dynamic activities (walking, walking downstairs and walking upstairs). The experiment also included postural transitions that occurred between the static postures. These are: stand-to-sit, sit-to-stand, sit-to-lie, lie-to-sit, stand-to-lie, and lie-to-stand. These all activities were labeled with a number as following:

  1. WALKING
  2. WALKING_UPSTAIRS
  3. WALKING_DOWNSTAIRS
  4. SITTING
  5. STANDING
  6. LAYING
  7. STAND_TO_SIT
  8. SIT_TO_STAND
  9. SIT_TO_LIE
  10. LIE_TO_SIT
  11. STAND_TO_LIE
  12. LIE_TO_STAND

Result

We created some models with scikit learn and tensorflow keras. Out of all the models, support vector machine linear and deep neural network seem promising with test accuracy of 95.2% and 94.3% respectively.

Summary graph of all models

smart-move's People

Contributors

dcalara avatar lhollmann avatar naoon5031 avatar ncooper1106 avatar ykarki1 avatar

Stargazers

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