Skip to main content

OpenHAR: A Matlab Toolbox for Easy Access to Publicly Open Human Activity Data Sets—Introduction and Experimental Results

  • Chapter
  • First Online:
  • 464 Accesses

Part of the book series: Springer Series in Adaptive Environments ((SPSADENV))

Abstract

OpenHAR is a toolbox for Matlab to combine and unify 3D accelerometer data of ten publicly open data sets. This chapter introduces OpenHAR and provides initial experimental results based on it. Moreover, OpenHAR provides an easy access to these data sets by providing them in the same format, and in addition, units, measurement range, sampling rates, labels, and body position IDs are unified. Moreover, data sets have been visually inspected to fix visible errors, such as sensor in wrong orientation. For Matlab users OpenHAR provides code which user can use to easily select only desired parts of this data. This chapter also introduces OpenHAR to users without Matlab. For them, the whole OpenHAR data is provided as a one .txt-file. Altogether, OpenHAR contains over 280 h of accelerometer data from 211 study subjects performing 17 daily human activities and wearing sensors in 14 different body positions. This chapter shown the first experimental results based on OpenHAR data. The experiment was done using three classifiers: linear discriminant analysis (LDA), quadratic discriminant analysis (QDA), and classification and regression tree (CART). The experiment showed that using LDA and QDA classifiers and OpenHAR data, as high recognition rates can be achieved in a previously unseen test data than by using a data set specially collected for this purpose. With CART the results obtained using OpenHAR data were slightly lower.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    OpenHAR is available at: https://www.oulu.fi/bisg/datasets.

