Skip to main content
Log in

Aerobic activity monitoring: towards a long-term approach

  • Long paper
  • Published:
Universal Access in the Information Society Aims and scope Submit manuscript

Abstract

With recent progress in wearable sensing, it becomes reasonable for individuals to wear different sensors all day, and thus, global activity monitoring is establishing. The goals in global activity monitoring systems are among others to tell the type of activity that was performed, the duration and the intensity. With the information obtained this way, the individual’s daily routine can be described in detail. One of the strong motivations to achieve these goals comes from healthcare: To be able to tell if individuals were performing enough physical activity to maintain or even promote their health. This work focuses on the monitoring of aerobic activities and targets two main goals: To estimate the intensity of activities, and to identify basic/recommended physical activities and postures. For these purposes, a dataset with 8 subjects and 14 different activities was recorded, including the basic activities and postures, but also examples of household (ironing, vacuum cleaning), sports (playing soccer, rope jumping), and everyday activities (ascending and descending stairs). Data from 3 accelerometers—placed on lower arm, chest, and foot—and a heart rate monitor were analyzed. This paper presents the entire data processing chain, analyses and compares different classification techniques, concerning also their feasibility for portable online activity monitoring applications. Results are presented with different combinations of the sensors. For the intensity estimation task, using the sensor setup composed of the chest accelerometer and the HR-monitor is considered the most efficient, achieving a performance of 94.37 %. The overall performance on the activity recognition task, using all available sensors, is 90.65 % with boosted decision trees—the classifier achieving the best classification results within this work.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

Notes

  1. The term “background-class” might fit better than the term “null-class” in the research field of physical activity monitoring. Although it is about non-interesting activities for the activity recognition task, these activities can be of interest for other tasks of physical activity monitoring, e.g. when estimating the intensity of performed activities [31].

  2. Ainsworth et al. [1] does not contain the activity Nordic walking. Furthermore, since none of the subjects was familiar with this activity, it was performed less intensive as it would have been with subjects skilled in this sport. Therefore, an estimation of the MET value for this activity was made in Table 2, using MET values of similar activities from the compendium (e.g. definitively less intensive than race walking, code 17110, 6.5 METs), and subjective feeling of the subjects (slightly more intensive than normal walking, but comparable with it). Altogether, this activity is considered as an activity of moderate effort within this paper.

  3. Previous work shows (e.g. in [27]) that both for activity recognition and for intensity estimation, accelerometers outperform gyroscopes. Therefore, from all 3 IMUs, only data from the accelerometers is used in the subsequent data processing steps.

  4. The weights were selected heuristically and are set to 0.5, 0.2, and 0.3 for the chest, arm and foot sensor locations, respectively. The goal was to receive more meaningful features, than by simply accumulating the feature values from the different sensor placements.

  5. This is a common restriction made in activity recognition (e.g. in [11, 26, 28]), since an extra IMU on the thigh would be needed for a reliable differentiation of these postures.

