Coder Social home page Coder Social logo

getting-and-cleaning-data's Introduction

Getting-and-Cleaning-Data

Introduction

This repository contains the course project for the Coursera course Getting and Cleaning Data, which is the 3rd course in the Data Science Specialization offered by the John Hopkins University.

The Raw Data

There were basically 2 folders - test and train which contained 3 major files. First was the X_train.txt or the X_test.txt file which contained the measurements of the features. Second was the y_test.txt or y_train.txt file which had the activity labels Third was the subject_test.txt or subject_train.txt which had the test subjects.

The Script

run_analysis.R merges the train and test datasets together, extracts only the measurements on the mean and standard deviation for each measurement, uses descriptive activity names to name the activities in the data set, appropriately labels the data set with descriptive variable names and thus creates and independent,tidy dataset with the average of each variable for each activity and each subject.

Prerequisites for the script to run are :

  1. UCI HAR Dataset must have been extracted
  2. It should be stored in the current working directory with the folder name UCI HAR Dataset

The Code Book

It explains the transformations performed and the resukting data and variables.

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.