#Code Book
Below explains each of the variable used in the process to get the tidy data set:
x_train,y_trainandsubject_trainrefer to the raw data read in from the train data setsx_test,y_testandsubject_testrefer to the raw data read in from the test data setsx,yandsubjectcontain raw data merged from both the train and test data setsfeaturescontains the feature names that represent each of the columns inxselected_featuresis a subset offeaturesthat contains only the features we need, the mean and std valueactivity_labelscontains the loaded activity labelsy_namesis actuallyy, but replace the numeric values inywith descriptive activity namesdatacontains all the data that bindsx- the selected features values,y_names- the activity with descriptive names andsubjectaltogethermeltedcontains narrow version ofdatatidycontains the tidy data set of each variable for each activity and each subject
Outcome of the script is a file named tidy.txt that contains data of tidy