Skip to main content
Log in

Two phase ensemble classifier for smartphone based human activity recognition independent of hardware configuration and usage behaviour

  • Technical Paper
  • Published:
Microsystem Technologies Aims and scope Submit manuscript

Abstract

Human activity recognition is an important technology in pervasive computing as it provides valuable information for smart healthcare and assisted living applications. Use of smartphones for activity recognition poses new challenges due to variation in hardware configuration and usage behaviour like how the smartphone is kept. Only a few recent works address one or more of these challenges. Consequently, in this paper we present a two phase activity recognition framework for identifying both static and dynamic activities addressing above mentioned challenges using smart handhelds. The framework through feature selection and ensemble classifier, address the variance due to different hardware configuration and usage behaviour. The two-phase framework is implemented and tested on real dataset collected from ten users with six different device configurations. Data is collected from accelerometer only as this sensor is available in any kind of smart handheld devices. In the first phase, the best training set is identified that is fed to the ensemble as input. In the next phase, the classifier based ensemble gives the final output through majority voting. It is observed that, with our proposed two phase classification, the accuracy level of 98% can be achieved for activity recognition while maintaining energy efficiency as only time domain features are considered.

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
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

References

  • Acharjee D, Mukherjee A, Mandal JK, Mukherjee N (2016) Activity recognition system using inbuilt sensors of smart mobile phone and minimizing feature vectors. J Microsyst Technol 22(11):2715–2722

    Article  Google Scholar 

  • Acharjee D, Maity SP, Mukherjee A (2017) Hidden Markov model a tool for recognition of human contexts using sensors of smart mobile phone. J Microsyst Technol 23(3):571–582

    Article  Google Scholar 

  • Anguita D, Ghio A, Oneto L, Parra X and Reyes-Ortiz JL (2012) Human activity recognition on smartphones using a multiclass hardware-friendly support vector machine. The 4th international conference on ambient assisted living and home care-IWAAL’12, Vitoria-Gasteiz. Springer, Berlin, pp 216–223

  • Awan MA, Guangbin Z, Kim H-C, Kim S-D (2015) Subject-independent human activity recognition using Smartphone accelerometer with cloud support. Int J Ad Hoc Ubiquitous Comput 20(3):172–185

    Article  Google Scholar 

  • Banerjee T, Keller JM, Skubic M, Stone E (2014) Day or night activity recognition from video using fuzzy clustering techniques. IEEE Trans Fuzzy Syst 22(3):483–493

    Article  Google Scholar 

  • Bayat A, Pomplun M, Tran DA (2014) A study on human activity recognition using accelerometer data from smartphones. In: The 11th international conference on mobile systems and pervasive computing (MobiSPC-2014), pp 450–457

  • BergEmons JVD, Bussmann JB, Hasima JA, Sluis TA, Woude LHVD, Bergen MP, Stam HJ (2008) A prospective study on physical activity levels after spinal cord injury during inpatient rehabilitation and the year after discharge. Arch Phys Med Rehabil 89(11):2094–2101

    Article  Google Scholar 

  • Biswas S, Quwaider M (2008) Remote monitoring of soldier safety through body posture identification using wearable sensor networks. The International Society for Optical Engineering 6980:69800G-1-69800G-12

  • Boslaugh S (2012) Statistics in a nutshell, 2nd edn. O’Reilly Media, Sebastopol

    Google Scholar 

  • Cleland I, Kikhia B, Nugent C, Boytsov A, Hallberg J, Synnes K, McClean S, Finlay D (2013) Optimal placement of accelerometers for the detection of everyday activities. Sensors 13(7):9183–9200

    Article  Google Scholar 

  • Coskun D, Incel OD, Ozgovde A (2015) Phone position/placement detection using accelerometer: impact on activity recognition. In: IEEE tenth international conference on intelligent sensors, sensor networks and information processing (ISSNIP), pp 1–6

  • Czejdo BD, Baszun M (2010) Remote patient monitoring system and a medical social network. Int J Soc Hum Comput 1(3):273–281

    Google Scholar 

  • Dinakaran S, Thangaiah PRJ (2013) Role of attribute selection in classification algorithms. Int J Sci Eng Res 4(6):67–71

    Google Scholar 

  • GSensorLogger. https://play.google.com/store/apps/details?id=com.peterhohsy.gsensor_debug&hl=en. Accessed 22 Sept 2017

  • Guiry JJ, Ven P, Nelson J, Warmerdam L, Riper H (2014) Activity recognition with smartphone support. Med Eng Phys 36(6):670–675

    Article  Google Scholar 

  • James G, Witten D, Hastie T, Tibshirani R (2013) An introduction to statistical learning with applications in R. Springer, New York

    Book  MATH  Google Scholar 

  • Keogh E (2011) Instance-based learning. In: Sammut C, Webb GI (eds) Encyclopedia of machine learning. Springer, Boston

    Google Scholar 

  • Kim J, Choi HS, Wang H, Agoulmine N, Deerv MJ, Hong JWK (2010) POSTECH’s U-Health Smart Home for elderly monitoring and support. In: The IEEE international symposium on a world of wireless, mobile and multimedia networks (WoWMoM), pp 1–6

  • Kwapisz JR, Weiss GM, Moore SA (2010) Activity recognition using cell phone accelerometers. ACM SIGKDD Explor Newslett 12(2):74–82

    Article  Google Scholar 

  • Lara OD, Péreza AJ, Labradora MA, Posadab JD (2012) Centinela: a human activity recognition system based on acceleration and vital sign data. Pervasive Mobile Comput 8(5):717–729

    Article  Google Scholar 

  • Lau SL, König I, David K, Parandian B, Carius-Düssel C, Schultz M (2010) Supporting patient monitoring using activity recognition with a smartphone. In: The 7th international symposium on wireless communication systems, York, pp 810–814

  • Li Y, Shi D, Ding B, Liu D (2014) Unsupervised feature learning for human activity recognition using smartphone sensors. In: Prasath R, O’Reilly P, Kathirvalavakumar T (eds) Mining intelligence and knowledge exploration. Lecture Notes in Computer Science, vol 8891. Springer, pp 99–107

  • Maldonado S, Weber R (2009) A wrapper method for feature selection using Support Vector Machines Information Sciences. Inf Sci 179(13):2208–2217

    Article  Google Scholar 

  • MalekiTabar A, Keshavarz A, Aghajan H (2006) Smart home care network using sensor fusion and distributed vision-based reasoning. The VSSN’06, California, pp 145–154

  • Martin H, Bernardos AM, Iglesias J, Casar JR (2013) Activity logging using lightweight classification techniques in mobile devices. Pers Ubiquitous Comput 17(4):675–695

    Article  Google Scholar 

  • MatlabR2013. https://in.mathworks.com/products/new_products/release2013a.html. Accessed 22 Sept 2017

  • Miao F, He Y, Liu J, Li Y, Ayoola I (2015) Identifying typical physical activity on smartphone with varying positions and orientations. Bio Med Eng Online 14:32

    Article  Google Scholar 

  • Quwaider M, Biswas S (2008) Body posture identification using hidden markov model with a wearable sensor network. In: TheBodyNets ‘08 proceedings of the ICST 3rd international conference on body area networks, Tempe, pp 1–8

  • Reddy S, Mun M, Burke J, Estin D, Hansen M, Srivastava M (2010) Using mobile phones to determine transportation modes. ACM Trans Sens Netw 6(2):1–27

    Article  Google Scholar 

  • Ren L, Shi W (2016) Chameleon: personalised and adaptive fall detection of elderly people in home-based environments. Int J Sens Netw 20(3):163–176

    Article  Google Scholar 

  • Riboni D, Bettini C (2011) Cosar: hybrid reasoning for context-aware activity recognition. Pers Ubiquitous Comput 15:271–289

    Article  Google Scholar 

  • Roy N, Misra A, Cook D (2016) Ambient and smartphone sensor assisted ADL recognition in multi-inhabitant smart environments. J Ambient Intell Hum Comput 7(1):1–19

    Article  Google Scholar 

  • Sánchez-Maroño N, Alonso-Betanzos A, Tombilla-Sanromán M (2007) Filter methods for feature selection—a comparative study. In: Yin H, Tino P, Corchado E, Byrne W, Yao X (eds) Intelligent data engineering and automated learning—IDEAL 2007. Lecture Notes in Computer Science, vol 4881. Springer, Berlin, pp 178–187

  • Sebestyen G, Stoica I, Hangan A (2016) Human activity recognition and monitoring for elderly people. In: The IEEE 12th international conference on intelligent computer communication and processing (ICCP), Cluj-Napoca, pp 341–347

  • Shany T, Redmond SJ, Narayanan MR, Lovell NH (2012) Sensors-based wearable systems for monitoring of human movement and falls. IEEE Sens J 12(3):658–670

    Article  Google Scholar 

  • Shoaib M, Scholten H, Havinga PJM (2013) Towards physical activity recognition using smartphone sensors. The IEEE 10th international conference on ubiquitous intelligence and computing, Vietri sul Mere, pp 80–87

  • Stikic M, Larlus D, Schiele B (2009) Multi-graph based semi supervised learning for activity recognition. In: The international symposium on wearable computers, pp 85–92

  • Su X, Tong H, Pi Ji (2014) Activity recognition with smartphone sensors. Tsinghua Sci Technol 19(3):235–249

    Article  Google Scholar 

  • Sun L, Zhang D, Li B, Guo B, Li S (2010) Activity recognition on an accelerometer embedded mobile phone with varying positions and orientations. In: Yu Z, Liscano R, Chen G, Zhang D, Zhou X (eds) Ubiquitous intelligence and computing. UIC 2010. Lecture Notes in Computer Science, vol 6406. Springer, pp 548–562

  • Thomas AM, Moore P, Evans C, Shah H, Sharma M, Mount S, Xhafa F, Pham HV, Barolli L, Patel A, Wilcox AJ, Chapman C, Chima P (2013) Smart care spaces: pervasive sensing technologies for at home care. Int J Ad Hoc Ubiquitous Comput 16(4):268–282

    Article  Google Scholar 

  • Tran DN, Phan DD (2016) Human activities recognition in android smartphone using support vector machine. In: The 7th international conference on intelligent systems, modelling and simulation (ISMS), Bangkok, pp 64–68

  • Ustev YE, Incel OD, Ersoy C (2013) User, device and orientation independent human activity recognition on mobile phone challenges and a proposal. In: The ACM conference on pervasive and ubiquitous computing adjunct publication, Zurich, pp 1427–1435

  • Van Hees VT, Gorzelniak L, Dean Leon EC, Eder M, Pias M et al (2013) Separating movement and gravity components in an acceleration signal and implications for the assessment of human daily physical activity. PLoS One 8(4):e61691

    Article  Google Scholar 

  • Wang WZ, GuoYW, Huang BY, Zhao GR, Liu BQ, Wang L (2011) Analysis of filtering methods for 3D acceleration signals in body sensor network. In: The international symposium on bioelectronics and bioinformations 2011, Suzhou, pp 263–266

  • Wang C, Zhang JZ, Wang Z, Wang J (2013) Position-independent activity recognition model for smartphone based on frequency domain algorithm. In: IEEE 3rd international conference on computer science and network technology, pp 396–399

  • Weka3.7. http://www.cs.waikato.ac.nz/ml/weka/. Accessed 22 Sept 2017

  • Wu WH, Bui AAT, Batalin MA, Au LK, Binney JD, Kaiser WJ (2008) MEDIC: medical embedded device for individualized care. Artif Intell Med 42:137–152

    Article  Google Scholar 

  • Wu W, Dasgupta S, Ramirez EE, Peterson C, Norman GJ (2012) Classification accuracies of physical activities using smartphone motion sensors. J Med Internet Res 14(5):e130

    Article  Google Scholar 

  • Yang R, Wang B (2016) PACP: a position-independent activity recognition method using smartphone sensors. Information 7(4):1–18

    Article  Google Scholar 

  • Yuan Y, Wang C, Zhang J, Xu J, Li M (2014) An ensemble approach for activity recognition with accelerometer in mobile-phone. In: The IEEE 17th international conference on computational science and engineering, Chengdu, pp 1469–1474

  • Zhang S, McCullagh P, Nugent C, Zheng H (2010) Activity monitoring using a smart phone’s accelerometer with hierarchical classification. In: The sixth international conference on intelligent environments, Kuala Lumpur, pp 158–163

  • Zhou ZH (2009) Ensemble learning. In: Li SZ, Jain AK (eds) Encyclopedia of biometrics. Springer, US, pp 270–273

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chandreyee Chowdhury.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Saha, J., Chowdhury, C. & Biswas, S. Two phase ensemble classifier for smartphone based human activity recognition independent of hardware configuration and usage behaviour. Microsyst Technol 24, 2737–2752 (2018). https://doi.org/10.1007/s00542-018-3802-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00542-018-3802-9

Navigation