{'fraction_non_alphanumeric': 0.017970401691331923, 'fraction_numerical': 0.0, 'mean_word_length': 5.6223776223776225, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multitask LSTM Model for Human Activity Recognition and Intensity Estimation Using Wearable Sensor Data

Human activity recognition (HAR) and measuring the intensity of activity are increasingly important for healthcare applications, such as fitness tracking and patient monitoring. However, these two tasks have been performed separately, leading to delays and expensive implementations. In this article, we propose a holistic approach to achieve both HAR and intensity estimation simultaneously. We introduce a new data set with both activity types and activity intensities, and a multitask long short-term memory (LSTM) model to accurately classify the activity types and estimate the intensity of each activity. In addition, we evaluate our proposed neural network with other publicly available data sets and show that including activity intensities in the data set help multitask models perform comparably to two separate single-task models.