Abstract
The use of wearable devices, sensors, machine learning, and deep learning for human activity recognition (HAR) applications has increased in recent years. Lots of researchers introduce different methods and techniques for HAR but accuracy and efficiency are still a gap to work in the HAR domain for other researchers. In this study, we design a simple architecture of MLP with a stack of dense layers which can perform accurately and efficiently on small and large features set for HAR. This study used a dataset that contain smartphone sensors (gyroscope and accelerometer) data against six daily human activities. Each sensor has three feature values corresponding to an instance for an activity. First, we train our proposed model individually on gyroscope and accelerometer data and then we combine both sensors data to train the model. We train the model using 70% of the dataset and evaluate the performance of the model on 30% data. MLP outperforms all other stat of the art models in comparison such as random forest, decision tree, logistic regression, and K nearest neighbor. The MLP accuracy scores are 0.74, 0.77, and 0.98 using features of gyroscope, accelerometer, and combination of both respectively. The results show that the proposed approach is also good with single sensor data. In comparison with the proposed MLP, we also deployed state-of-the-art models such as LSTM, CNN, and other machine learning models. Proposed MLP outperforms all used models in terms of all evaluation parameters. We also did a statistical T-test to show the significance of the proposed approach.
Similar content being viewed by others
References
Ali A, Zhu Y, Zakarya M (2021) A data aggregation based approach to exploit dynamic spatio-temporal correlations for citywide crowd flows prediction in fog computing. Multimed Tools Appl 80(20):31401–31433
Ali A, Zhu Y, Zakarya M (2021) Exploiting dynamic spatio-temporal correlations for citywide traffic flow prediction using attention based neural networks. Inf Sci 577:852–870
Biau G, Scornet E (2016) A random forest guided tour. Test 25 (2):197–227
Brijain M, Patel R, Kushik M, Rana K (2014) A survey on decision tree algorithm for classification
Chung S, Lim J, Noh KJ, Kim G, Jeong H (2019) Sensor data acquisition and multimodal sensor fusion for human activity recognition using deep learning. Sensors 19(7):1716
Cornacchia M, Ozcan K, Zheng Y, Velipasalar S (2016) A survey on activity detection and classification using wearable sensors. IEEE Sensors J 17(2):386–403
Dongare AD, Kharde RR, Kachare AD (2012) Introduction to artificial neural network. Int J Eng Innov Technol (IJEIT) 2(1):189–194
Dua N, Singh SN, Semwal VB (2021) Multi-input CNN-GRU based human activity recognition using wearable sensors. Computing 103(7):1461–1478
Ignatov A (2018) Real-time human activity recognition from accelerometer data using convolutional neural networks. Appl Soft Comput 62:915–922
Kleinbaum DG, Dietz K, Gail M, Klein M, Klein M (2002) Logistic Regression. Springer, New York
Kotsiantis SB, Zaharakis I, Pintelas P (2007) Supervised machine learning: a review of classification techniques. Emerg Artif Intell Appl Comput Eng 160(1):3–24
Lara OD, Labrador MA (2012) A survey on human activity recognition using wearable sensors. IEEE Commun Surv Tutor 15(3):1192–1209
Lockhart JW, Pulickal T, Weiss GM (2012) Applications of mobile activity recognition. In: Proceedings of the 2012 ACM conference on ubiquitous computing, pp 1054–1058
Mendes S, Queiroz J, Leitão P (2017) Data driven multi-agent m-health system to characterize the daily activities of elderly people. In: 2017 12th Iberian Conference on Information Systems and Technologies (CISTI). IEEE, (pp 1–6)
Munoz-Organero M (2019) Outlier detection in wearable sensor data for human activity recognition (HAR) based on DRNNs. IEEE Access 7:74422–74436
Nweke HF, Teh YW, Mujtaba G, Al-Garadi MA (2019) Data fusion and multiple classifier systems for human activity detection and health monitoring: Review and open research directions. Inf Fusion 46:147–170
Omar B, Rustam F, Mehmood A, Choi GS (2021) Minimizing the overlapping degree to improve class-imbalanced learning under sparse feature selection: application to fraud detection. IEEE Access 9:28101–28110
Ranasinghe S, Al Machot F, Mayr HC (2016) A review on applications of activity recognition systems with regard to performance and evaluation. Int J Distrib Sens Netw 12(8):1550147716665520
Rashid 3- N, Utku Demirel B, Abdullah Al Faruque M (2021) AHAR: adaptive CNN for energy-efficient human activity recognition in lowpower edge devices, arXiv:2102.01875
Ravi D, Wong C, Lo B, Yang GZ (2016) Deep learning for human activity recognition: A resource efficient implementation on low-power devices. In: 2016 IEEE 13th international conference on wearable and implantable body sensor networks (BSN). IEEE, (pp 71–76)
Rokni SA, Nourollahi M, Ghasemzadeh H (2018) Personalized human activity recognition using convolutional neural networks. arXiv:1801.08252
Ronao CA, Cho SB (2016) Human activity recognition with smartphone sensors using deep learning neural networks. Expert Syst Appl 59:235–244
Rustam F, Imtiaz Z, Mehmood A, Rupapara V, Choi GS, Din S, Ashraf I (2022) Automated disease diagnosis and precaution recommender system using supervised machine learning. Multimed Tools Appl, pp 1–24
Rustam F, Mehmood A, Ahmad M, Ullah S, Khan DM, Choi GS (2020) Classification of shopify app user reviews using novel multi text features. IEEE Access 8:30234–30244
Rustam F et al (2020) Sensor-based Human Activity Recognition using Deep Stacked Multilayered Perceptron Model. In: IEEE Access, https://doi.org/10.1109/ACCESS.2020.3041822
Saeed A, Ozcelebi T, Lukkien J (2019) Multi-task self-supervised learning for human activity detection. Proc ACM Interact Mob Wearable Ubiquitous Technol 3(2):1–30
Schmidt-Hieber J (2020) Nonparametric regression using deep neural networks with reLU activation function. Ann Stat 48(4):1875–1897
Siddiqui HUR, Shahzad HF, Saleem AA, Khan Khakwani AB, Rustam F, Lee E, Ashraf I, Dudley S (2021) Respiration based Non-Invasive approach for emotion recognition using impulse radio ultra wide band radar and machine learning. Sensors 21(24):8336
Singh D, Merdivan E, Psychoula I, Kropf J, Hanke S, Geist M, Holzinger A (2017) Human activity recognition using recurrent neural networks. In: International cross-domain conference for machine learning and knowledge extraction). Springer, Cham, pp 267–274
Soucy P, Mineau GW (2001) A simple KNN algorithm for text categorization. In: Proceedings 2001 IEEE international conference on data mining. IEEE, (pp 647–648)
Swarnakar SK, Agrawal H, Goel A (2021) Smartphone inertial sensors-based human activity detection using support vector machine. In: Soft computing: theories and applications. Springer, Singapore, (pp 231–241)
Vrigkas M, Nikou C, Kakadiaris IA (2015) A review of human activity recognition methods. Frontiesr Robotics AI 2:28
Wan S, Qi L, Xu X, Tong C, Gu Z (2020) Deep learning models for real-time human activity recognition with smartphones. Mob Netw Appl 25(2):743–755
Webber WRS, Lesser RP, Richardson RT, Wilson K (1996) An approach to seizure detection using an artificial neural network (ANN). Electroencephalogr Clin Neurophysiol 98(4):250–272
Xia K, Huang J, Wang H (2020) LSTM-CNN architecture for human activity recognitions. In: IEEE Access, vol 8, pp 56855–56866. https://doi.org/10.1109/ACCESS.2020.2982225
Yang J, Nguyen MN, San PP, Li X, Krishnaswamy S (2015) Deep convolutional neural networks on multichannel time series for human activity recognition. In: Ijcai, vol 15, pp 3995–4001
Zhuang Z, Xue Y (2019) Sport-Related Human activity detection and recognition using a smartwatch. Sensors 19(22):5001
hmed N, Rafiq JI, Islam MR (2020) Enhanced human activity recognition based on smartphone sensor data using hybrid feature selection model. Sensors 20:317. https://doi.org/10.3390/s20010317
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interests
The authors declare that they have no conflict of interest.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Geravesh, S., Rupapara, V. Artificial neural networks for human activity recognition using sensor based dataset. Multimed Tools Appl 82, 14815–14835 (2023). https://doi.org/10.1007/s11042-022-13716-z
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-13716-z