| Literature DB >> 35338161 |
Ivan Miguel Pires1,2, Nuno M Garcia3, Eftim Zdravevski4, Petre Lameski4.
Abstract
The dataset presented in this paper presents a dataset related to three motionless activities, including driving, watching TV, and sleeping. During these activities, the mobile device may be positioned in different locations, including the pants pockets, in a wristband, over the bedside table, on a table, inside the car, or on other furniture, for the acquisition of accelerometer, magnetometer, gyroscope, GPS, and microphone data. The data was collected by 25 individuals (15 men and 10 women) in different environments in Covilhã and Fundão municipalities (Portugal). The dataset includes the sensors' captures related to a minimum of 2000 captures for each motionless activity, which corresponds to 2.8 h (approximately) for each one. This dataset includes 8.4 h (approximately) of captures for further analysis with data processing techniques, and machine learning methods. It will be useful for the complementary creation of a robust method for the identification of these type of activities.Entities:
Mesh:
Year: 2022 PMID: 35338161 PMCID: PMC8956627 DOI: 10.1038/s41597-022-01213-9
Source DB: PubMed Journal: Sci Data ISSN: 2052-4463 Impact factor: 6.444
Fig. 1Workflow of the dataset creation.
Fig. 2Mobile Application.
Position of the smartphone during different motionless activities.
| Environments | Placement |
|---|---|
| Sleeping | Over a table; Over the bedside table; Over other furniture. |
| Driving | Pants Pocket; On a wristband; Inside the car. |
| Watching TV | Over a table; Pants Pocket; On a wristband; Over other furniture. |
Fig. 3Accelerometer data related to driving activity.
Fig. 7Excerpt of 10000 samples of microphone data related to driving activity as byte array.
Environments for the acquired data.
| Activity | Environment |
|---|---|
| Sleeping | Bedroom |
| Driving | Street |
| Watching TV | Living room |
Average of the parameters calculated for each motionless activity with Accelerometer + Environment + GPS samples.
| Sensor | Parameters | Sleeping | Driving | Watching TV |
|---|---|---|---|---|
| Accelerometer | Average distance between five highest peaks (ms) | 504.87 | 491.77 | 518.66 |
| Average of maximum peaks (m/s2) | 9.73 | 10.22 | 9.81 | |
| Standard deviation of maximum peaks (m/s2) | 0.01 | 0.39 | 0 | |
| Variance of maximum peaks (m/s2) | 0 | 0.20 | 0 | |
| Median of maximum peaks (m/s2) | 9.72 | 10.19 | 9.81 | |
| Average of raw data (m/s2) | 0.02 | 0.44 | 0.01 | |
| Standard deviation of raw data (m/s2) | 9.70 | 9.68 | 9.79 | |
| Maximum of raw data (m/s2) | 9.76 | 11.10 | 9.83 | |
| Minimum of raw data (m/s2) | 9.65 | 8.38 | 9.76 | |
| Variance of raw data (m/s2) | 0 | 0.23 | 0 | |
| Median of raw data (m/s2) | 9.71 | 9.90 | 9.80 | |
| GPS | Distance (m) | 2.05 | 111.18 | 3.77 |
Average of the parameters calculated for each motionless activity with Accelerometer + Magnetometer + Environment + GPS samples.
| Sensor | Parameters | Sleeping | Driving | Watching TV |
|---|---|---|---|---|
| Accelerometer | Average distance between five highest peaks (ms) | 504.87 | 491.77 | 502.71 |
| Average of maximum peaks (m/s2) | 9.73 | 10.22 | 10.22 | |
| Standard deviation of maximum peaks (m/s2) | 0.01 | 0.39 | 0.39 | |
| Variance of maximum peaks (m/s2) | 0 | 0.20 | 0.20 | |
| Median of maximum peaks (m/s2) | 9.72 | 10.19 | 10.19 | |
| Average of raw data (m/s2) | 0.02 | 0.44 | 0.44 | |
| Standard deviation of raw data (m/s2) | 9.70 | 9.68 | 9.68 | |
| Maximum of raw data (m/s2) | 9.76 | 11.10 | 11.10 | |
| Minimum of raw data (m/s2) | 9.65 | 8.38 | 8.38 | |
| Variance of raw data (m/s2) | 0 | 0.23 | 0.23 | |
| Median of raw data (m/s2) | 9.71 | 9.90 | 9.90 | |
| Magnetometer | Average distance between five highest peaks (ms) | 135.36 | 139.60 | 139.60 |
| Average of maximum peaks (m/s2) | 42.56 | 29.48 | 29.48 | |
| Standard deviation of maximum peaks (m/s2) | 0.28 | 0.70 | 0.70 | |
| Variance of maximum peaks (m/s2) | 0.10 | 1.49 | 1.49 | |
| Median of maximum peaks (m/s2) | 42.58 | 29.51 | 29.51 | |
| Average of raw data (m/s2) | 0.28 | 0.70 | 0.70 | |
| Standard deviation of raw data (m/s2) | 42.56 | 29.48 | 29.48 | |
| Maximum of raw data (m/s2) | 43.01 | 30.65 | 30.65 | |
| Minimum of raw data (m/s2) | 41.97 | 28.27 | 28.27 | |
| Variance of raw data (m/s2) | 0.10 | 1.49 | 1.49 | |
| Median of raw data (m/s2) | 42.58 | 29.49 | 29.49 | |
| GPS | Distance | 2.05 | 111.18 | 111.18 |
Average of the parameters calculated for each motionless activity with Accelerometer + Magnetometer + Gyroscope + Environment + GPS samples.
| Sensor | Parameters | Sleeping | Driving | Watching TV |
|---|---|---|---|---|
| Accelerometer | Average distance between five highest peaks (ms) | 506.38 | 491.77 | 518.66 |
| Average of maximum peaks (m/s2) | 9.92 | 10.22 | 9.81 | |
| Standard deviation of maximum peaks (m/s2) | 0.14 | 0.39 | 0.01 | |
| Variance of maximum peaks (m/s2) | 0.07 | 0.20 | 0 | |
| Median of maximum peaks (m/s2) | 9.91 | 10.19 | 9.81 | |
| Average of raw data (m/s2) | 0.16 | 0.44 | 0.01 | |
| Standard deviation of raw data (m/s2) | 9.73 | 9.68 | 9.79 | |
| Maximum of raw data (m/s2) | 10.23 | 11.10 | 9.83 | |
| Minimum of raw data (m/s2) | 9.26 | 8.38 | 9.76 | |
| Variance of raw data (m/s2) | 0.08 | 0.23 | 0 | |
| Median of raw data (m/s2) | 9.80 | 9.90 | 9.80 | |
| Magnetometer | Average distance between five highest peaks (ms) | 138.73 | 139.60 | 141.22 |
| Average of maximum peaks (m/s2) | 36.30 | 29.48 | 36.85 | |
| Standard deviation of maximum peaks (m/s2) | 0.41 | 0.70 | 0.25 | |
| Variance of maximum peaks (m/s2) | 0.55 | 1.49 | 0.08 | |
| Median of maximum peaks (m/s2) | 36.32 | 29.51 | 36.87 | |
| Average of raw data (m/s2) | 0.41 | 0.70 | 0.26 | |
| Standard deviation of raw data (m/s2) | 36.30 | 29.48 | 36.85 | |
| Maximum of raw data (m/s2) | 36.98 | 30.65 | 37.27 | |
| Minimum of raw data (m/s2) | 35.53 | 28.27 | 36.34 | |
| Variance of raw data (m/s2) | 0.56 | 1.49 | 0.08 | |
| Median of raw data (m/s2) | 36.31 | 29.49 | 36.86 | |
| Gyroscope | Average distance between five highest peaks (ms) | 457.99 | 418.74 | 488.90 |
| Average of maximum peaks (m/s2) | 0.04 | 0.06 | 0.03 | |
| Standard deviation of maximum peaks (m/s2) | 0.02 | 0.02 | 0.01 | |
| Variance of maximum peaks (m/s2) | 0 | 0 | 0 | |
| Median of maximum peaks (m/s2) | 0.03 | 0.06 | 0.02 | |
| Average of raw data (m/s2) | 0.01 | 0.02 | 0 | |
| Standard deviation of raw data (m/s2) | 0.03 | 0.05 | 0.02 | |
| Maximum of raw data (m/s2) | 0.09 | 0.12 | 0.07 | |
| Minimum of raw data (m/s2) | 0.02 | 0.02 | 0.02 | |
| Variance of raw data (m/s2) | 0 | 0 | 0 | |
| Median of raw data (m/s2) | 0.03 | 0.05 | 0.02 | |
| GPS | Distance | 39.00 | 111-18 | 3.77 |
Number of valid or non-valid samples.
| Activity | Sensors | Total Number of Samples | Number of Samples Fulfilled | Number of Samples 90% Fulfilled | Number of Samples 80% Fulfilled | Number of Samples < 80% Fulfilled |
|---|---|---|---|---|---|---|
| Sleeping | Accelerometer | 2207 | 0 | 2145 | 2198 | 9 |
| Magnetometer | 2207 | 1481 | 2207 | 2207 | 0 | |
| Gyroscope | 2206 | 1 | 2144 | 2193 | 13 | |
| GPS receiver | 1586 | 1289 | 1586 | 1586 | 0 | |
| Driving | Accelerometer | 2161 | 27 | 2095 | 2098 | 63 |
| Magnetometer | 2161 | 1580 | 2098 | 2101 | 60 | |
| Gyroscope | 2161 | 3 | 2098 | 2101 | 60 | |
| GPS receiver | 2025 | 1669 | 2023 | 2025 | 0 | |
| Watching TV | Accelerometer | 1747 | 7 | 1743 | 1745 | 2 |
| Magnetometer | 1747 | 1140 | 1744 | 1745 | 2 | |
| Gyroscope | 1747 | 3 | 1743 | 1745 | 2 | |
| GPS receiver | 940 | 788 | 939 | 939 | 1 |
Classification details.
| Classifier | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| k-Nearest Neighbors | 100% | 100% | 99% | 99% |
| Linear SVM | 100% | 100% | 99% | 99% |
| RBF SVM | 100% | 100% | 99% | 99% |
| Decision Tree | 100% | 100% | 99% | 99% |
| Random Forest | 100% | 100% | 99% | 99% |
| Neural Networks | 100% | 100% | 99% | 99% |
| AdaBoost | 100% | 100% | 99% | 99% |
| Naive Bayes | 100% | 100% | 99% | 99% |
| QDA | 100% | 100% | 99% | 99% |
| XGBoost | 100% | 100% | 99% | 99% |
| Measurement(s) | motion sensors • GPS navigation system • Microphone Device • physical activity |
| Technology Type(s) | Smartphone Application • Artificial Intelligence |
| Factor Type(s) | raw data |
| Sample Characteristic - Organism | Individual Behavior |
| Sample Characteristic - Environment | road • house |
| Sample Characteristic - Location | Municipality of Fundao • Municipality of Covilha |