Human Activity Recognition Using K-Nearest Neighbor Machine Learning Algorithm

被引:27
|
作者
Mohsen, Saeed [1 ]
Elkaseer, Ahmed [2 ]
Scholz, Steffen G. [2 ,3 ,4 ]
机构
[1] Al Madina Higher Inst Engn & Technol, Elect & Commun Engn Dept, Giza, Egypt
[2] Karlsruhe Inst Technol, Inst Automat & Appl Informat, D-76344 Karlsruhe, Germany
[3] Karlsruhe Nano Micro Facil KNMF, Eggenstein Leopoldshafen, Germany
[4] Swansea Univ, Coll Engn, Future Mfg Res Inst, Swansea SA1 8EN, W Glam, Wales
来源
SUSTAINABLE DESIGN AND MANUFACTURING, KES-SDM 2021 | 2022年 / 262卷
关键词
Machine learning; KNN; Human activity recognition; Industry; 4.0;
D O I
10.1007/978-981-16-6128-0_29
中图分类号
X [环境科学、安全科学];
学科分类号
08 ; 0830 ;
摘要
Smart factory in the era of Industry 4.0 requires humans to have continuous communication capabilities among each other's and with the existing smart assets in order to integrate their activities into a cyber-physical system (CPS) within the smart factory. Machine learning (ML) algorithms can help precisely recognize the human activities, provided that well-designed and trained ML algorithms for high performance recognition are developed. This paper presents a k-nearest neighbor (KNN) algorithm for classification of human activities, namely Laying, Downstairs walking, Sitting, Upstairs walking, Standing, andWalking. This algorithm is trained and the algorithm's parameters are precisely tuned of for high accuracy achievement. Experimentally, a normalized confusion matrix, a classification report of human activities, receiver operating characteristic (ROC) curves, and precision-recall curves are used to analyze the performance of the KNN algorithm. The results show that the KNN algorithm provides a high performance in the classification of human activities. The weighted average precision, recall, F1-score, and the area under the micro-average precision-recall curve for the KNN are 90.96%, 90.46%, 90.37%, and 96.5%, respectively, while the area under the ROC curve is 100%.
引用
收藏
页码:304 / 313
页数:10
相关论文
共 50 条
  • [1] Breast Cancer Detection using K-nearest Neighbor Machine Learning Algorithm
    Al-hadidi, Mohd Rasoul
    Alarabeyyat, Abdulsalam
    Alhanahnah, Mohannad
    2016 9TH INTERNATIONAL CONFERENCE ON DEVELOPMENTS IN ESYSTEMS ENGINEERING (DESE 2016), 2016, : 35 - 39
  • [2] Motorcycle Apprehension using Deep Learning and K-Nearest Neighbor Algorithm
    Garcia, Maria Rosario T.
    Bandala, Argel A.
    Dadios, Elmer P.
    2021 6TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2021,
  • [3] Random K-nearest neighbor algorithm with learning process
    Fu Z.-L.
    Chen X.-Q.
    Ren W.
    Yao Y.
    Jilin Daxue Xuebao (Gongxueban)/Journal of Jilin University (Engineering and Technology Edition), 2024, 54 (01): : 209 - 220
  • [4] Quantum K-nearest neighbor algorithm
    Chen, Hanwu
    Gao, Yue
    Zhang, Jun
    Dongnan Daxue Xuebao (Ziran Kexue Ban)/Journal of Southeast University (Natural Science Edition), 2015, 45 (04): : 647 - 651
  • [5] A Novel Method to Classify Rolling Element Bearing Faults Using K-Nearest Neighbor Machine Learning Algorithm
    Vishwendra, More A.
    Salunkhe, Pratiksha S.
    Patil, Shivanjali, V
    Shinde, Sumit A.
    Shinde, P., V
    Desavale, R. G.
    Jadhav, P. M.
    Dharwadkar, Nagaraj, V
    ASCE-ASME JOURNAL OF RISK AND UNCERTAINTY IN ENGINEERING SYSTEMS PART B-MECHANICAL ENGINEERING, 2022, 8 (03):
  • [6] Melon Ripeness Determination Using K-nearest Neighbor Algorithm
    Samar, Homer John M.
    Manalang, Hernanny Jeremy J.
    Villaverde, Jocelyn F.
    2024 16TH INTERNATIONAL CONFERENCE ON COMPUTER AND AUTOMATION ENGINEERING, ICCAE 2024, 2024, : 461 - 466
  • [7] Hybrid SORN Implementation of k-Nearest Neighbor Algorithm on FPGA
    Huelsmeier, Nils
    Baerthel, Moritz
    Karsthof, Ludwig
    Rust, Jochen
    Paul, Steffen
    2022 20TH IEEE INTERREGIONAL NEWCAS CONFERENCE (NEWCAS), 2022, : 163 - 167
  • [8] GAME PLAYER STRATEGY PATTERN RECOGNITION BY USING K-NEAREST NEIGHBOR
    He, Suoju
    Du, Junping
    Wu, Guoshi
    Li, Jing
    Wang, Yi
    Xie, Fan
    Liu, Zhiqing
    Zhu, Qiliang
    CIICT 2008: PROCEEDINGS OF CHINA-IRELAND INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATIONS TECHNOLOGIES 2008, 2008, : 190 - 193
  • [9] An Enhanced K-Nearest Neighbor Algorithm Using Information Gain and Clustering
    Taneja, Shweta
    Gupta, Charu
    Goyal, Kratika
    Gureja, Dharna
    2014 FOURTH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND COMMUNICATION TECHNOLOGIES (ACCT 2014), 2014, : 325 - 329
  • [10] Skin lesion classification system using a K-nearest neighbor algorithm
    Mustafa Qays Hatem
    Visual Computing for Industry, Biomedicine, and Art, 5