Code Monkey home page Code Monkey logo

gettingandcleaningdataproject's Introduction

README

Original dataset

================================================================== 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

Original data has been used for publishing following article: Anguita D, Ghio A, Oneto L, Parra X, Reyes-Ortiz JL (2012) Human Activity Recognition on Smartphones using a Multiclass Hardware-Friendly Support Vector Machine, 4th International Workshop of Ambient Assisted Living (IWAAL 2012), held in Vitoria-Gasteiz, Spain. Dec 2012

Article can be accessed http://link.springer.com/chapter/10.1007/978-3-642-35395-6_30 or http://www.icephd.org/sites/default/files/IWAAL2012.pdf

Dataset download link: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip

Description of the dataset: http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones

About included run_analysis.R

1. Merges the training and the test sets to create one new data set.

2. Extracts only the measurements on the mean and standard deviation for each measurement. 

3. Uses descriptive activity names to name the activities in the new data set

4. Appropriately label the data set with descriptive new variable names (see included cookbook.md) 

5. From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.

Output :
	Merged_cleaned_tidydata.txt
	Average_values_by_subject_and_activity.txt

About included cookbook.md

Includes detailed information how existing variables were transformed to new variables.

How to use run_analysis.R

1) download run_analysis.R into directory 
2) download the dataset getdata-projectfiles-UCI HAR Dataset into same directory than run_analysis.R 
3) unzip the dataset
4) unzipped folder UCI HAR Dataset should be now in the same directory than run_analysis.R

gettingandcleaningdataproject's People

Contributors

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