| Literature DB >> 26203909 |
Muhammad Arif1, Ahmed Kattan1.
Abstract
Monitoring physical activities by using wireless sensors is helpful for identifying postural orientation and movements in the real-life environment. A simple and robust method based on time domain features to identify the physical activities is proposed in this paper; it uses sensors placed on the subjects' wrist, chest and ankle. A feature set based on time domain characteristics of the acceleration signal recorded by acceleration sensors is proposed for the classification of twelve physical activities. Nine subjects performed twelve different types of physical activities, including sitting, standing, walking, running, cycling, Nordic walking, ascending stairs, descending stairs, vacuum cleaning, ironing clothes and jumping rope, and lying down (resting state). Their ages were 27.2 ± 3.3 years and their body mass index (BMI) is 25.11 ± 2.6 Kg/m2. Classification results demonstrated a high validity showing precision (a positive predictive value) and recall (sensitivity) of more than 95% for all physical activities. The overall classification accuracy for a combined feature set of three sensors is 98%. The proposed framework can be used to monitor the physical activities of a subject that can be very useful for the health professional to assess the physical activity of healthy individuals as well as patients.Entities:
Mesh:
Year: 2015 PMID: 26203909 PMCID: PMC4512690 DOI: 10.1371/journal.pone.0130851
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Number of instances per activity.
| Physical Activity | Number of Instances |
|---|---|
| A1: Lying | 1857 |
| A2: Sitting | 1783 |
| A3: Standing | 1832 |
| A4: Walking | 2321 |
| A5: Running | 931 |
| A6: Cycling | 1585 |
| A7: Nordic walking | 1821 |
| A8: Ascending stairs | 1102 |
| A9: Descending stairs | 981 |
| A10: Vacuum cleaning | 1685 |
| A11: Ironing | 2317 |
| A12: Rope jumping | 449 |
|
|
|
Classification results of three classifiers using the acceleration sensor placed at dominant wrist.
| KNN (K = 3) | Rotation Forest | Neural Network | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Activity | Precision | Recall | F-measure | Precision | Recall | F-measure | Precision | Recall | F-measure |
|
| 0.927 | 0.933 | 0.930 | 0.974 | 0.940 | 0.957 | 0.890 | 0.898 | 0.894 |
|
| 0.910 | 0.834 | 0.870 | 0.922 | 0.895 | 0.908 | 0.857 | 0.804 | 0.830 |
|
| 0.892 | 0.809 | 0.848 | 0.855 | 0.924 | 0.888 | 0.756 | 0.862 | 0.806 |
|
| 0.875 | 0.088 | 0.160 | 0.984 | 0.954 | 0.969 | 0.957 | 0.897 | 0.926 |
|
| 0.154 | 0.971 | 0.266 | 0.996 | 0.957 | 0.976 | 0.964 | 0.953 | 0.958 |
|
| 0.984 | 0.888 | 0.933 | 0.987 | 0.983 | 0.985 | 0.991 | 0.966 | 0.979 |
|
| 0.994 | 0.317 | 0.480 | 0.989 | 0.977 | 0.983 | 0.987 | 0.979 | 0.983 |
|
| 0.904 | 0.864 | 0.884 | 0.907 | 0.896 | 0.902 | 0.786 | 0.855 | 0.819 |
|
| 0.945 | 0.820 | 0.878 | 0.954 | 0.852 | 0.900 | 0.961 | 0.703 | 0.812 |
|
| 0.983 | 0.828 | 0.899 | 0.961 | 0.939 | 0.950 | 0.937 | 0.929 | 0.933 |
|
| 0.898 | 0.811 | 0.852 | 0.845 | 0.962 | 0.900 | 0.830 | 0.928 | 0.876 |
|
| 0.931 | 0.190 | 0.316 | 0.963 | 0.915 | 0.939 | 0.903 | 0.915 | 0.909 |
|
|
|
|
|
|
|
|
|
|
|
Confusion matrix for rotation forest classifier (Acceleration sensor placed at wrist).
| A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | A10 | A11 | A12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 561 | 8 | 6 | 0 | 0 | 1 | 1 | 1 | 0 | 7 | 12 | 0 |
|
| 6 | 475 | 24 | 0 | 0 | 0 | 1 | 2 | 1 | 4 | 18 | 0 |
|
| 4 | 17 | 489 | 0 | 0 | 1 | 0 | 1 | 2 | 1 | 14 | 0 |
|
| 0 | 1 | 2 | 682 | 0 | 0 | 0 | 15 | 3 | 0 | 8 | 4 |
|
| 2 | 0 | 3 | 1 | 265 | 0 | 3 | 2 | 0 | 0 | 1 | 0 |
|
| 1 | 0 | 0 | 0 | 0 | 464 | 0 | 0 | 2 | 0 | 5 | 0 |
|
| 0 | 2 | 0 | 3 | 0 | 0 | 546 | 0 | 0 | 3 | 4 | 1 |
|
| 1 | 2 | 10 | 3 | 1 | 1 | 0 | 284 | 4 | 0 | 11 | 0 |
|
| 0 | 1 | 18 | 3 | 0 | 1 | 0 | 7 | 270 | 0 | 17 | 0 |
|
| 0 | 0 | 6 | 0 | 0 | 1 | 0 | 1 | 1 | 449 | 20 | 0 |
|
| 1 | 7 | 12 | 0 | 0 | 1 | 1 | 0 | 0 | 3 | 640 | 0 |
|
| 0 | 2 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 130 |
Classification results of three classifiers using the acceleration sensor placed on the chest.
| KNN (K = 3) | Rotation Forest | Neural Network | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Activity | Precision | Recall | F-measure | Precision | Recall | F-measure | Precision | Recall | F-measure |
| A1 | 0.988 | 0.930 | 0.958 | 0.985 | 0.977 | 0.981 | 0.976 | 0.938 | 0.956 |
| A2 | 0.873 | 0.802 | 0.836 | 0.917 | 0.893 | 0.905 | 0.699 | 0.791 | 0.742 |
| A3 | 0.839 | 0.758 | 0.796 | 0.838 | 0.930 | 0.882 | 0.729 | 0.665 | 0.696 |
| A4 | 0.916 | 0.476 | 0.626 | 0.952 | 0.966 | 0.959 | 0.855 | 0.913 | 0.883 |
| A5 | 0.221 | 0.968 | 0.359 | 0.996 | 0.957 | 0.976 | 0.974 | 0.957 | 0.965 |
| A6 | 0.981 | 0.860 | 0.916 | 0.958 | 0.972 | 0.965 | 0.979 | 0.871 | 0.922 |
| A7 | 0.979 | 0.658 | 0.787 | 0.974 | 0.925 | 0.949 | 0.886 | 0.807 | 0.845 |
| A8 | 0.943 | 0.883 | 0.912 | 0.942 | 0.927 | 0.935 | 0.829 | 0.874 | 0.851 |
| A9 | 0.985 | 0.833 | 0.903 | 0.976 | 0.883 | 0.927 | 0.950 | 0.845 | 0.895 |
| A10 | 0.893 | 0.822 | 0.856 | 0.928 | 0.923 | 0.925 | 0.858 | 0.900 | 0.878 |
| A11 | 0.881 | 0.798 | 0.838 | 0.902 | 0.938 | 0.920 | 0.824 | 0.904 | 0.862 |
| A12 | 1.000 | 0.613 | 0.760 | 0.993 | 0.944 | 0.968 | 0.977 | 0.894 | 0.934 |
|
|
|
|
|
|
|
|
|
|
|
Confusion matrix for rotation forest classifier (Acceleration sensor placed on chest).
| A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | A10 | A11 | A12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 583 | 6 | 7 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
|
| 3 | 474 | 35 | 0 | 0 | 1 | 0 | 1 | 0 | 4 | 13 | 0 |
|
| 1 | 23 | 492 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 | 0 |
|
| 0 | 0 | 4 | 691 | 0 | 6 | 10 | 1 | 0 | 2 | 1 | 0 |
|
| 0 | 1 | 1 | 0 | 265 | 0 | 1 | 2 | 2 | 2 | 2 | 1 |
|
| 2 | 0 | 0 | 0 | 0 | 459 | 0 | 0 | 0 | 9 | 2 | 0 |
|
| 0 | 1 | 0 | 26 | 0 | 1 | 517 | 3 | 3 | 1 | 7 | 0 |
|
| 0 | 4 | 9 | 2 | 0 | 5 | 1 | 294 | 1 | 0 | 1 | 0 |
|
| 1 | 1 | 16 | 5 | 1 | 0 | 2 | 7 | 280 | 0 | 4 | 0 |
|
| 1 | 0 | 2 | 2 | 0 | 5 | 0 | 3 | 0 | 441 | 24 | 0 |
|
| 1 | 5 | 20 | 0 | 0 | 0 | 0 | 0 | 0 | 15 | 624 | 0 |
|
| 0 | 2 | 1 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 2 | 134 |
Classification results of three classifiers using the acceleration sensor placed on the dominant ankle.
| KNN (K = 3) | Rotation Forest | Neural Network | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Activity | Precision | Recall | F-measure | Precision | Recall | F-measure | Precision | Recall | F-measure |
| A1 | 0.986 | 0.935 | 0.960 | 0.995 | 0.958 | 0.976 | 0.981 | 0.935 | 0.957 |
| A2 | 0.870 | 0.821 | 0.845 | 0.963 | 0.883 | 0.921 | 0.786 | 0.734 | 0.759 |
| A3 | 0.777 | 0.533 | 0.632 | 0.838 | 0.822 | 0.830 | 0.635 | 0.628 | 0.631 |
| A4 | 0.895 | 0.071 | 0.132 | 0.968 | 0.958 | 0.963 | 0.925 | 0.829 | 0.875 |
| A5 | 0.103 | 0.978 | 0.187 | 0.981 | 0.957 | 0.969 | 0.985 | 0.957 | 0.971 |
| A6 | 0.962 | 0.216 | 0.353 | 0.949 | 0.981 | 0.965 | 0.887 | 0.932 | 0.909 |
| A7 | 0.976 | 0.073 | 0.136 | 0.962 | 0.946 | 0.954 | 0.800 | 0.896 | 0.846 |
| A8 | 0.967 | 0.820 | 0.887 | 0.951 | 0.918 | 0.934 | 0.950 | 0.909 | 0.929 |
| A9 | 0.975 | 0.729 | 0.834 | 0.965 | 0.874 | 0.917 | 0.962 | 0.804 | 0.876 |
| A10 | 0.867 | 0.586 | 0.699 | 0.853 | 0.921 | 0.885 | 0.778 | 0.843 | 0.809 |
| A11 | 0.815 | 0.605 | 0.694 | 0.787 | 0.899 | 0.839 | 0.719 | 0.821 | 0.767 |
| A12 | 1.000 | 0.162 | 0.279 | 1.000 | 0.937 | 0.967 | 0.978 | 0.923 | 0.949 |
|
|
|
|
|
|
|
|
|
|
|
Confusion matrix for rotation forest classifier (Acceleration sensor placed on ankle).
| A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | A10 | A11 | A12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 572 | 1 | 12 | 0 | 0 | 5 | 0 | 1 | 0 | 1 | 5 | 0 |
|
| 1 | 469 | 27 | 0 | 0 | 0 | 0 | 1 | 1 | 12 | 20 | 0 |
|
| 1 | 8 | 435 | 0 | 0 | 0 | 0 | 0 | 1 | 10 | 74 | 0 |
|
| 0 | 0 | 1 | 685 | 0 | 3 | 18 | 2 | 3 | 2 | 1 | 0 |
|
| 0 | 0 | 1 | 0 | 265 | 2 | 0 | 3 | 0 | 2 | 4 | 0 |
|
| 0 | 0 | 0 | 0 | 0 | 463 | 0 | 0 | 1 | 4 | 4 | 0 |
|
| 0 | 1 | 0 | 18 | 0 | 2 | 529 | 0 | 2 | 1 | 6 | 0 |
|
| 0 | 1 | 5 | 2 | 0 | 2 | 2 | 291 | 0 | 4 | 10 | 0 |
|
| 0 | 1 | 7 | 2 | 3 | 6 | 0 | 5 | 277 | 7 | 9 | 0 |
|
| 0 | 1 | 1 | 1 | 0 | 5 | 1 | 3 | 0 | 440 | 26 | 0 |
|
| 1 | 4 | 29 | 0 | 0 | 0 | 0 | 0 | 1 | 32 | 598 | 0 |
|
| 0 | 1 | 1 | 0 | 2 | 0 | 0 | 0 | 1 | 1 | 3 | 133 |
Classification results of three classifiers using all acceleration sensors.
| KNN (K = 3) | Rotation Forest | Neural Network | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Activity | Precision | Recall | F-measure | Precision | Recall | F-measure | Precision | Recall | F-measure |
| A1 | 0.993 | 0.990 | 0.992 | 0.995 | 0.993 | 0.994 | 0.995 | 0.988 | 0.992 |
| A2 | 0.968 | 0.972 | 0.970 | 0.979 | 0.979 | 0.979 | 0.968 | 0.966 | 0.967 |
| A3 | 0.942 | 0.989 | 0.965 | 0.956 | 0.983 | 0.969 | 0.941 | 0.974 | 0.957 |
| A4 | 0.990 | 0.993 | 0.992 | 0.999 | 0.990 | 0.994 | 0.988 | 0.996 | 0.992 |
| A5 | 0.996 | 0.975 | 0.985 | 1.000 | 0.971 | 0.985 | 0.985 | 0.975 | 0.980 |
| A6 | 1.000 | 0.996 | 0.998 | 0.998 | 0.994 | 0.996 | 0.994 | 0.994 | 0.994 |
| A7 | 0.996 | 0.989 | 0.993 | 0.993 | 0.987 | 0.990 | 0.988 | 0.989 | 0.988 |
| A8 | 0.981 | 0.972 | 0.976 | 0.969 | 0.972 | 0.970 | 0.962 | 0.946 | 0.954 |
| A9 | 0.983 | 0.934 | 0.958 | 0.964 | 0.934 | 0.949 | 0.983 | 0.912 | 0.946 |
| A10 | 0.987 | 0.983 | 0.985 | 0.987 | 0.981 | 0.984 | 0.989 | 0.977 | 0.983 |
| A11 | 0.973 | 0.994 | 0.984 | 0.959 | 0.994 | 0.976 | 0.967 | 0.982 | 0.975 |
| A12 | 1.000 | 0.937 | 0.967 | 1.000 | 0.951 | 0.975 | 0.906 | 0.951 | 0.928 |
|
|
|
|
|
|
|
|
|
|
|
Confusion matrix for rotation forest classifier (All Acceleration sensors).
| A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | A10 | A11 | A12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A1 | 591 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 0 |
| A2 | 0 | 516 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 9 | 0 |
| A3 | 0 | 7 | 515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 | 0 |
| A4 | 0 | 0 | 0 | 707 | 0 | 0 | 0 | 2 | 5 | 0 | 1 | 0 |
| A5 | 0 | 1 | 2 | 1 | 266 | 0 | 1 | 3 | 1 | 1 | 1 | 0 |
| A6 | 0 | 0 | 0 | 0 | 0 | 471 | 0 | 0 | 0 | 1 | 0 | 0 |
| A7 | 0 | 2 | 1 | 1 | 0 | 0 | 551 | 0 | 0 | 1 | 3 | 0 |
| A8 | 0 | 1 | 8 | 0 | 0 | 0 | 1 | 303 | 0 | 0 | 4 | 0 |
| A9 | 0 | 2 | 9 | 2 | 0 | 0 | 1 | 8 | 287 | 3 | 5 | 0 |
| A10 | 0 | 1 | 2 | 2 | 0 | 1 | 0 | 1 | 0 | 466 | 5 | 0 |
| A11 | 0 | 1 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 653 | 0 |
| A12 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 0 | 3 | 133 |
Classification results of three classifiers on FS5 features set.
| KNN (K = 3) | Rotation Forest | Neural Network | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Activity | Precision | Recall | F-measure | Precision | Recall | F-measure | Precision | Recall | F-measure |
| A1 | 0.995 | 0.992 | 0.993 | 0.997 | 0.992 | 0.994 | 0.990 | 0.987 | 0.988 |
| A2 | 0.975 | 0.970 | 0.973 | 0.973 | 0.959 | 0.966 | 0.916 | 0.964 | 0.939 |
| A3 | 0.949 | 0.985 | 0.967 | 0.937 | 0.983 | 0.959 | 0.910 | 0.932 | 0.921 |
| A4 | 0.975 | 0.993 | 0.984 | 0.999 | 0.989 | 0.994 | 0.996 | 0.993 | 0.994 |
| A5 | 1.000 | 0.975 | 0.987 | 0.993 | 0.971 | 0.982 | 0.971 | 0.975 | 0.973 |
| A6 | 1.000 | 0.998 | 0.999 | 0.998 | 0.994 | 0.996 | 0.987 | 0.987 | 0.987 |
| A7 | 0.996 | 0.986 | 0.991 | 0.991 | 0.989 | 0.990 | 0.991 | 0.984 | 0.987 |
| A8 | 0.974 | 0.959 | 0.967 | 0.959 | 0.956 | 0.957 | 0.967 | 0.921 | 0.943 |
| A9 | 0.966 | 0.909 | 0.937 | 0.960 | 0.918 | 0.939 | 0.970 | 0.921 | 0.945 |
| A10 | 0.983 | 0.981 | 0.982 | 0.973 | 0.975 | 0.974 | 0.969 | 0.973 | 0.971 |
| A11 | 0.964 | 0.994 | 0.979 | 0.956 | 0.991 | 0.973 | 0.964 | 0.965 | 0.965 |
| A12 | 1.000 | 0.930 | 0.964 | 1.000 | 0.937 | 0.967 | 0.971 | 0.930 | 0.950 |
|
|
|
|
|
|
|
|
|
|
|
Confusion matrix for KNN classifier on features set FS5.
| A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | A10 | A11 | A12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A1 | 592 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 |
| A2 | 1 | 515 | 4 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 7 | 0 |
| A3 | 1 | 4 | 521 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 |
| A4 | 1 | 0 | 2 | 710 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
| A5 | 0 | 0 | 2 | 2 | 270 | 0 | 0 | 2 | 0 | 1 | 0 | 0 |
| A6 | 0 | 0 | 0 | 0 | 0 | 471 | 0 | 0 | 0 | 1 | 0 | 0 |
| A7 | 0 | 0 | 1 | 2 | 0 | 0 | 551 | 0 | 0 | 1 | 4 | 0 |
| A8 | 0 | 1 | 4 | 2 | 0 | 0 | 0 | 304 | 3 | 1 | 2 | 0 |
| A9 | 0 | 1 | 12 | 8 | 0 | 0 | 0 | 4 | 288 | 0 | 4 | 0 |
| A10 | 0 | 2 | 2 | 1 | 0 | 0 | 2 | 0 | 0 | 469 | 2 | 0 |
| A11 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 661 | 0 |
| A12 | 0 | 2 | 0 | 2 | 0 | 0 | 0 | 1 | 2 | 0 | 3 | 132 |
Comparison of performance with the reported results.
| Reference | Number of Activities | Number of Sensors | Classification Accuracy |
|---|---|---|---|
| [ | 9 | 3 (wrist, chest, ankle) | 86% |
| [ | 20 | 5 (forearm, wrist, waist, ear, thigh, ankle) | 84% |
| [ | 5 | 1 (chest) | 93% |
| [ | 2 (thigh) | 92% to 95% | |
| [ | 4 | 6 (3 left hip, 3 right hip) | 83% to 90% |
| [ | 12 | 2 (wrist, waist) | 90% |
| [ | 5 | 3 (thigh, hip, wrist) | 84% |
| [ | 5 grouped activities | 2 (wrist, hip) | 88% |
| [ | 14 | 6 (thigh, chest, hip, both wrists, weapon) | 90% |
| [ | 4 | 2 (thigh, trunk) | 90% |
| [ | 8 | 3 (waist, thigh, ankle) | 94% |
|
|
|
|
|