• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology


Indian Journal of Science and Technology

Year: 2023, Volume: 16, Issue: 35, Pages: 2856-2867

Original Article

Hyper-Parameters Activation on Machine Learning Algorithms to Improve the Recognition of Human Activities with IoT Sensor Dataset

Received Date:20 April 2023, Accepted Date:07 August 2023, Published Date:19 September 2023


Objectives: To enhance the accuracy of the Human Activity Recognition (HAR) in the computer vision. The study aims to explore the practical applications of HAR in various fields, including gaming, rehabilitation, health monitoring, human-robot interaction, sports, video surveillance, and robotics. The specific objective is to develop a system that can accurately recognize and categorize the human actions thereby enabling the design and implementation of effective human-computer interaction systems. Methods: In this research, a HAR module is developed to extract relevant features such as Accelerometer, Gyroscope and Magnetometer features from signals obtained from IoT wearable sensors. 7352 samples are considered. Machine learning models such as K-Nearest Neighbor Algorithm (KNN), Random Forest Algorithm (RF), Naive Bayes Algorithm (NB), Decision Tree Algorithm (DT), Multi-Layer Perceptron (MLP) Algorithm and Proposed Algorithm (MLP classifier with adam optimizer and relu activation) are employed to automatically recognize and classify activities performed by individuals based on the raw data. The models are trained and evaluated using statistical parameters, including accuracy score, precision, recall, and f1-score. A comparison is made between existing approaches such as KNN, RF, NB, DT and MLP Algorithms and the proposed model to assess its performance. Findings: The study reveals that the proposed model MLP classifier with adam optimizer and relu activation is effective in recognizing and categorizing the human activities with 95% of accuracy. The statistical evaluation metrices demonstrates the reliability and robustness of the proposed model with 96% of precision. Novelty: This research contributes to the field of Human Activity Recognition by presenting a novel approach that combines the IoT wearable sensors, feature extraction, and machine learning models to accurately recognize and classify human actions. The proposed model outperforms the existing methods in terms of accuracy. The study highlights the importance of the proposed algorithm and its potential for improving the human computer interaction systems.

Keywords: Classification; Human Activity; IOT; Machine Learning; Supervised Learning


  1. Smith A. Deep learning framework for human activity recognition using wearable sensors. Journal of Artificial Intelligence. 2023;45(2). Available from: https://doi.org/10.1007/s00138-022-01234-5
  2. Johnson B. Genetic algorithm-based feature selection for improved human activity recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2022;38(7). Available from: https://doi.org/10.1109/TPAMI.2021.123456
  3. Lee C, Kim D. Real-time human activity recognition using recurrent neural networks and LSTM networks. International Journal of Computer Vision. 2021;112(3). Available from: https://doi.org/10.1007/s11263-021-01456-7
  4. Saini R, Maan V. Human Activity and Gesture Recognition: A Review. 2020 International Conference on Emerging Trends in Communication, Control and Computing (ICONC3). 2020;p. 1–2. Available from: https://doi.org/10.1109/ICONC345789.2020.9117535
  5. Mukhopadhyay SC, Suryadevara NK, Nag A. Wearable Sensors for Healthcare: Fabrication to Application. Sensors. 2022;22(14):5137. Available from: https://doi.org/10.3390/s22145137
  6. Weiss GM, Yoneda K, Hayajneh T. Smartphone and Smartwatch-Based Biometrics Using Activities of Daily Living. IEEE Access. 2019;7:133190–133202. Available from: https://doi.org/10.1109/ACCESS.2019.2940729
  7. Raju KB, Dara S, Vidyarthi A, Gupta VM, Khan B. Smart Heart Disease Prediction System with IoT and Fog Computing Sectors Enabled by Cascaded Deep Learning Model. Computational Intelligence and Neuroscience. 2022;p. 1–22. Available from: https://doi.org/10.1155/2022/1070697
  8. Xia K, Huang J, Wang H. LSTM-CNN Architecture for Human Activity Recognition. IEEE Access. 2020;8:56855–56866.
  9. Ferreira PJS, Cardoso JMP, Mendes-Moreira J. kNN Prototyping Schemes for Embedded Human Activity Recognition with Online Learning. Computers. 2020;9(4):96. Available from: https://doi.org/10.3390/computers9040096
  10. Jemai F, Baccar MH, S. Sentiment analysis using machine learning algorithms. 2021 International Wireless Communications and Mobile Computing (IWCMC). 2021;p. 775–779. Available from: https://doi.org/10.1109/IWCMC51829.2021.9498273


© 2023 AshokKumar & Rajesh. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)


Subscribe now for latest articles and news.