Human Activity Recognition Using K-Nearest Neighbor Machine Learning Algorithm

被引:24
|
作者
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
关键词
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 条
  • [41] An Improved K-Nearest Neighbor Algorithm for Pattern Classification
    Sultana, Zinnia
    Ferdousi, Ashifatul
    Tasnim, Farzana
    Nahar, Lutfun
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (08) : 760 - 767
  • [42] Fuzzy Monotonic K-Nearest Neighbor Versus Monotonic Fuzzy K-Nearest Neighbor
    Zhu, Hong
    Wang, Xizhao
    Wang, Ran
    IEEE TRANSACTIONS ON FUZZY SYSTEMS, 2022, 30 (09) : 3501 - 3513
  • [43] K-nearest neighbor finding using MaxNearestDist
    Samet, Hanan
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2008, 30 (02) : 243 - 252
  • [44] Hybrid Metric K-Nearest Neighbor Algorithm and Applications
    Zhang, Chao
    Zhong, Peisi
    Liu, Mei
    Song, Qingjun
    Liang, Zhongyuan
    Wang, Xiao
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2022, 2022
  • [45] KNNCC: An Algorithm for K-Nearest Neighbor Clique Clustering
    Qu Chao
    Yuan Ruifen
    Wei Xiaorui
    PROCEEDINGS OF 2013 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS (ICMLC), VOLS 1-4, 2013, : 1763 - 1766
  • [46] K-Nearest Neighbor Algorithm Optimization in Text Categorization
    Chen, Shufeng
    2017 3RD INTERNATIONAL CONFERENCE ON ENVIRONMENTAL SCIENCE AND MATERIAL APPLICATION (ESMA2017), VOLS 1-4, 2018, 108
  • [47] An instance selection algorithm for fuzzy K-nearest neighbor
    Zhai, Junhai
    Qi, Jiaxing
    Zhang, Sufang
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2021, 40 (01) : 521 - 533
  • [48] Molecular classification of human diffuse gliomas by molecular voting using the K-nearest neighbor algorithm
    Fuller, GN
    Mircean, C
    Tabus, I
    Taylor, E
    Astola, J
    Sawaya, R
    Bruner, JM
    Zhang, W
    MODERN PATHOLOGY, 2003, 16 (01) : 290A - 290A
  • [49] Optimization of the Neighbor Parameter of k-Nearest Neighbor Algorithm for Collaborative Filtering
    Vaghela, Vimalkumar B.
    Pathak, Himalay H.
    PROCEEDINGS OF INTERNATIONAL CONFERENCE ON COMMUNICATION AND NETWORKS, 2017, 508 : 87 - 93
  • [50] Intrusion Detection Using k-Nearest Neighbor
    Govindarajan, M.
    Chandrasekaran, R. M.
    FIRST INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING 2009 (ICAC 2009), 2009, : 13 - +