Clustering Time-Series Data Generated by Smart Devices for Human Activity Recognition

  • R. JothiEmail author
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 940)


Human activity recognition (HAR) from the time-series data generated by smarlt devices like smartphones and smartwathces is absolutely necessary for future intelligent health-care systems. A number of machine learning approaches have been devised for human activity recognition from such devices. However, most of the existing approaches have considered activity recognition as a supervised learning problem, which requires a training dataset for learning the activities. With ever-growing computing power of smart devices, the amount of data generated by these devises is also increasing in manifold. Thus, it becomes a tedious task to annotate the data collected from the smart devices. Being an unsupervised learning approach, cluster analysis provides meaningful insights on hidden patterns in the huge volume of data without training examples. Hence cluster analysis can be used as a preprocessing step in human activity recognition when there is no sufficient information about the number of activities. This paper presents a comparative study of three clustering algorithms such as K-means, hierarchical agglomerative clustering and Fuzzy C-means for human activity recognition problem. A method to automatically determine the number of activities is also demonstrated in this paper. Experimental results on two UCI activity recognition datasets show that FCM algorithm effectively categorizes the activities.


Human-activity recognition Clustering Time-series data analysis Smart-devices data analysis 


  1. 1.
    Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J.L.: Human activity recognition on smartphones using a multiclass hardware-friendly support vector machine. In: Ambient Assisted Living and Home Care, pp. 216–223. Springer, Heidelberg (2012)Google Scholar
  2. 2.
    Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J.L.: A public domain dataset for human activity recognition using smartphones. In: ESANN (2013)Google Scholar
  3. 3.
    Brezmes, T., Gorricho, J.L., Cotrina, J.: Activity recognition from accelerometer data on a mobile phone. In: Omatu, S., Rocha, M.P., Bravo, J., Fernández, F., Corchado, E., Bustillo, A., Corchado, J.M. (eds.) Distributed Computing, Artificial Intelligence, Bioinformatics, Soft Computing, and Ambient Assisted Living, pp. 796–799. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  4. 4.
    Casale, P., Pujol, O., Radeva, P.: Personalization and user verification in wearable systems using biometric walking patterns. Pers. Ubiquitous Comput. 16(5), 563–580 (2012)CrossRefGoogle Scholar
  5. 5.
    Fahad, A., Alshatri, N., Tari, Z., Alamri, A., Khalil, I., Zomaya, A.Y., Foufou, S., Bouras, A.: A survey of clustering algorithms for big data: taxonomy and empirical analysis. IEEE Trans. Emerg. Top. Comput. 2(3), 267–279 (2014)CrossRefGoogle Scholar
  6. 6.
    Jain, A.K., Murty, M.N., Flynn, P.J.: Data clustering: a review. ACM Comput. Surv. (CSUR) 31(3), 264–323 (1999)CrossRefGoogle Scholar
  7. 7.
    Jothi, R.: A betweenness centrality guided clustering algorithm and its applications to cancer diagnosis. In: Mining Intelligence and Knowledge Exploration, pp. 35–42. Springer International Publishing, Cham (2017)CrossRefGoogle Scholar
  8. 8.
    Jothi, R., Mohanty, S.K., Ojha, A.: DK-means: a deterministic k-means clustering algorithm for gene expression analysis. Pattern Anal. Appl., December 2017Google Scholar
  9. 9.
    Köping, L., Shirahama, K., Grzegorzek, M.: A general framework for sensor-based human activity recognition. Comput. Biol. Med. 95, 248–260 (2018)CrossRefGoogle Scholar
  10. 10.
    Kwapisz, J.R., Weiss, G.M., Moore, S.A.: Activity recognition using cell phone accelerometers. ACM SigKDD Explor. Newsl. 12(2), 74–82 (2011)CrossRefGoogle Scholar
  11. 11.
    Kwon, Y., Kang, K., Bae, C.: Unsupervised learning for human activity recognition using smartphone sensors. Expert Syst. Appl. 41(14), 6067–6074 (2014)CrossRefGoogle Scholar
  12. 12.
    Lara, O.D., Labrador, M.A.: A survey on human activity recognition using wearable sensors. IEEE Commun. Surv. Tutor. 15, 1192–1209 (2013)CrossRefGoogle Scholar
  13. 13.
    Morales, J., Akopian, D.: Physical activity recognition by smartphones, a survey. Biocybern. Biomed. Eng. 37(3), 388–400 (2017)CrossRefGoogle Scholar
  14. 14.
    Ramasamy Ramamurthy, S., Roy, N.: Recent trends in machine learning for human activity recognition—a survey. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, p. e1254 (2018)Google Scholar
  15. 15.
    Reyes-Ortiz, J.L., Oneto, L., Samà, A., Parra, X., Anguita, D.: Transition-aware human activity recognition using smartphones. Neurocomputing 171, 754–767 (2016)CrossRefGoogle Scholar
  16. 16.
    Ronao, C.A., Cho, S.B.: Human activity recognition with smartphone sensors using deep learning neural networks. Expert. Syst. Appl. 59, 235–244 (2016)CrossRefGoogle Scholar
  17. 17.
    Rousseeuw, P.J.: Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 20, 53–65 (1987)CrossRefGoogle Scholar
  18. 18.
    Su, X., Tong, H., Ji, P.: Activity recognition with smartphone sensors. Tsinghua Sci. Technol. 19(3), 235–249 (2014)CrossRefGoogle Scholar
  19. 19.
    Yang, J.Y., Wang, J.S., Chen, Y.P.: Using acceleration measurements for activity recognition: an effective learning algorithm for constructing neural classifiers. Pattern Recognit. Lett. 29(16), 2213–2220 (2008)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Department of Computer Engineering, School of TechnologyPandit Deendayal Petroleum UniversityGandhinagarIndia

Personalised recommendations