Deep Learning for Classifying Physical Activities from Accelerometer Data

Sensors (Basel). 2021 Aug 18;21(16):5564. doi: 10.3390/s21165564.

Abstract

Physical inactivity increases the risk of many adverse health conditions, including the world's major non-communicable diseases, such as coronary heart disease, type 2 diabetes, and breast and colon cancers, shortening life expectancy. There are minimal medical care and personal trainers' methods to monitor a patient's actual physical activity types. To improve activity monitoring, we propose an artificial-intelligence-based approach to classify physical movement activity patterns. In more detail, we employ two deep learning (DL) methods, namely a deep feed-forward neural network (DNN) and a deep recurrent neural network (RNN) for this purpose. We evaluate the two models on two physical movement datasets collected from several volunteers who carried tri-axial accelerometer sensors. The first dataset is from the UCI machine learning repository, which contains 14 different activities-of-daily-life (ADL) and is collected from 16 volunteers who carried a single wrist-worn tri-axial accelerometer. The second dataset includes ten other ADLs and is gathered from eight volunteers who placed the sensors on their hips. Our experiment results show that the RNN model provides accurate performance compared to the state-of-the-art methods in classifying the fundamental movement patterns with an overall accuracy of 84.89% and an overall F1-score of 82.56%. The results indicate that our method provides the medical doctors and trainers a promising way to track and understand a patient's physical activities precisely for better treatment.

Keywords: DNN; RNN; UCI; accelerometer data; classification; deep learning; feed-forward neural network; health; machine learning; physical activity; recurrent neural network; sensors.

MeSH terms

  • Accelerometry
  • Deep Learning*
  • Diabetes Mellitus, Type 2*
  • Exercise
  • Humans
  • Neural Networks, Computer