References

  • Anguita D, Ghio A, Oneto L, Parra Perez X, Reyes Ortiz JL (2013) A public domain dataset for human activity recognition using smartphones. In: Proceedings of the 21th international European symposium on artificial neural networks, computational intelligence and machine learning, pp 437–442

    Google Scholar 

  • Banos O, Garcia R, Holgado-Terriza JA, Damas M, Pomares H, Rojas I, Saez A, Villalonga C (2014) mHealthDroid: a novel framework for agile development of mobile health applications. In: Pecchia L, Chen LL, Nugent C, Bravo J (eds) Ambient assisted living and daily activities. Springer International Publishing, Cham, pp 91–98

    Chapter  Google Scholar 

  • Bartlett J, Prabhu V, Whaley J (2017) Acctionnet: a dataset of human activity recognition using on-phone motion sensors. In: Proceedings of the 34th international conference on machine learning, Sydney, Australia

    Google Scholar 

  • Breiman L (2017) Classification and regression trees. Routledge

    Google Scholar 

  • Chereshnev R, Kertész-Farkas A (2017) HuGaDB: human gait database for activity recognition from wearable inertial sensor networks. In: International conference on analysis of images, social networks and texts. Springer, pp 131–141

    Google Scholar 

  • Gjoreski H, Ciliberto M, Wang L, Morales FJO, Mekki S, Valentin S, Roggen D (2018) The university of Sussex-Huawei locomotion and transportation dataset for multimodal analytics with mobile devices. IEEE Access

    Google Scholar 

  • Hand DJ, Mannila H, Smyth P (2001) Principles of data mining. MIT Press, Cambridge, MA, USA

    Google Scholar 

  • Incel O, Kose M, Ersoy C (2013) A review and taxonomy of activity recognition on mobile phones. BioNanoScience 3(2):145–171

    Article  Google Scholar 

  • Kose M, Incel OD, Ersoy C (2012) Online human activity recognition on smart phones. In: Workshop on mobile sensing: from smartphones and wearables to big data, vol 16, pp 11–15

    Google Scholar 

  • Lockhart JW, Pulickal T, Weiss GM (2012) Applications of mobile activity recognition. In: 2012 ACM conference on ubiquitous computing, UbiComp ’12. ACM, New York, NY, USA, pp 1054–1058

    Google Scholar 

  • Micucci D, Mobilio M, Napoletano P (2017) UniMiB SHAR: a dataset for human activity recognition using acceleration data from smartphones. Appl Sci 7(10):1101

    Article  Google Scholar 

  • Reiss A, Stricker D (2012) Introducing, a new benchmarked dataset for activity monitoring. In: 16th international symposium on wearable computers (ISWC). IEEE, pp 108–109

    Google Scholar 

  • Shoaib M, Bosch S, Incel OD, Scholten H, Havinga P (2014) Fusion of smartphone motion sensors for physical activity recognition. Sensors 14(6):10146–10176

    Article  Google Scholar 

  • Siirtola P, Komulainen J, Kellokumpu V (2018a) Effect of context in swipe gesture-based continuous authentication on smartphones. In: 26th European symposium on artificial neural networks, computational intelligence and machine learning, ESANN 2018, pp 639–644, 25–27 Apr 2018

    Google Scholar 

  • Siirtola P, Koskimäki H, Röning J (2018b) Personalizing human activity recognition models using incremental learning. In: 26th European symposium on artificial neural networks, computational intelligence and machine learning, ESANN 2018, pp 627–632, 25–27 Apr 2018

    Google Scholar 

  • Siirtola P, Koskimäki H, Röning J (2018c) Experiences with publicly open human activity data sets—studying the generalizability of the recognition models. In: Proceedings of the 7th international conference on pattern recognition applications and methods. SCITEPRESS, pp 291–299

    Google Scholar 

  • Siirtola P, Koskimäki H, Röning J (2018d) OpenHAR: a matlab toolbox for easy access to publicly open human activity data sets. In: Proceedings of the 2018 ACM international joint conference and 2018 international symposium on pervasive and ubiquitous computing and wearable computers. ACM, pp 1396–1403

    Google Scholar 

  • Siirtola P, Laurinen P, Röning J, Kinnunen H (2011) Efficient, accelerometer-based swimming exercise tracking. In: IEEE Symposium on computational intelligence and data mining (CIDM). IEEE, pp 156–161

    Google Scholar 

  • Siirtola P, Röning J (2012) Recognizing human activities user-independently on smartphones based on accelerometer data. Int J Interact Multimed Artif Intell 1(5):38–45 June

    Google Scholar 

  • Stisen A, Blunck H, Bhattacharya S, Prentow TS, Kjærgaard MB, Dey A, Sonne T, Jensen MM (2015) Smart devices are different: Assessing and mitigatingmobile sensing heterogeneities for activity recognition. In: Proceedings of the 13th ACM conference on embedded networked sensor systems. ACM, pp 127–140

    Google Scholar 

  • Suto J, Oniga S, Lung C, Orha I (2018) Comparison of offline and real-time human activity recognition results using machine learning techniques. In: Neural computing and applications, pp 1–14

    Google Scholar 

  • Sztyler T, Stuckenschmidt H (2016) On-body localization of wearable devices: an investigation of position-aware activity recognition. In: 2016 IEEE international conference on pervasive computing and communications (PerCom). IEEE, pp 1–9

    Google Scholar 

  • Vavoulas G, Chatzaki C, Malliotakis T, Pediaditis M, Tsiknakis M (2016) The mobiact dataset: recognition of activities of daily living using smartphones. In: ICT4AgeingWell, pp 143–151

    Google Scholar 

  • Widhalm P, Leodolter M, Brändle N (2018) Top in the lab, flop in the field? Evaluation of a sensor-based travel activity classifier with the SHL dataset. In: Proceedings of the 2018 ACM international joint conference and 2018 international symposium on pervasive and ubiquitous computing and wearable computers, UbiComp ’18. ACM, New York, NY, USA, pp 1479–1487

    Google Scholar 

  • Zhang M, Sawchuk AA (2012) USC-HAD: a daily activity dataset for ubiquitous activity recognition using wearable sensors. In: ACM international conference on ubiquitous computing (Ubicomp) workshop on situation, activity and goal awareness (SAGAware), Pittsburgh, Pennsylvania, USA, Sept 2012

    Google Scholar 

Download references

Acknowledgements

The authors would like to thank Infotech Oulu for funding this work. In addition, the authors would like to thank the authors of Anguita et al. (2013), Banos et al. (2014), Chereshnev and Kertész-Farkas (2017), Micucci et al. (2017), Shoaib et al. (2014), Siirtola et al. (2012), Stisen et al. (2015), Sztyler and Stuckenschmidt (2016), Vavoulas et al. (2016), Zhang and Sawchuk (2012) for collecting and publishing the original data sets.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pekka Siirtola .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Siirtola, P., Koskimäki, H., Röning, J. (2019). OpenHAR: A Matlab Toolbox for Easy Access to Publicly Open Human Activity Data Sets—Introduction and Experimental Results. In: Kawaguchi, N., Nishio, N., Roggen, D., Inoue, S., Pirttikangas, S., Van Laerhoven, K. (eds) Human Activity Sensing. Springer Series in Adaptive Environments. Springer, Cham. https://doi.org/10.1007/978-3-030-13001-5_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-13001-5_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-13000-8

  • Online ISBN: 978-3-030-13001-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics