Coder Social home page Coder Social logo

getting-and-cleaning-data-course-project's Introduction

Getting-and-Cleaning-Data-Course-Project

It is a solution for the course (Getting and Cleaning Data) assignment called "Peer-graded Assignment: Getting and Cleaning Data Course Project" in Coursera. It contains a R script called 'run_analysis.R' which has all the required steps to getting, cleaning, transforming and summarizing the dataset in the required format as per the assignment.

Overview of the R script's execution:

  • Downloadind and extracting the dataset if it does not already exist in the working directory.
  • Read and Merges the training and the test sets to create one data set using data sets X_train, X_test, subject_train, subject_test, y_train, and y_test.
  • Fetching only features/variables those containing either mean or standard deviation.
  • Fetching the features/variables for each column and naming them in the merged data set.
  • Appropriately labels the data set with descriptive variable names in the merged data set.
  • Write the above merged data in to new file called 'merged_tidy_data.txt'.
  • From the above merged data (merged_tidy_data.txt), creates a second, independent tidy data set 'averages_tidy_data.txt' with the average of each variable for each activity and each subject.
  • The second data 'averages_tidy_data.txt' has dimension 180x68 since there are 30 subjects and 6 activities, thus, for each activity and each subject means 30 * 6 = 180 rows.

getting-and-cleaning-data-course-project's People

Contributors

sreenivasulu-parimi 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.