Performance Analysis of Machine Learning Models for Human Activity Classification

Anshul Sheoran1,2

Ritu Boora1,*,Email

Manisha Jangra1

Camilo E. Valderrama2

Department of Electrical & Electronics Engineering, Guru Jambheswar University of Science and Technology, Hisar, 125001, India
Department of Applied Computer Science, University of Winnipeg, Winnipeg, MB, R3B 2E9, Canada

Abstract

One of the ultimate goals of machine learning is to design an application that can accurately understand humans’ actions and intentions to serve us better. Hence, this research paper aims to explore the application of machine learning algorithms in human activity classification. It focuses on evaluating the performance of some popularly used machine learning methods namely K-NN, Support Vector Machine (SVM), Logistic Regression and XGBoost algorithm, for classifying human activities. Hyperparameters of algorithms are tuned to find the optimized result and performance. The performance of K-NN is evaluated over a range of K, while the logistic regression is implemented with various solvers and penalty functions. Further, SVM is tested for multiple linear and non-linear kernel functions while the XGBoost algorithm is implemented with different learning rates and trees. On performance comparison, it is observed that all four Machine Learning Models have encountered ambiguity in identifying similar activities. Further, when implemented with a polynomial kernel, the SVM method outperformed other state-of-the-art techniques while achieving an accuracy of 96.9%, and obtained peak values of precision and F1-score. At the same time, Logistic Regression failed to classify several activities, leading to the lowest accuracy.