In the last few years there has been a growing interest in Human Activity Recognition (HAR) topic. Sensor-based HAR approaches, in particular, has been gaining more popularity owing to their privacy preserving nature. Furthermore, due to the widespread accessibility of the internet, a broad range of streaming-based applications such as online HAR, has emerged over the past decades. However, proposing sufficiently robust online activity recognition approach in smart environment setting is still considered as a remarkable challenge. This paper presents a novel online application of Hierarchical Hidden Markov Model in order to detect the current activity on the live streaming of sensor events. Our method consists of two phases. In the first phase, data stream is segmented based on the beginning and ending of the activity patterns. Also, on-going activity is reported with every receiving observation. This phase is implemented using Hierarchical Hidden Markov models. The second phase is devoted to the correction of the provided label for the segmented data stream based on statistical features. The proposed model can also discover the activities that happen during another activity - so-called interrupted activities. After detecting the activity pane, the predicted label will be corrected utilizing statistical features such as time of day at which the activity happened and the duration of the activity. We validated our proposed method by testing it against two different smart home datasets and demonstrated its effectiveness, which is competing with the state-of-the-art methods.
Determining the appropriate data window size for online sensor data streams to recognize a specific activity is still a challenging task. In particular, when new sensor events are recorded. This paper proposes a windowing algorithm which presents promising results to recognize complex activities, e.g., in a smart home environment. The underlying basic idea is to analyze the sensor data in order to identify the set of “best fitting sensors”: it contains those sensors that most contribute to the recognition task, and therefore should be considered in a window. To validate our approach, we applied it on the CASAS data set which is an international data set for activity recognition. Based on the promising results, we believe that this algorithm can assist to detect human activities. Thus, our approach might be used in Active and Assisted Living Environments (AAL), where activity recognition is required to distinguish the types of help, a person needs to master his her daily life activities.  Activity recognition is fundamental to many of the services envisaged in pervasive computing and ambient intelligence scenarios. However, delivering sufficiently robust activity recognition systems that could be deployed with confidence in an arbitrary real-world setting remains an outstanding challenge. Developments in wireless, inexpensive and unobtrusive sensing devices have enabled the capture of large data volumes, upon which a variety of machine learning techniques have been applied in order to facilitate interpretation of and inference upon such data. Much of the documented research in this area has in the main focused on recognition across pre-segmented sensor data. Such approaches are insufficient for near real-time analysis as is required for many services, such as those envisaged by ambient assisted living. This paper presents a novel near real-time sensor segmentation approach that incorporates the notions of both sensor and time correlation. Usually, approaches driven by data proposed in literature for sensor-based activity recognition use the begin label and the end label of each activity in the dataset, fixing a temporal window with sensor data events to identify the activity carried out in this window. This type of approach cannot be carried out in real time because it is not possible to predict the start time of an activity, i.e., the class of the future activity that an inhabitant will perform, neither when he she will begin to carry out this activity. However, an activity can be marked as finished in real time only with the previous observations. Therefore, there is a need of online activity recognition approaches that classify activities using only the end label of the activity. In this paper, we propose and evaluate a new approach for online activity recognition with three temporal sub-windows that uses only the end label of the activity. The advantage of our approach is that the temporal sub-windows keep a partial order in the sensor data stream from the end time of the activity in a short-term, medium-term, long-term. The experiments conducted to evaluate our approach suggest the importance of the use of temporal sub-windows versus a single temporal window in terms of accuracy, using only the end time of the activity. The use of temporal sub-windows has improved the accuracy in the 98.95 of experiments carried out. Approaches and algorithms for activity recognition have recently made substantial progress due to advancements in pervasive and mobile computing, smart environments and ambient assisted living. Nevertheless, it is still difficult to achieve real-time continuous activity recognition as sensor data segmentation remains a challenge. This paper presents a novel approach to real-time sensor data segmentation for continuous activity recognition. Central to the approach is a dynamic segmentation model, based on the notion of varied time windows, which can shrink and expand the segmentation window size by using temporal information of sensor data and activities as well as the state of activity recognition. The paper first analyzes the characteristics of activities of daily living from which the segmentation model that is applicable to a wide range of activity recognition scenarios is motivated and developed. It then describes the working mechanism and relevant algorithms of the model in the context of knowledge-driven activity recognition based on ontologies. The presented approach has been implemented in a prototype system and evaluated in a number of experiments. Results have shown average recognition accuracy above 83 in all experiments for real time activity recognition, which proves the approach and the underlying model. In active and assisted living environments, a major service that can be provided is the automated assessment of elderly people’s well-being. Therefore, activity recognition is required to detect what types of help disabled persons need to support them in their daily life activities. Unfortunately, it is still a difficult task to estimate the size of the required window for online sensor data streams to recognize a specific activity, especially when new sensor events are recorded. This paper proposes a windowing algorithm, which presents promising results to recognize complex human activities for multi-resident homes. The approach is based on the analysis of the sensor data to identify the best fitting sensors that should be considered in a specified window. Moreover, the second part of this paper proposes a set of different statistical spatio-temporal features to recognize human activities. In order to check the overall performance, this approach is tested using the CASAS data set and artificially generated laboratory data using our HBMS simulator. The results show high performance based on different evaluation metrics compared to other approaches. We believe that the proposed windowing approach provides a good approximation of the required window size in order to robustly detect human activities in comparison to other windowing approaches. An online recognition system must analyze the changes in the sensing data and at any significant detection; it has to decide if there is a change in the activity performed by the person. Such a system can use the previous sensor readings for decision-making (decide which activity is performed), without the need to wait for future ones. This paper proposes an approach of human activity recognition on online sensor data. We present four methods used to extract features from the sequence of sensor events. Our experimental results on public smart home data show an improvement of effectiveness in classification accuracy. 