Git Product home page Git Product logo

cleandata's Introduction

README

This document explains the raw data files and the use of a script (run_analysis.R) to transform the raw data into a cleaned, tidy dataset (datameans.txt).

The raw data is from the Human Activity Recognition Using Smartphones Data Set in the UCI Machine Learning Repository. The raw data files include accelerometer and gyroscope readings along X, Y and Z axes, sampled at a constant rate of 50Hz. There were 30 volunteer subjects in the study, and each case in the data set was labelled with the activity undertaken by the subject. Each case included 561 variables. Additional information can be found in the CodeBook.md file.

Raw Data Files

These files should be placed in your current working directory before running the script:

  • X_train.txt - training data
  • y_train.txt - training activity for each training case
  • subject_train.txt - subject id for each training case
  • X_test.txt - test data
  • y_test.txt - test activity for each test case
  • subject_test.txt - subject id for each test case
  • features.txt - names of each feature (variable) in the data
  • activity_labels.txt - descriptions of the activities

R Script File

Run the following code file in R to produce the tidy data file, XXXXXXX.

  • run_analysis.R

Data Codebook

See CodeBook.md for information about the raw data and its transformation into a tidy data file.

cleandata's People

Contributors

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