Machine Learning for Activity Tracking and Multi-inhabitant Recognition in Smart Environments: An Evaluation Study
摘要
Smart environments have become increasingly popular due to pervasive sensing technologies that offer unprecedented opportunities for health monitoring, security, fitness tracking, and aiding individuals with difficulties living independently. A primary challenge in these environments is recognising and tracking the functional activities of the inhabitants. This paper explores various machine learning approaches, including Multi-Layer Perceptron (MLP), Deep Neural Network (DNN), Decision Tree (DT), and Random Forest (RF), for recognising inhabitants and tracking their Activities of Daily Living (ADLs) within a smart environment. The methodology involves two main components: user recognition and activity tracking. The process includes data pre-processing, feature extraction and selection, and classifier model construction to distinguish between multiple inhabitants for user recognition. For activity tracking, models process input data and classify the status of activities as started, in progress, or completed. Synthetic data generated from the Smart Environment Simulator (SESIM) with three virtual inhabitants was used for model evaluation. To address the imbalanced nature of the dataset, the Synthetic Minority Over-sampling Technique (SMOTE) was applied to ensure fair model performance. Results indicate that the supervised learning models can recognise inhabitants with up to 92% accuracy, with the RF model achieving the highest accuracy at 92%, outperforming the DT model at 90%. Specifically, the RF model shows significant improvements in classifying inhabitant a1, with precision, recall, and F-score of 92%, 86%, and 89%, respectively. The clustering results demonstrate the effectiveness of grouping activities over time, though further refinement using domain expert knowledge is needed to improve accuracy. These findings contribute both practically and theoretically by demonstrating that machine learning can effectively enhance inhabitant recognition and activity tracking in smart environments, providing a foundation for further development in this field.