Coder Social home page Coder Social logo

harus-project's Introduction

harus-project

Coursera getdata-013 course project on data for Human Activity Recognition Using Smartphones. The project involves merging and transforming an original dataset for machine learning for recodnition by mobile devices of standard human activities by measuring signals from the device's built-in accelerometer and gyroscopes.

Original dataset

The original dataset can be found on the UCI Machine Learning Repository site. The documentation of the original dataset, along with in-depth explanation of the experimental settings, can be found in the data directory. A good place to start is the supplied README.txt.

Transformations

The transformations comprising the project are performed by the run_analysis.R script. The script has inline comments marking out all each major step. In summary, the original dataset, which is split in a 70:30 ratio into training and test sets, is:

  1. merged, both horizontally, across the train-test dimension, and vertically, along the subject-features-label dimension;

  2. filtered, to retain only the columns for the mean and standard deviation values for 33 of the original feature variables, which are described in the file features_info.txt;

  3. summarized, to show each of the variables averaged over each activity for each subject; and

  4. cleaned up, so that variable names and factors are human readable

Resulting dataset

The resulting dataset is saved in plain-text space-delimited file subj_acty_avg.txt in the data directory. It can be imported into R/RStudio with read.table() with the option header=TRUE.

The dataset is tidy per the requirements of Week 1 of the course getdata-013. It is in the wide-data format.

The data dictionary codebook.md contains descriptions of the variables in the new dataset.

harus-project's People

Contributors

ivogeorg avatar

Watchers

 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.