Giter Site home page Giter Site logo

gettingandcleaningproject's Introduction

The script run_analysis.R is made to run in the folder containing the downloaded Samsung Galaxy S smart phone accererometer and Gyroscope data. The values for test and training are contained in the text file x_test.txt and x_train.txt The features whoes values are in those files are contained in the text file features.txt. The labels for the activity names are contained in the text file acivity_label.txt. The text files are converted to data frames using read.table. The features are taken from the text file to be added to the x_test and x_train data frames. The complete data frame is formed by adding the subjectid and the activity id to the data frame by appending the columns to the respective test and train values. The activity label is then matched to the number by refering the activity_label.txt Explanatory names are given in the codebook for the variables. The mean of every variable is found for each subject for a given id. The tidy data sets are then exported to txt files so that they are uploaded.

gettingandcleaningproject's People

Contributors

lamdawr avatar

Watchers

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