As the population ages, a rising number of elderly are plagued by a variety of age-related disorders. For example, dementia is one of the most prevalent diseases among the elderly, affecting more than 50 million people globally and anticipated to quadruple in prevalence by 2050. In such a situation, it is not only expensive for medical care-delivery systems, but also cumbersome and time-consuming for patients to receive treatment in the conventional manner.
Thus, it is critical to develop a variety of automated systems that can assist in recognizing the onset or progression of related ageing diseases such as dementia, reminding caregivers when appropriate, performing long-term observation and statistics, and so on. Fortunately, with the rapid growth of Internet of Things (IoT) and Machine Learning (ML) techniques in recent years, these system designs are becoming a reality and assisting in the saving of massive amounts of human resources.
The IoT stack is shown below:
This folder contains the sketches of sensors and actuators.
Sensors selection for three symptoms of dementia is shown below.
Actuators contain the LED light, buzzer and LCD screen.
This folder contains the logic of abnormal behaviors recognition and deterioration justification process by .json files on NodeRED.
Specifically, the situations contain abnormal sound during sleep, insomnia, night wandering, memory loss, patient calls for help and traffic monitor.
Furthermore, the NodeRED has configured the Dashboard (User Interface) which provides the data monitoring and other advanced functions for the health team and patients.
The columns of the original CASAS datasets contain date, time, sensor types, sensor status and activity labels.
This folder contains:
- the codes written in python for drawing the Visualization of Activity Occurrence of CASAS Dataset.
- the codes written in MATLAB for drawing the heat maps of floor-plan.
It is noticed that some EDA is written in file "Activity Statistics and Abnormal Identification"
- The frequency and duration of per activity in time series.
- The correlation matrix of every activity.
- Moving Average analysis for every activity's duration and frequency in time series.
This file is written in python which employs Random Forest to recognize which activity type an input sensor data item belongs to.
Meanwhile, there are some testing results including mutual information matrix, classification report, and feature importance figures.
This file aims to determine if the a new incoming activity event is abnormal based on the acquired historical activity data and the knowledge obtained from EDA.
Meanwhile, there are some testing results including classification report, feature importance figures and ROC curves.
This part adopts a time-series model to predict the happening frequency or time span of a specific activity in the future.
Containing all results mentioned above.
Containing the trained LSTM in this work.
├─Phase I
│ ├─Arduino
│ │ ├─AbnormalSound_and_NightWandering
│ │ └─MemoryLoss
│ └─NodeRED
└─Phase II
├─classification_report
├─Datasets
├─EDA_code
│ └─Matlab_heatmaps
│ └─Matlab_heatmaps
├─heatmap on floorplan
├─images
│ ├─images_AbnormalIdentification
│ │ ├─feature_importance
│ │ └─KMeans_results
│ ├─images_ActivityRecognition
│ │ └─importance_per_activity
│ ├─images_EDA
│ │ ├─correlations
│ │ ├─freq_span
│ │ │ └─z-score
│ │ ├─heatmap_floorplan
│ │ └─time_series_patterns
│ └─images_LSTM
└─models
└─LSTMWithoutAux
└─variables