{'fraction_non_alphanumeric': 0.014856081708449397, 'fraction_numerical': 0.0, 'mean_word_length': 5.533333333333333, '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}}
Hierarchical algorithm for daily activity recognition via smartphone sensors

The detection of daily human activities is a key component in modern applications of Internet of Things. In this study, we introduce a hierarchical algorithm for online human activity detection with two levels of feature extraction methods. In the lower level, the algorithm gets sensor data from accelerometer and microphone of user smartphone and extracts the models about the Motion and Environment Detection of user. In the higher level, the algorithm takes as input the combination of the output from these models and extracts the model about the Human Activity Detection. This flexible and modular hierarchical algorithm detects more complex activities (than usually in the state of the art), under broader smartphone configurations (position, orientation). It can be extended with more feature extraction models for different sensors, in additional levels of hierarchy and with different combinations in order to recognise with higher accuracy more specific and sophisticated user activities.