References

  1. Ainsworth, B.E., Haskell, W.L., Whitt, M.C., Irwin, M.L., Swartz, a.M., Strath, S.J., O’Brien, W.L., Bassett, D.R., Schmitz, K.H., Emplaincourt, P.O., Jacobs, D.R., Leon, a.S.: Compendium of physical activities: an update of activity codes and MET intensities. Med. Sci. Sports Exerc. 32(9), 498–504 (2000)

    Article  Google Scholar 

  2. Alford, L.: What men should know about the impact of physical activity on their health. Int. J. Clin. Pract. 64(13), 1731–1734 (2010)

    Article  Google Scholar 

  3. Altun, K., Barshan, B., Tunçel, O.: Comparative study on classifying human activities with miniature inertial and magnetic sensors. Pattern Recognit. 43(10), 3605–3620 (2010)

    Article  MATH  Google Scholar 

  4. Bao, L., Intille, S.: Activity recognition from user-annotated acceleration data. In: 2nd International Conference on Pervasive Computing, pp. 1–17. Linz, Austria (2004)

  5. Bieber, G., Peter, C.: Using physical activity for user behavior analysis. In: 1st International Conference on Pervasive Technologies Related to Assistive Environments (PETRA), Athens, Greece (2008)

  6. Bieber, G., Voskamp, J., Urban, B.: Activity recognition for everyday life on mobile phones. In: International Conference on Human-Computer Interaction (HCI), pp. 289–296. San Diego, CA (2009)

  7. Crouter, S.E., Clowers, K.G., Bassett, D.R.: A novel method for using accelerometer data to predict energy expenditure. J. Appl. Physiol. (B. D. M.d : 1985) 100(4), 1324–1331 (2006)

    Article  Google Scholar 

  8. Crouter, S., Churilla, J., Basset, D.: Accuracy of the Actiheart for the assessment of energy expenditure in adults. Eur. J. Clin. Nutr. 62, 704–711 (2008)

    Article  Google Scholar 

  9. Doppler, J., Holl, G., Ferscha, A., Franz, M., Klein, C., Rocha, M.D.S., Zeidler, A.: Variability in foot-worn sensor placement for activity recognition. In: IEEE 13th International Symposium on Wearable Computers (ISWC), pp. 143–144. Linz, Austria (2009)

  10. Ermes, M., Pärkkä, J., Cluitmans, L.: Advancing from offline to online activity recognition with wearable sensors. In: 30th Annual International IEEE EMBS Conference, pp. 4451–4454. Vancouver, Canada (2008)

  11. Ermes, M., Pärkkä, J., Mäntyjärvi, J., Korhonen, I.: Detection of daily activities and sports with wearable sensors in controlled and uncontrolled conditions. IEEE Trans. Inf. Technol. Biomed. 12(1), 20–26 (2008)

    Article  Google Scholar 

  12. Friedman, J., Hastie, T., Tibshirani, R.: Additive logistic regression: a statistical view of boosting. Ann. Stat. 28(2), 337–407 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  13. Gordon, D., Schmidtke, H.R., Beigl, M., Zengen, G.V.: A novel micro-vibration sensor for activity recognition: potential and limitations. In: IEEE 13th International Symposium on Wearable Computers (ISWC), Seoul, South Korea (2010)

  14. Győrbíró, N., Fábián, A., Hományi, G.: An activity recognition system for mobile phones. Mobile Netw. Appl. 14(1), 82–91 (2009)

    Article  Google Scholar 

  15. Hall, M., Frank, E., Holmes, G., Pfahringer, B., Reutemann, P., Witten, I.H.: The WEKA data mining software: an update. SIGKDD Explor. 11(1), (2009)

  16. Haskell, W.L., Lee, I.-M., Pate, R.R., Powell, K.E., Blair, S.N., Franklin, B.a., Macera, C.a., Heath, G.W., Thompson, P.D., Bauman, A.: Physical activity and public health: updated recommendation for adults from the American College of Sports Medicine and the American Heart Association. Med. Sci. Sports Exerc. 39(8), 1423–1434 (2007)

    Article  Google Scholar 

  17. Hsu, C.W., Chang, C.C., Lin, C.J.: A practical guide to support vector classification. Bioinformatics 1(1), 1–16 (2010)

    MathSciNet  Google Scholar 

  18. Huynh, T., Schiele, B.: Analyzing features for activity recognition. In: Proceedings of the Joint Conference on Smart Objects and Ambient Intelligence (sOc-EUSAI ’05), pp. 159–163. Grenoble, France (2005)

  19. Karantonis, D., Narayanan, M., Mathie, M., Lovell, N., Celler, B.: Implementation of a real-time human movement classifier using a triaxial accelerometer for ambulatory monitoring. IEEE Trans. Inf. Technol. Biomed. 10(1), 156–167 (2006)

    Article  Google Scholar 

  20. Leavitt, M.O.: Physical Activity Guidelines for Americans (2008)

  21. Lee, M.-h., Kim, J., Kim, K., Lee, I., Jee, S.H., Yoo, S.K.: Physical activity recognition using a single tri-axis accelerometer. In: Proceedings of the World Congress on Engineering and Computer Science (WCECS), San Francisco, CA (2009)

  22. Long, X., Yin, B., Aarts, R.M.: Single-accelerometer based daily physical activity classification. In: 31st Annual International IEEE EMBS Conference, pp. 6107–6110. Minneapolis, MN (2009)

  23. Maguire, D., Frisby, R.: Comparison of feature classification algorithm for activity recognition based on accelerometer and heart rate data. In: 9th IT & T Conference, Dublin, Ireland (2009)

  24. Mattila, J., Ding, H., Mattila, E.: Mobile tools for home-based cardiac rehabilitation based on heart rate and movement activity analysis. In: 31st Annual International IEEE EMBS Conference, pp. 6448–6452. Minneapolis, MN (2009)

  25. PAMAP (Physical Activity Monitoring for Aging People): http://www.pamap.org.

  26. Pärkkä, J., Ermes, M., Korpipää, P., Mäntyjärvi, J., Peltola, J., Korhonen, I.: Activity classification using realistic data from wearable sensors. IEEE Trans. Inf. Technol. Biomed. 10(1), 119–128 (2006)

    Article  Google Scholar 

  27. Pärkkä, J., Ermes, M., Antila,K., van Gils, M., Mänttäri, A., Nieminen, H.: Estimating intensity of physical activity: a comparison of wearable accelerometer and gyro sensors and 3 sensor locations. In: 29th Annual International IEEE EMBS Conference, pp. 1511–1514. Lyon, France (2007)

  28. Pärkkä, J., Cluitmans, L., Ermes, M.: Personalization algorithm for real-time activity recognition using PDA, wireless motion bands, and binary decision tree. IEEE Trans. Inf. Technol. Biomed.14(5), 1211–1215 (2010)

    Article  Google Scholar 

  29. Patel, S., Mancinelli, C., Bonato, P., Healey, J., Moy, M.: Using wearable densors to monitor physical activities of patients with COPD: a comparison of classifier performance. In: 6th International Workshop on Wearable and Implantable Body Sensor Networks (BSN), pp. 236–241. Berkeley, CA (2009)

  30. Ravi, N., Dandekar, N., Mysore, P., Littman, M.: Activity recognition from accelerometer data. In: 17th Conference on Innovative Applications of Artificial Intelligence (IAAI), pp. 1541–1546. Pittsburgh, PA (2005)

  31. Reiss, A., Stricker, D.: Towards global aerobic activity Monitoring. In: 4th International Conference on Pervasive Technologies Related to Assistive Environments (PETRA), Crete, Greece (2011)

  32. Reiss, A., Weber, M., Stricker, D.: Exploring and extending the boundaries of physical activity recognition. In: IEEE SMC Workshop on Robust Machine Learning Techniques for Human Activity Recognition, pp. 46–50. Anchorage, AK (2011)

  33. Roggen, D., Magnenat, S., Waibel, M., Tröster, G.: Wearable computing: designing and sharing activity recognition systems across platforms. IEEE Robot. Autom. Mag. 18(2), 83–95 (2011)

    Article  Google Scholar 

  34. Russell, S.J., Norvig, P.: Artificial Intelligence: A Modern Approach, 3rd edn. Prentice Hall, Englewood Cliffs (2010)

    Google Scholar 

  35. Stiefmeier, T., Roggen, D., Ogris, G., Lukowicz, P., Tröster, G.: Wearable activity tracking in car manufacturing. IEEE Pervasive Comput. Mag. 7(2), 42–50 (2008)

    Article  Google Scholar 

  36. Tapia, E.M., Intille, S.S., Haskell, W., Larson, K., Wright, J., King, A., Friedman, R.: Real-time recognition of physical activities and their intensities using wireless accelerometers and a heart rate monitor. In: IEEE 11th International Symposium on Wearable Computers (ISWC), pp. 1–4. Boston, MA (2007)

  37. Trivisio: http://www.trivisio.com.

  38. Witten, I.H., Frank, E., Hall, M.A.: Data Mining: Practical Machine Learning Tools and Techniques, 3rd edn. Morgan Kaufmann, Burlington (2011)

    Google Scholar 

  39. Zinnen, A., Blanke, U., Schiele, B.: An analysis of sensor-oriented vs. model-based activity recognition. In: IEEE 13th International Symposium on Wearable Computers (ISWC), pp. 93–1000. Linz, Austria (2009)

