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 条
  • [31] Classification of Lower Back Pain Using K-Nearest Neighbor Algorithm
    Sandag, Green Arther
    Tedry, Natalia Elisabet
    Lolong, Steven
    2018 6TH INTERNATIONAL CONFERENCE ON CYBER AND IT SERVICE MANAGEMENT (CITSM), 2018, : 367 - 371
  • [32] Effective Classification of EEG Signals using K-Nearest Neighbor Algorithm
    Awan, Umer I.
    Rajput, U. H.
    Syed, Ghazaal
    Iqbal, Rimsha
    Sabat, Ifra
    Mansoor, M.
    PROCEEDINGS OF 14TH INTERNATIONAL CONFERENCE ON FRONTIERS OF INFORMATION TECHNOLOGY PROCEEDINGS - FIT 2016, 2016, : 120 - 124
  • [33] Skin lesion classification system using a K-nearest neighbor algorithm
    Mustafa Qays Hatem
    Visual Computing for Industry, Biomedicine, and Art, 5
  • [34] Modeling viscosity of crude oil using k-nearest neighbor algorithm
    Mahdiani, Mohammad Reza
    Khamehchi, Ehsan
    Hajirezaie, Sassan
    Hemmati-Sarapardeh, Abdolhossein
    ADVANCES IN GEO-ENERGY RESEARCH, 2020, 4 (04): : 435 - 447
  • [35] Skin lesion classification system using a K-nearest neighbor algorithm
    Hatem, Mustafa Qays
    VISUAL COMPUTING FOR INDUSTRY BIOMEDICINE AND ART, 2022, 5 (01)
  • [36] A Novel Infrared Touch Sensing Using K-Nearest Neighbor Algorithm
    Jafarizadeh, Saeid
    Boostani, Reza
    Safavi, Ali Akbar
    PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE 2013), 2013, : 252 - 256
  • [37] Classification of Heart Disease Using K-Nearest Neighbor and Genetic Algorithm
    Jabbar, M. Akhil
    Deekshatulu, B. L.
    Chandra, Priti
    FIRST INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE: MODELING TECHNIQUES AND APPLICATIONS (CIMTA) 2013, 2013, 10 : 85 - 94
  • [38] Heart Disease Prediction Using Weighted K-Nearest Neighbor Algorithm
    Khalidou Abdoulaye Barry
    Youness Manzali
    Mohamed Lamrini
    Flouchi Rachid
    Mohamed Elfar
    Operations Research Forum, 5 (3)
  • [39] Modified K-nearest Neighbor Algorithm with Variant K Values
    Waghmare, Kalyani C.
    Sonkamble, Balwant A.
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (10) : 220 - 224
  • [40] Application of the k-nearest neighbor (k-NN) machine learning algorithm for the identification of colorectal cancer based on microRNAs
    Fajar, Rifaldy
    Kurniastuti, Nana Indri
    Jupri, Prihantini
    Wulandari, Titik
    JOURNAL OF GASTROENTEROLOGY AND HEPATOLOGY, 2021, 36 : 54 - 54