The original dataset is fully documented at http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones
It consists of several files (organized in multiple folders) in a single ZIP archive file.
After downloading and unziping the archive one can refer to the README.txt to get a detailed
explanation of how the original data were generated.
This CodeBook focuses on describing the summarized dataset that we generated from the
original dataset, as per R pre-processing instructions in run_analysis.R
(refer to README.md
for more details about how to generate the summarized data).
The summarized dataset consists in a single file - uci_har_summarized_data.txt
- in table format,
with a header line and then one line per subject and activity (executed by said subject) covered
by the original dataset.
The original dataset provided 518 'features' for each 'time window' (a subset of the original sensor recording) applicable to a given subject and activity. We selected a subset of those original features (whatever referred to the mean and standard deviation of a particular underlying measure across the time window), and then we summarized them across time windows (for each given subject and activity) by considering their means.
The variables provided in the summarized dataset (each column in the file) are:
- subject
Identifier of the subject who carried out the experiment. An integer ranging from 1 to 30.
- activity
Label of the activity performed by the subject. Either of:
- WALKING
- WALKING_UPSTAIRS
- WALKING_DOWNSTAIRS
- SITTING
- STANDING
- LAYING
- tBodyAcc-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body acceleration derived from the accelerometer sensor recording on X-axis.
- tBodyAcc-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body acceleration derived from the accelerometer sensor recording on Y-axis.
- tBodyAcc-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body acceleration derived from the accelerometer sensor recording on Z-axis.
- tBodyAcc-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body acceleration derived from the accelerometer sensor recording on X-axis.
- tBodyAcc-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body acceleration derived from the accelerometer sensor recording on Y-axis.
- tBodyAcc-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body acceleration derived from the accelerometer sensor recording on Z-axis.
- tGravityAcc-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the gravity acceleration derived from the accelerometer sensor recording on X-axis.
- tGravityAcc-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the gravity acceleration derived from the accelerometer sensor recording on Y-axis.
- tGravityAcc-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the gravity acceleration derived from the accelerometer sensor recording on Z-axis.
- tGravityAcc-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the gravity acceleration derived from the accelerometer sensor recording on X-axis.
- tGravityAcc-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the gravity acceleration derived from the accelerometer sensor recording on Y-axis.
- tGravityAcc-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the gravity acceleration derived from the accelerometer sensor recording on Z-axis.
- tBodyAccJerk-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on X-axis.
- tBodyAccJerk-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Y-axis.
- tBodyAccJerk-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Z-axis.
- tBodyAccJerk-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on X-axis.
- tBodyAccJerk-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Y-axis.
- tBodyAccJerk-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Z-axis.
- tBodyGyro-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body angular velocity derived from the gyroscope sensor recording on X-axis.
- tBodyGyro-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body angular velocity derived from the gyroscope sensor recording on Y-axis.
- tBodyGyro-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body angular velocity derived from the gyroscope sensor recording on Z-axis.
- tBodyGyro-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body angular velocity derived from the gyroscope sensor recording on X-axis.
- tBodyGyro-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body angular velocity derived from the gyroscope sensor recording on Y-axis.
- tBodyGyro-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body angular velocity derived from the gyroscope sensor recording on Z-axis.
- tBodyGyroJerk-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body angular velocity jerk (a.k.a. time derivative of the velocity) derived from the gyroscope sensor recording on X-axis.
- tBodyGyroJerk-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body angular velocity jerk (a.k.a. time derivative of the velocity) derived from the gyroscope sensor recording on Y-axis.
- tBodyGyroJerk-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the body angular velocity jerk (a.k.a. time derivative of the velocity) derived from the gyroscope sensor recording on Z-axis.
- tBodyGyroJerk-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body angular velocity jerk (a.k.a. time derivative of the velocity) derived from the gyroscope sensor recording on X-axis.
- tBodyGyroJerk-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body angular velocity jerk (a.k.a. time derivative of the velocity) derived from the gyroscope sensor recording on Y-axis.
- tBodyGyroJerk-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the body angular velocity jerk (a.k.a. time derivative of the velocity) derived from the gyroscope sensor recording on Z-axis.
- fBodyAcc-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration derived from the accelerometer sensor recording on X-axis.
- fBodyAcc-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration derived from the accelerometer sensor recording on Y-axis.
- fBodyAcc-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration derived from the accelerometer sensor recording on Z-axis.
- fBodyAcc-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration derived from the accelerometer sensor recording on X-axis.
- fBodyAcc-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration derived from the accelerometer sensor recording on Y-axis.
- fBodyAcc-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration derived from the accelerometer sensor recording on Z-axis.
- fBodyAccJerk-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on X-axis.
- fBodyAccJerk-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Y-axis.
- fBodyAccJerk-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Z-axis.
- fBodyAccJerk-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on X-axis.
- fBodyAccJerk-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Y-axis.
- fBodyAccJerk-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body acceleration jerk (a.k.a. time derivative of the acceleration) derived from the accelerometer sensor recording on Z-axis.
- fBodyGyro-mean-X-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body angular velocity derived from the gyroscope sensor recording on X-axis.
- fBodyGyro-mean-Y-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body angular velocity derived from the gyroscope sensor recording on Y-axis.
- fBodyGyro-mean-Z-mean
The mean across sampling time windows (for a given subject and activity) of the mean (within each time window) of the Fast Fourier Transform (FFT) of the body angular velocity derived from the gyroscope sensor recording on Z-axis.
- fBodyGyro-std-X-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body angular velocity derived from the gyroscope sensor recording on X-axis.
- fBodyGyro-std-Y-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body angular velocity derived from the gyroscope sensor recording on Y-axis.
- fBodyGyro-std-Z-mean
The mean across sampling time windows (for a given subject and activity) of the standard deviation (within each time window) of the Fast Fourier Transform (FFT) of the body angular velocity derived from the gyroscope sensor recording on Z-axis.