Download references

Acknowledgments

This work has been performed within the project PAMAP [25] funded under the AAL Joint Programme (AAL-2008-1). The authors would like to thank the project partners, the EU and national funding authorities for the financial support. For more information, please visit the project’s website. Many thanks to Gabriele Bleser, Gustaf Hendeby, and Markus Weber for the inspiring discussions and the support throughout the sensor setup and data collection, and to Vladimir Hasko for providing the illustration. The authors also would like to thank the DFKI employees participating in the data collection.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Attila Reiss.

Appendix: an overview of the base- and meta-level classifiers used within this work

Appendix: an overview of the base- and meta-level classifiers used within this work

For the training and evaluation of all classifiers—except of the custom decision tree classifier—within this work, the Weka toolkit was used. Weka (Waikato Environment for Knowledge Analysis) is a free machine learning software written in Java. It provides tools for analyzing and understanding data, including the implementation of a huge amount of data mining algorithms, and a graphical user interface for easy data manipulation and visualization. A great description of the Weka toolkit, along with a thorough grounding in the machine learning concepts the toolkit uses, and practical advice for using the different tools and algorithms, can be found in [38].

From the various base-level classifiers the Weka tool- kit offers the following 4 are evaluated in this work: decision tree, kNN, SVM, and Naive Bayes classifier. A detailed introduction into decision tree classification can be found in [34]. C4.5 is a widely used algorithm to generate decision tree classifiers and is implemented in the Weka toolkit. A practical description of choices and settable parameters of this algorithm is given in [38]. The k-nearest neighbor algorithm (kNN) belongs to the instance-based learning methods. In kNN, a new feature vector is classified based on the k closest training examples in the feature space. Support vector machine (SVM) classifiers select a small number of critical boundary instances called support vectors from each class and build a linear discriminant function that separates them as widely as possible [38]. SVM is a useful and popular classification technique not only because it constructs a maximum margin separator, but also because—by using different kernel functions—it is possible to form nonlinear decision boundaries with it. The Weka toolkit uses the libsvm library, and practical advice for using this tool can be found in [17]. Finally, the Naive Bayes classifier is a simple probabilistic classifier, probably the most common Bayesian network model used in machine learning. The model assumes that the features are conditionally independent of each other, given the class. The Naive Bayes model works surprisingly well in practice, even when the conditional independence assumption is not true. A great overview on probabilistic learning, Bayesian classifiers amd learning Bayesian models, is given in [34].

