Giter Site home page Giter Site logo

siddharthgaind / human-activity-recognition-using-smartphones Goto Github PK

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

In this project, our prime focus was to predict human activity by using the smartphone’s sensors. The tasks associated with this project were the classification and clustering of humans on the basis of their activities.

Jupyter Notebook 100.00%
clustering human-activity-recognition smartphones classification

human-activity-recognition-using-smartphones's Introduction

Human-Activity-Recognition-Using-Smartphones

In this project, our prime focus was to predict human activity by using the smartphone’s sensors.

The tasks associated with this project were the classification and clustering of humans on the basis of their activities.

Tools and Language: Python, Jupyter Notebooks

Dataset Description

Dataset consists of signals from a smartphone carried by 30 individuals performing 6 different activities. Activities performed are listed below with their corresponding codes.

● WALKING ● CLIMBING UP THE STAIRS ● CLIMBING DOWN THE STAIRS ● SITTING ● STANDING ● LAYING

Signals were recorded with a sampling rate of 50Hz and were then stored as time series data for each dimension, so 6 different signals were obtained where 3 are from accelerometer and other 3 are from gyroscope. The noise was then filtered using median and 20Hz Butterworth[13] filters in order to get precise results. A second 3Hz Butterworth filter was applied to eliminate the effect of gravity in the accelerometer signals. Figure 2 depicts the graphs of high and low pass Butterworth filters. Values were then normalized to an interval of -1 to 1. Euclid magnitudes of the values of 3 dimensions were then calculated to merge 3 dimensional signal into one dataset.

Several steps were implemented to perform data preprocessing.

Feature Engineering was done using Principal Component Analysis(PCA) t-Distributed Stochastic Neighbor Embedding (tSNE)

The methods used for classification:

● Support Vector Machines,

● K-nearest neighbors(KNN),

● Decision Tree,

● Random Forest,

● Logistic Regression,

● GaussianNB

human-activity-recognition-using-smartphones's People

Contributors

siddharthgaind avatar

Watchers

 avatar

Forkers

tejasalisyam

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.