Skip to main content

Advertisement

Log in

Performance Analysis of Machine Learning Algorithms for Smartphone-Based Human Activity Recognition

  • Published:
Wireless Personal Communications Aims and scope Submit manuscript

Abstract

As the number of smartphone users is increasing exponentially, there is an increase in the availability of continuous sensor data, which has attracted enormous interest in sensor-based human-activity recognition (HAR). Recognizing human activities is particularly important in detecting abnormal activities and tracking a person's physical activity, especially in healthcare applications, among many others. In this paper, HAR analysis is conducted with three different machine learning algorithms (Support Vector Machines (SVM), Decision tree, and random forest methods) based on smartphone sensors. Machine learning algorithms are capable of identifying and differentiating between different human activities using mobile phone sensor data. The smartphone sensors (gyroscope and accelerometer) data are recorded at the Koneru Lakshmaiah Education Foundation University campus, Guntur, India, with different human activities. In this research work, the data from smartphone mobile sensors were initially analysed with SVM, decision tree, and random forest algorithms. To evaluate the machine learning algorithm's accuracy, F1 score for different smartphone sensors for both individually and combined is estimated. The results indicate that the proposed machine learning methods can derive a relation between type of activity, algorithm, smartphone sensors data, and their corresponding accuracy. The outcome of this work would be beneficial for detecting abnormal features of older people with a smartphone device.

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
Fig. 15

Similar content being viewed by others

References

  1. Abu-Mahfouz, A. M., & Hancke, G. P. (2018). Localised information fusion techniques for location discovery in wireless sensor networks. International Journal of Sensor Networks, 26, 12–25.

    Article  Google Scholar 

  2. Ali, J., Khan, R., Ahmad, N., & Maqsood, I. (2012). Random forests and decision trees. International Journal of Computer Science Issues (IJCSI), 9, 272.

    Google Scholar 

  3. Arize, A. C., Bakarezos, P., Kasibhatla, K. M., Malindretos, J., & Panayides, A. (2014). The gini coefficient. decomposition and overlapping. Journal of Advanced Studies in Finance, 5, 47.

    Google Scholar 

  4. Durgesh, K. S., & Lekha, B. (2010). Data classification using support vector machine. Journal of Theoretical and Applied Information Technology, 12, 1–7.

    Google Scholar 

  5. El-Naqa, I., Yang, Y., Wernick, M. N., Galatsanos, N. P., & Nishikawa, R. M. (2002). A support vector machine approach for detection of microcalcifications. IEEE Transactions on Medical Imaging, 21, 1552–1563.

    Article  Google Scholar 

  6. Frank, K., Vera-Nadales, M. J., Robertson, P., Angermann, M. (2010). Reliable real-time recognition of motion related human activities using MEMS inertial sensors. In Proceedings of the 23rd international technical meeting of the satellite division of the institute of navigation (ION GNSS 2010), pp. 2919–2932.

  7. Géron, A. (2019). Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow: Concepts, tools, and techniques to build intelligent systems: O'Reilly Media.

  8. Istepanian, R. S. H. (1999). Telemedicine in the United Kingdom: Current status and future prospects. IEEE Transactions on Information Technology in Biomedicine, 3, 158–159.

    Article  Google Scholar 

  9. Luštrek, M., Kaluža, B. (2009). Fall detection and activity recognition with machine learning. Informatica, 33.

  10. Pan, J., Li, S., & Xu, Z. (2012). Security mechanism for a wireless-sensor-network-based healthcare monitoring system. IET Communications, 6, 3274–3280.

    Article  Google Scholar 

  11. Patel, N., Upadhyay, S. (2012). Study of various decision tree pruning methods with their empirical comparison in WEKA. International Journal of Computer Applications, 60.

  12. Pei, L., Guinness, R., Chen, R., Liu, J., Kuusniemi, H., Chen, Y., et al. (2013). Human behavior cognition using smartphone sensors. Sensors, 13, 1402–1424.

    Article  Google Scholar 

  13. Susi, M., Borio, D., Lachapelle, G. (2011). Accelerometer signal features and classification algorithms for positioning applications. In Proceedings of the 2011 international technical meeting of the institute of navigation, pp. 158–169.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to D. Venkata Ratnam.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sri Harsha, N.C., Anudeep, Y.G.V.S., Vikash, K. et al. Performance Analysis of Machine Learning Algorithms for Smartphone-Based Human Activity Recognition. Wireless Pers Commun 121, 381–398 (2021). https://doi.org/10.1007/s11277-021-08641-7

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11277-021-08641-7

Keywords

Navigation