From the various metalearning algorithms in Weka, two ensemble learning methods are selected and evaluated in this work: bagging and boosting. The idea behind these methods is to iteratively learn weak classifiers by manipulating the training dataset, and then combine the weak classifiers into a final strong classifier. For briefly describing bagging and boosting, assume that the training dataset contains N instances: \(({\underline{x}}_i, y_i) i=1{\ldots}N\) (\({\underline{x}}_i\) is the feature vector, y i is the annotated class in \(1{\ldots}C\) of the instance), and \(t=1{\ldots}T\) iterations are performed with the weak classifier \(f({\underline{x}})\). In bagging, from the instances of the trainig dataset, N instances are randomly, with replacement, sampled in each t iteration. The learning algorithm (the weak classifier) is applied on this sample, and the resulting model is stored. After learning, when classifying a new instance, a class is predicted with each of the T stored models. The final decision is the class that has been predicted most often.

The difference in boosting is that the training dataset is reweighted after each iteration, and the single learning models are also weighted for constructing the final strong classifier. There are many variants based on the idea of boosting. One of the most widely used is called AdaBoost (this is implemented in Weka, and is the variant of boosting used in this work):

  1. 1.

    Assign equal weight to each training instance: \(w_i=\frac{1}{N},i=1{\ldots}N\)

  2. 2.

    Repeat for \(t=1{\ldots}T\):

    1. (a)

      Apply learning algorithm to the weigthed dataset, and store resulting model: \(f_{t}({\underline{x}})\).

    2. (b)

      Compute error e t of model on weighted dataset (sum of misclassified instances’ weights):

      $$ e_{t}=\displaystyle\sum\limits_{i:y_{i}\neq f_{t}({\underline{x}}_i)}w_i $$
    3. (c)

      If e t  = 0 or e t  ≥ 0.5:

      Terminate model generation.

    4. (d)

      Repeat for \(i=1{\ldots}N\) instance in dataset:

      • If \(y_{i}=f_{t}({\underline{x}}_i)\), thus the instance is classified correctly by the model: set \(w_{i}\leftarrow w_{i}\cdot \frac{e_t}{1-e_t}\)

    5. (e)

      Renormalize the weight of all instances, so that \(\displaystyle\sum\nolimits_{i}w_{i}=1\) again.

After learning, when classifying a new instance \(({\underline{x}}_n)\):

  1. 1.

    \(\mu _{j}=0,\,j=1{\ldots}C\) (set zero weight to all classes).

  2. 2.

    Repeat for \(t=1{\ldots}T\) (or less) models: \(c=f_{t}({\underline{x}}_n)\) predict class with the model, then set \(\mu _{c} \leftarrow \mu _{c} - \log \frac{{e_{t} }}{{1 - e_{t} }}.\).

  3. 3.

    Return class with highest μ j (from \(j=1{\ldots}C\)).

As can be seen from the above algorithm, the weak classifiers built in the consequent iterations focus on classifying the hard instances correctly. Moreover, when constructing the final classifier, more influence is given to the more successful models. Both bagging and boosting use the same learning algorithm (the same type of weak classifier) in each iteration, for example, a decision tree classifier, and combine these T decision trees into the final strong classifier. In this work, all 4 base-level classifiers introduced above are used and evaluated as learning algorithms for both bagging and boosting. Detailed information on ensemble learning can be found in [34] and in [38]. Moreover, the relation of boosting to additive models, and different variants based on the idea of boosting, is presented in [12].

Rights and permissions

Reprints and permissions

About this article

Cite this article

Reiss, A., Stricker, D. Aerobic activity monitoring: towards a long-term approach. Univ Access Inf Soc 13, 101–114 (2014). https://doi.org/10.1007/s10209-013-0292-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10209-013-0292-5

Keywords

Navigation