Human Activity Recognition from Accelerometer with Convolutional and Recurrent Neural Networks

Smartphones are present in most people’s daily lives. Sensors embedded in these devices open the possibility of monitoring users’ activities. The classification of the intricate data patterns collected through these sensors is a challenging task when considering hand-crafted features and pattern rec...

Full description

Saved in:
Bibliographic Details
Published inPolytechnica Vol. 4; no. 1; pp. 15 - 25
Main Authors Serrão, M. K., de A. e Aquino, G., Costa, M. G. F., Costa Filho, Cicero Ferreira Fernandes
Format Journal Article
LanguageEnglish
Published Cham Springer International Publishing 01.04.2021
Subjects
Online AccessGet full text
ISSN2520-8497
2520-8063
DOI10.1007/s41050-021-00028-8

Cover

More Information
Summary:Smartphones are present in most people’s daily lives. Sensors embedded in these devices open the possibility of monitoring users’ activities. The classification of the intricate data patterns collected through these sensors is a challenging task when considering hand-crafted features and pattern recognition algorithms. In this work, to face this challenge, we propose a convolutional neural network architecture along with two methods for transforming sensor data stream into images, and two recurrent neural networks, a long short time memory network and a gated recurrent unit network. The proposed model was evaluated using the UniMiB SHAR dataset. This dataset was acquired with accelerometers of mobile devices. The best macro average accuracy for classification of 17 types of activities, with 5-fold-cross-validation method, 95.49% was obtained with a gated recurrent unit network. The best macro average accuracy for classification with leave-one-subject-out method, 71.36%, was obtained with a convolutional neural network. These results are better than others previously published in the literature with the same dataset.
ISSN:2520-8497
2520-8063
DOI:10.1007/s41050-021-00028-8