Giter Site home page Giter Site logo

getting-data-final's Introduction

getting-data-final

Coursera course - getting and cleaning data. The final assignment

files

run_analysis.R - the main script that produces the tidy data set. For its input it expects to be run from within the UCI HAR dataset directory. Main functions:

  • merges the test and train sets of calculated features
  • adds column names to the merged set (column names = feature names)
  • adds a subject id column to identify the test subject that performed the activity
  • adds an activity column that identifies the activity
  • subsets the merged set to only contain the columns that contain either the standard deviations or the mean values of the calculated features
  • for each activity and individual, calculates the mean value for each of the columns present in the previous subsetted set. This new set is then output into tidyset.txt

quicklib.R - a library for most of run_analysis.R functionality

tidyset.txt - NOT PRESENT IN THE REPOSITORY the output of run_analysis.R, containing a tidy data set. For variable descriptions, see CodeBook.md

data set

The data set information (excerpt from its README.txt):

Human Activity Recognition Using Smartphones Dataset Version 1.0

Jorge L. Reyes-Ortiz, Davide Anguita, Alessandro Ghio, Luca Oneto. Smartlab - Non Linear Complex Systems Laboratory DITEN - Università degli Studi di Genova. Via Opera Pia 11A, I-16145, Genoa, Italy. [email protected] www.smartlab.ws

getting-data-final's People

Contributors

liudvikasakelis avatar

Watchers

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