AI-based quantification of fitness activities using smartphones

Junhui Huang, Sakdirat Kaewunruen, Jingzhiyuan Ning

Research output: Contribution to journalArticlepeer-review

38 Downloads (Pure)

Abstract

To encourage more active activities that have the potential to significantly reduce the risk of people’s health, we aim to develop an AI-based mobile app to identify four gym activities accurately: ascending, cycling, elliptical, and running. To save computational cost, the present study deals with the dilemma of the performance provided by only a phone-based accelerometer since a wide range of activity recognition projects used more than one sensor. To attain this goal, we derived 1200 min of on-body data from 10 subjects using their phone-based accelerometers. Subsequently, three subtasks have been performed to optimize the performances of the K-nearest neighbors (KNN), Support Vector Machine (SVM), Shallow Neural Network (SNN), and Deep Neural Network (DNN): (1) During the process of the raw data converted to a 38-handcrafted feature dataset, different window sizes are used, and a comparative analysis is conducted to identify the optimal one; (2) principal component analysis (PCA) is adopted to extract the most dominant information from the 38-feature dataset described to a simpler and smaller size representation providing the benefit of ease of interpreting leading to high accuracy for the models; (3) with the optimal window size and the transformed dataset, the hyper-parameters of each model are tuned to optimal inferring that DNN outperforms the rest three with a testing accuracy of 0.974. This development can be further implemented in Apps Store to enhance public usage so that active physical human activities can be promoted to enhance good health and wellbeing in accordance with United Nation’s sustainable development goals.
Original languageEnglish
Article number690
JournalSustainability (Switzerland)
Volume14
Issue number2
DOIs
Publication statusPublished - 9 Jan 2022

Keywords

  • artificial intelligence
  • feature extraction
  • fitness
  • gym activity recognition
  • health
  • machine learning
  • wellbeing

Fingerprint

Dive into the research topics of 'AI-based quantification of fitness activities using smartphones'. Together they form a unique fingerprint.

Cite this