| Literature DB >> 35808440 |
Aditi Site1, Saigopal Vasudevan2, Samuel Olaiya Afolaranmi2, Jose L Martinez Lastra2, Jari Nurmi1, Elena Simona Lohan1.
Abstract
Loneliness and social isolation are subjective measures associated with the feeling of discomfort and distress. Various factors associated with the feeling of loneliness or social isolation are: the built environment, long-term illnesses, the presence of disabilities or health problems, etc. One of the most important aspect which could impact feelings of loneliness is mobility. In this paper, we present a machine-learning based approach to classify the user loneliness levels using their indoor and outdoor mobility patterns. User mobility data has been collected based on indoor and outdoor sensors carried on by volunteers frequenting an elderly nursing house in Tampere region, Finland. The data was collected using Pozyx sensor for indoor data and Pico minifinder sensor for outdoor data. Mobility patterns such as the distance traveled indoors and outdoors, indoor and outdoor estimated speed, and frequently visited clusters were the most relevant features for classifying the user's perceived loneliness levels.Three types of data used for classification task were indoor data, outdoor data and combined indoor-outdoor data. Indoor data consisted of indoor mobility data and statistical features from accelerometer data, outdoor data consisted of outdoor mobility data and other parameters such as speed recorded from sensors and course of a person whereas combined indoor-outdoor data had common mobility features from both indoor and outdoor data. We found that the machine-learning model based on XGBoost algorithm achieved the highest performance with accuracy between 90% and 98% for indoor, outdoor, and combined indoor-outdoor data. We also found that Lubben-scale based labelling of perceived loneliness works better for both indoor and outdoor data, whereas UCLA scale-based labelling works better with combined indoor-outdoor data.Entities:
Keywords: Lubben score; UCLA score; XGBoost; classification; indoor mobility; loneliness; machine learning; outdoor mobility; random forest; senior citizens; support vector machines
Mesh:
Year: 2022 PMID: 35808440 PMCID: PMC9269697 DOI: 10.3390/s22134946
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Previous studies comparison with current study.
| Reference | Data | Sensors | Methodology | Findings | Results |
|---|---|---|---|---|---|
| [ | ELSA dataset (The English Longitudinal Study of Ageing) | - | Machine learning analysis (XGBoost, LightGBM) | Predicting loneliness | AUC (Area under curve) 0.84–0.88 |
| [ | Health parameters | Fitbit watch | mobility patterns, Machine learning analysis | IOT platform for elderly monitoring | - |
| [ | Health parameters | Accelerometer, ECG | Machine learning analysis (Naive Bayes) | Human activity recognition | Accuracy 0.92 (Fall detection), 0.99 (Resting), 0.99 (Walking) |
| [ | Questionnaire on demographics, mobility patterns, use of public spaces, neighbourhood | - | Path analysis | Identifying loneliness using public space use and mobility patterns | - |
| [ | Demographic, physical activity, health parameters | - | ANOVA, chi-square test | Physical activity intervention in loneliness | - |
| Current study | Sensor based mobility patterns | Pozyx, Pico minifinder | Machine learning analysis (XGBoost, Random forest, Support vector machine) | Identifying risk of loneliness using mobility patterns | Accuracy 0.90–0.98 |
Figure 1Pozyx Hardware devices.
Figure 2Virtual layout of the monitored environment.
Figure 3Anchors physically mounted in the elder care premises. (a) Activity Center; (b) Gymnasium; (c) Arts and craft center.
Figure 4JSON Message carrying tag data.
MQTT message structure.
| Name | Data Type | Description |
|---|---|---|
| tagID | String | Tag which is captured |
| timestamp | Number | time of data capture (epoch time) |
| success | Boolean | indicating whether the position could be measured or not |
| data.coordinates | Array | The 3D location of the tag within the monitored region (local coordinates) |
| data.tagData.blinkIndex | Number | Index identifying the signal that the tag sent out. |
| data.tagData.accelerometer | Array | An array of acceleration measurements along |
| data.tagData.status | Number | The programmed state of the tag changeable with the interactive push button. |
| data.anchorData | Array | An array of the anchors which participated in detecting the tag location, and the RSS of the UWB packet at each anchor’s antenna. |
| data.zones | Array | Array containing the zone id and the zone name where the tag is present. |
Figure 5Hardware overview.
Figure 6Device GPS unit status.
Colour indicators and Device status.
| Colour Indicators | Device Status |
|---|---|
| Green | Online state (location data is being transmitted) |
| Orange | Passive state (location data was sent over 10 min ago) |
| Red | Passive state (location data was sent over 1 h ago) |
| White | Offline state |
Figure 7Low battery alarm.
Figure 8NMEA message showing outdoor tag data.
NMEA message structure.
| Name | Data Type | Description |
|---|---|---|
| 200637 | Number | Time Stamp |
| A | String | Validity—A-OK, V-invalid. |
| 6128.2257 | Number | Current Latitude |
| N | String | North/South |
| 02346.8965 | Number | Current Longitude |
| E | String | East/West |
| 0.54 | Number | Speed in knots |
| 126 | Number | True course |
| 280522 | Number | Date Stamp |
Figure 9Machine learning process.
Figure 10Clusters identified for Users. (a) User1; (b) User4.
Figure 11Percentage of time spent by users indoors and outdoors. (a) Indoor; (b) Outdoor.
Figure 12Correlation matrix. (a) User 2; (b) User 3.
Classification labels.
| Name | Loneliness Labels |
|---|---|
| Low level of loneliness | 0 |
| Medium level of loneliness | 1 |
| High level of loneliness | 2 |
Result of machine learning algorithms on indoor and outdoor data.
| Indoor Data Results | Outdoor Data Results | Combined Data Results | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Algorithm | User | UCLA Based Classification | Lubben Based Classification | User | UCLA Based Classification | Lubben Based Classification | User | UCLA Based Classification | Lubben Based Classification |
| Support vector machines |
|
|
|
|
|
|
|
|
|
| Random forest |
|
|
|
|
|
|
|
|
|
| XGBoost |
|
|
|
|
|
|
|
|
|
Figure 13Confusion matrix for XGBoost algorithm using indoor data. (a) User classification; (b) UCLA based classification; (c) Lubben-based classification.
Figure 14Confusion matrix for XGBoost algorithm using outdoor data. (a) User classification; (b) UCLA based classification; (c) Lubben-based classification.
Figure 15Confusion matrix for XGBoost algorithm using combined indoor and outdoor data. (a) User classification; (b) UCLA based classification; (c) Lubben-based classification.