Next Article in Journal
Drivers’ Comprehensive Emotion Recognition Based on HAM
Next Article in Special Issue
Walking Bout Detection for People Living in Long Residential Care: A Computationally Efficient Algorithm for a 3-Axis Accelerometer on the Lower Back
Previous Article in Journal
Robust IMU-Based Mitigation of Human Body Shadowing in UWB Indoor Positioning
Previous Article in Special Issue
Exploring Transformer and Graph Convolutional Networks for Human Mobility Modeling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting a Fall Based on Gait Anomaly Detection: A Comparative Study of Wrist-Worn Three-Axis and Mobile Phone-Based Accelerometer Sensors

by
Primož Kocuvan
1,*,†,
Aleksander Hrastič
2,†,
Andrea Kareska
3,† and
Matjaž Gams
1,*
1
Department of Intelligent Systems, Jožef Stefan Institute, 1000 Ljubljana, Slovenia
2
Faculty of Electrical Engineering (FE), 1000 Ljubljana, Slovenia
3
Faculty of Veterinary Medicine, 1000 Ljubljana, Slovenia
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2023, 23(19), 8294; https://doi.org/10.3390/s23198294
Submission received: 1 September 2023 / Revised: 28 September 2023 / Accepted: 3 October 2023 / Published: 7 October 2023
(This article belongs to the Special Issue Smart Sensing for Pervasive Health)

Abstract

:
Falls by the elderly pose considerable health hazards, leading not only to physical harm but a number of other related problems. A timely alert about a deteriorating gait, as an indication of an impending fall, can assist in fall prevention. In this investigation, a comprehensive comparative analysis was conducted between a commercially available mobile phone system and two wristband systems: one commercially available and another representing a novel approach. Each system was equipped with a singular three-axis accelerometer. The walk suggestive of a potential fall was induced by special glasses worn by the participants. The same standard machine-learning techniques were employed for the classification with all three systems based on a single three-axis accelerometer, yielding a best average accuracy of 86%, a specificity of 88%, and a sensitivity of 86% via the support vector machine (SVM) method using a wristband. A smartphone, on the other hand, achieved a best average accuracy of 73% also with an SVM using only a three-axis accelerometer sensor. The significance analysis of the mean accuracy, sensitivity, and specificity between the innovative wristband and the smartphone yielded a p-value of 0.000. Furthermore, the study applied unsupervised and semi-supervised learning methods, incorporating principal component analysis and t-distributed stochastic neighbor embedding. To sum up, both wristbands demonstrated the usability of wearable sensors in the early detection and mitigation of falls in the elderly, outperforming the smartphone.

1. Introduction and Related Work

Falls are a major health concern as well as a significant cause of injury among the older population, with an estimated one in four individuals aged 65 and above experiencing a fall each year [1]. The consequences of falling can extend beyond physical injury in the form of reduced mobility, a decreased ability to perform daily activities, an increased burden on caregivers, or even mortality [2,3]. A fall can precipitate a range of psychological consequences, such as post-fall anxiety syndromes, a fear of falling, a diminution in self-efficacy, a reduction in mobility, and decreased levels of social engagement, leading to a lower quality of life [4]. This highlights the urgency of developing affordable systems that can reliably predict falls and thus provide warning and assistance prior to the actual fall.
Research has indicated that falls involving older adults result from the complex interactions between intrinsic and extrinsic factors, including cognitive impairment, sensory deficits, mobility limitations, medication use, and environmental risks [5]. Among these factors, balance deficit and gait impairment are frequently identified as key contributors to the risk of a fall. Gait abnormalities can often serve as an early indicator of underlying medical conditions, making them a potentially valuable diagnostic tool for predicting future disease progression, as well as future falls [6]. Furthermore, a gait analysis can be used to evaluate the seriousness and extent of medical conditions, to track intervention outcomes, and to forecast the intervention’s effectiveness. This is particularly important when seeking relevant information about the progression of various illnesses, including neurological diseases like multiple sclerosis or Parkinson’s, systemic disorders such as cardiac conditions that affect gait, orthopedic diseases, and age-related diseases [7]. Consequently, fall prevention has become an important area of research in healthcare [8].
Several systems have been developed to address this issue by focusing on detecting falls and notifying the person’s contacts once a fall occurs. An alternative is developing fall prediction and fall prevention systems that can predict and prevent falls by using wearable sensors to gather gait data. The data are then analyzed with machine-learning (ML) algorithms to predict the risk of a fall in the future. Both fall prediction and fall prevention systems can be very important because they evaluate fall risk and enable recovery mechanisms to be implemented before the fall actually occurs [9].
There are two primary approaches to examining human gait using technology: non-wearable and wearable systems. Non-wearable systems take place in controlled research facilities where the sensors capture the gait data while the person walks on a designated walkway. Wearable sensors, on the other hand, allow for the analysis of gait data outside of laboratory settings. Inertial sensors like accelerometers are used in wearable devices to measure an object’s velocity, acceleration, orientation, and the gravitational forces. Accelerometers use Newton’s Law of Motion to calculate the acceleration by factoring in a known mass and the measured forces. The development of miniaturized sensors and wireless communication systems has made it possible to obtain real-time measurements of gait during everyday activities by attaching devices to different parts of the body [7].
Wrist-worn accelerometers have the potential to provide important information that could predict and detect falls in real time [10]. Recent technological advancements, including larger memory capacities, wider acceleration ranges, smaller sizes, and lower cost, have made accelerometers a popular alternative for use in fall detection and prevention over other body-mounted sensors. The convenience of wrist-worn accelerometers further adds to their popularity, as they could lead to higher levels of adherence in users during periods of extended use [11]. These sensors offer a non-invasive, non-intrusive, and continuous method for monitoring movement patterns, allowing the detection of subtle changes in gait that could indicate an increased risk of falling. Some recent methods have been developed to estimate gait patterns based on a single wrist-worn sensor by extracting features from the raw sensor data based on time, frequency, and statistics [12]. This includes features based on intensity, posture, periodicity, and non-gait dynamicity, as well as statistical features, such as the mean, standard deviation, and median of the acceleration norm [13]. However, wrist-worn sensors present challenges when it comes to accurately detecting gait changes due to the lack of a fixed position relative to the user’s center of mass [14]. Moreover, due to manual dexterity and frequent arm swings, the wrist habitually has movements that are independent of the gait, which represents a problem for accurate gait detection. Research has shown that wrist-accelerometer data produce somewhat worse classification results than chest- and hip-accelerometer data [15].
Advancements in multimodal (multi-sensor) wearable technologies have significantly impacted the domains of human activity recognition (HAR), fall detection (FD), and fall recognition (FR). These systems are often characterized by their simplicity, practicality, high recognition accuracy, and real-time performance capabilities. It is important to note that multimodal-based FD research is essentially a subset of HAR/FR studies, particularly when gait analysis is incorporated. However, FD focuses on a more specialized task and does not necessitate the recognition of various fall types. Recent publications illustrate the versatility of multimodal approaches in these areas. For instance, a study released this year, titled “On a Real Real-Time Wearable Human Activity Recognition System”, offers a robust solution that employs multimodal data for real-time HAR, a methodology that is directly applicable to FD as well [16]. Another recent contribution focuses on high-level feature extraction for multimodal HAR and FR, further elaborating on the state-of-the-art techniques [17]. Moreover, the constant evolution of sensing and recognition technologies necessitates ongoing attention to emerging methodologies. This is highlighted in publications such as “Sensor-Based Human Activity and Behavior Research: Where Advanced Sensing and Recognition Technologies Meet,” which underscores the importance of integrating advanced sensing capabilities into current recognition frameworks [18].
Contemporary mobile phones frequently incorporate an extensive suite of up to 20 sensors. However, it is observed that these devices are not often carried by individuals in residential settings. More importantly, our primary comparative analysis is concentrated on the functionality of a single accelerometer across diverse devices, enabling a precise evaluation of the efficacy and constraints in the context of fall prediction.
The power consumption of wearable devices is a crucial aspect to consider in the design of wearable sensor technologies. Continuous monitoring and data collecting require significant amounts of energy, which can shorten the battery life of the device. This can lead to reduced use of the wearable devices. Accelerometers are the most energy-efficient inertial sensors and they can be used to continuously record activity without the need for a battery charge. This makes them the logical choice for wrist-based sensors that can be used for long-term activity monitoring [19].
The potential for bias in the data and models used for fall detection and gait analysis is also to be examined. Bias can arise from various sources, such as differences in sensor placement, data collection methods, or the demographic characteristics of the study population. It is of great importance to neutralize the sources of bias to ensure that the models are accurate and applicable to diverse populations. Additionally, extracting single-time discrete variables from time-continuous gait data discards a lot of information and may not accurately represent the complexity of the human gait. Pre-selected variables can introduce bias and overlook important interactions between the gait characteristics and the conditions that affect the gait. To address these issues, multivariate statistical analysis and machine-learning techniques such as artificial neural networks, decision trees, and support vector machines (SVMs) have been used to objectively identify different types of gaits [20]. Also, other researchers focus on improving human activity recognition through HMM-based sequential modeling, and, e.g., in Hui Liu’s dissertation, a novel activity modeling method called Motion Units (MUs) to enhance performance is proposed. It also contributes by developing an HAR research pipeline, creating the Activity Signal Kit (ASK) software for data collection, and implementing both offline and real-time HAR systems based on multimodal biosignal datasets from over 25 subjects [21,22,23,24]. His paper on the activity modeling method for human activity recognition, utilizing Motion Units to create an operable, universal, and scalable human activity dictionary, demonstrates comparable accuracy with fewer parameters [24].
Among the methods applied to fall detection and prediction, the Hidden Markov Model (HMM) is very suitable for fall detection/recognition and reaches deep learning’s performance in many publications. This is due to its inherent sequential modeling capabilities for time series, in relation to wearable multidimensional signals [21,24,25].
Furthermore, the research indicates that normalizing spatial–temporal gait data by taking into account leg length and the subject’s age when using the SVM approach improves the accuracy from 83.3% to 96.8% [22]. In addition to normalization, the need for standardization of the methods and metrics used for fall detection and gait analysis is shown in the differences in the results from various studies. Standardization can ease the comparability of findings across different studies, as well as being useful for identifying the best practices and areas for improvement in the development of wearable sensor technologies.
To better predict the risk of falling, it is important to use optimized prediction models that take into account the type and placement of wearable sensors. Several studies explore various approaches to determine the optimal protocol for assessing gait quality. Moreover, the analysis of a dual-task gait has been proposed as a potentially valuable tool for assessing the risk of falls in older adults, as it can uncover deficits in cognitive function and mobility control that may not be evident during normal walking. This approach involves evaluating a person’s gait while they perform a secondary cognitive task, such as counting backward or reciting the alphabet, and comparing the results to those obtained during normal walking. However, there is no consensus on whether a dual-task assessment is better at predicting a fall risk than assessing a gait during single-task activities [23].
An alternative approach could be to expand the evaluation of gait quality beyond straight walking and include assessments of turning. Most studies of fall-risk prediction only focus on straight-line walking, so it might also be useful to study gait during turning movements, as turns require additional coordination and control compared to walking in a straight line. Elderly individuals at high risk of falling tend to perform turns differently from those at low risk of falling, making it possible to distinguish between what is considered a normal gait and a gait that shows signs of potential falls using turn-based data. Researchers have developed a method for classifying high-fall-risk gaits based on wearable sensor data collected during walking turns. The findings suggest that turn data contain valuable information that can improve fall-risk classification, although combining straight and turn-based features did not improve the classification models [26].
Another challenge in gait analysis is the unsoundness of the current methods under unsupervised or real-world conditions. Clinical fall-risk assessments are typically performed in controlled laboratory settings and are limited by testing locations, frequency, cost, and professional supervision [2]. Most methods have only been tested in supervised or semi-supervised settings, which do not accurately reflect the self-initiated and purposeful nature of a gait [19]. Studies have shown that there are notable differences in gait speed when comparing measurements taken in laboratory environments versus those taken during daily activities. Gait speed is said to be slower during real-world activities than during laboratory testing, according to the research [27,28]. Wearable devices offer an alternative for fall-risk assessments, as they allow the real-time monitoring of a gait in real-life conditions, at a lower cost and with minimal discomfort to the user. However, developing a method for wrist-worn devices is challenging and has not yet been validated for fall-risk assessments [2].
The objective of this paper is to compare a commercial device with a novel wristband, and both primarily with a mobile phone that has the same fall-predicting method in the task of recognizing abnormal gait patterns using a single, three-axis, wrist-worn accelerometer. Raw accelerometer data features are extracted and inputted into different types of machine-learning models. The approach used involves gathering data, extracting meaningful features, selecting the most relevant characteristics, and training a classification model to differentiate a normal from an abnormal gait. The performance of this approach is assessed using a dataset that includes parameters of the normal and abnormal walking patterns of 17 test subjects.

2. Dataset

Performing the Experiment and Data Collection

In light of the unavailability of adequate datasets featuring inertial sensors for wrist-worn devices, a novel dataset was created for public use. The dataset was generated using an experiment conducted within a confined room, where the participants traversed a predefined loop. Two wristbands, namely, the Caretronic wristband and the Empatica E4 wristband, were worn by each participant during the experiment. The Caretronic wristband utilized the Hometab device, connected to the internet via a Bluetooth connection, to stream data to a Firebase server. On the other hand, the Empatica E4 wristband employed a smartphone application to transmit data to its dedicated cloud service.
The designated walking route encompassed a level surface with no inclinations, primarily straight with the exception of a concluding semi-circular section used for turning around. The obstacle of the path can be seen in Figure 1, whereas the walk around the angle was substantially more curved. This setup facilitated the acquisition of uninterrupted gait data over extended periods, akin to real-world scenarios encountered during daily walks. To emulate the walking pattern of elderly individuals, each participant wore weighted leg attachments, amounting to 3 kg per leg. In the context of our study, we utilized vision impairment goggles [29] (illustrated in Figure 2b) as a means to simulate a deteriorated gait. These specialized goggles were engineered to induce a visual perception mimicking the experiential semblance of an individual under the influence of alcohol when peering through these devices. At the onset of the experimental protocol, a significant proportion of the subjects displayed marked challenges in their ability to walk. However, following a period of persistent goggle usage, the subjects demonstrated an adaptation to their visually altered environment, seen as an improvement in their locomotion over the course of the experiment. Despite the observed acclimation to the conditions imposed by the goggles, the majority of the subjects’ locomotive patterns continued to show signs of abnormality, indicating that their gait remained not entirely normal.
The experiment for each of the participants was split into 8 sessions. Initially, the participants walked without impaired vision for a period of 8 min, following a clockwise direction for the initial 4 min and subsequently an anti-clockwise direction for the remaining 4 min. Subsequently, the position of the wristbands was altered, and the procedure was repeated. Lastly, all the aforementioned steps were replicated while the participants wore the impairment goggles. The described experiment sessions are shown in Table 1. Discrepancies observed in the signals recorded by the Caretronic wristband and the Empatica E4 wristband can be attributed to the different positions and the coordinate system orientations of the micro-electromechanical system (MEMS) chip housing the accelerometer on the wristbands (Figure 3). On the other hand, the differences in the signals with and without goggles are not visually detectable to humans, while the differences in an actual walk usually can be differentiated when observing the same person.
In the conducted study, we selected the Xiaomi Redmi 7 Smartphone as the experimental apparatus. It is postulated that any device from the same manufacturer, or equivalently sophisticated models produced within the preceding decade, would likely yield analogous outcomes. During the experimental process, the smartphone was housed within a compact pouch that the participants wore around their midsections. Consequently, the motion of the pouch did not resemble that of a bag oscillating in hand, analogous to wristband movement, but rather dangled from a shoulder, exhibiting greater movement than if fastened directly to a belt.
The Caretronic wristband (Figure 4a) is equipped with an ARM Nordic NRF52840 microcontroller. This microcontroller interfaces with both the gyroscope and accelerometer sensors through the Two-Wire Interface (TWI). Designed as an affordable solution, the Caretronic wristband is aimed at achieving global reach, including in countries with a lower GDP. In our study, we compared the performance of the Caretronic wristband with that of the Empatica E4 (Figure 4b). The latter, while more costly, also features pulse and temperature sensors. We configured the sampling rate of the Caretronic wristband at 52 Hz, though it possesses the capability for higher rates. Conversely, the Empatica E4 maintains a fixed sampling rate of 32 Hz for its accelerometer sensor. The primary objective of this analysis is to contrast the performance metrics of the Empatica E4 and Caretronic wristbands and the smartphone using only the accelerometer sensor.

3. Methodology

3.1. CR-Features Library for Python

In our study, we employed the cr-features Python library, which was developed by the Department of Intelligent Systems at the “Jožef Stefan” Institute. This library is specifically designed for the computation of diverse accelerometer features that are well suited for context recognition applications [30].
To ensure a focused analysis, we conducted a feature selection process due to the library’s capacity to calculate a substantial number of features, specifically 169 in our case. Through this process, we carefully selected a subset of 87 features that demonstrated the highest relevance and discriminative power for our research objectives. This feature selection procedure was used to enhance the interpretability and efficiency of the subsequent analyses.

3.2. Semi-Supervised Learning

Dimensionality reduction is a machine-learning technique that is widely used in data analysis. The idea is the elimination of irrelevant or redundant variables while simultaneously conserving valuable information from the original dataset. It focuses on transforming high-dimensional data into a lower-dimensional representation that aligns with the intrinsic dimensionality of the data, or the minimum number of parameters needed to capture the essential characteristics of the data [31].
Having high-dimensional data can often be computationally expensive to process and analyze. Dimensionality reduction can be helpful in improving computational efficiency by identifying and eliminating redundant features, as well as features that can cause the over-fitting of the models. By doing this, an acceptable generalization capability can be achieved. High-dimensional datasets often contain noise or measurement errors, which can be filtered out by using different dimensionality reduction techniques. This can improve the overall data quality and analysis [32]. These techniques are broadly used in fields, such as machine learning and statistics. They can be categorized into feature selection, which aims to identify and obtain the most relevant variables from the original dataset, and dimensionality reduction, which creates a smaller set of new variables while keeping the same base information as the original data [33]. In the following subsections, we will briefly describe the two most important and used algorithms for dimensionality reduction.
We divided the signals obtained from the Empatica wristband and Caretronic wristband separately into 10 s, non-overlapping windows. Each window was used to calculate 169 features using the cr-features library. Following the feature calculation, we employed principal component analysis (PCA) to transform the 169-dimensional space into a 17-dimensional space. We opted for using PCA (principal component analysis) over LDA (Linear Discriminant Analysis) due to the nature of our classification problem, which is binary. According to the scikit-learn library documentation, LDA is primarily intended for multiclass problems, stating that “The dimension of the output is necessarily less than the number of classes, so this is in general a rather strong dimensionality reduction, and only makes sense in a multiclass setting.” Source: Scikit-learn LDA/QDA Documentation. Seventeen components were selected because the explained variance of the PCA was 0.95, which means that the reduced dimensional space contains a 95% variance of the original dimensional space. On the PCA-transformed data, t-SNE was applied to generate a two-dimensional scatter plot. The complete process, starting from the initial step of generating signal windows to the final step of constructing a 2D abstract scatter plot, is illustrated in the flowchart in Figure 5.

3.2.1. Principal Component Analysis

Principal component analysis (PCA), dating back to 1901, is a popular linear technique for dimensionality reduction [33] in pattern recognition and compression schemes. The general idea that PCA represents is finding a new, smaller set of the most relevant variables, called principal components, that capture the maximum variance of the data [34]. By projecting the original dataset onto this principal component, PCA aims to reduce the dimensionality while keeping the most important information. It does this by creating a linear subspace of lower dimensionality that captures the essential variability in the data. A part of the process is finding a set of orthogonal directions that explain the most variance of the data and project the data onto these directions [35], as well as finding a linear mapping that maximizes the variance of the data, which is achieved by computing the eigenvalues and eigenvectors of the covariance matrix of the data. The eigenvectors represent the principal directions and the eigenvalues reveal the variance of each principal component. By selecting the top principal components with the largest eigenvalues, dimensionality reduction can be attained [31].
Additionally, PCA has the ability to convert correlated features into an uncorrelated feature vector by selecting the principal components that correspond to the highest eigenvalues [36]. Because the reduced-dimensional representation can be easily visualized, PCA can also be used for data visualization.
However, PCA does have some disadvantages. Data standardization is recommended when using PCA, because it is otherwise unable to find the optimal principal components due to the sensitivity of the feature scales. Furthermore, its ability is limited to only finding a linear subspace and generally it does not perform well on nonlinear data.

3.2.2. t-Distributed Stochastic Neighbor Embedding

The t-distributed stochastic neighbor embedding (t-SNE) is a nonlinear dimensionality reduction technique that works toward preserving the local and global structure of the data. While PCA operates in a linear subspace, t-SNE implements different transformations in different regions with the idea of keeping similar data points in a low-dimensional space closer together [37,38].
t-SNE uses Gaussian (normal) distributions to measure and model the similarities between high-dimensional data points as conditional probabilities. It then creates a low-dimensional map where another set of probabilities represents the similarities. The newly created map aims to match the pairwise similarities from the high-dimensional space [39].
t-SNE can capture complex nonlinear relationships, which makes it a good choice for nonlinear data visualization. Additionally, it is able to consider and represent both local and global structures in the data during the dimensionality reduction process, as well as to predict the number of each point’s close neighbors [38].
However, t-SNE is a computationally expensive algorithm, especially for large datasets, and its results can be sensitive to the choice of hyperparameters. While t-SNE is appropriate for capturing local structures and keeping pairwise similarities, it is not yet clear how it performs on general dimensionality reduction tasks. Furthermore, because t-SNE is a local-neighborhood-based method, it assumes that local similarities in the high-dimensional space can be truthfully represented in the low-dimensional space. It may not give satisfactory results in cases where the intrinsic dimensionality of the data is high or variable across the dataset. It is also important to note that t-SNE is not guaranteed to converge to a global optimum of its cost function [38].
These weaknesses highlight the importance of carefully considering the applicability and limitations of dimensionality reduction techniques in different scenarios. In terms of applications, PCA is widely used for feature extraction, data compression, noise reduction, and speeding up machine-learning algorithms. It is especially useful when the linear relationships in the data are relevant for the analysis. On the other hand, t-SNE is commonly employed for data visualization, clustering analysis, and identifying hidden patterns in the data. Its ability to capture complex structures and reveal local relationships makes it particularly valuable in exploratory data analysis.

3.3. Supervised Learning

Supervised learning is a sub-field of machine learning that involves labeling data and constructing a model with the guidance of a supervisor. In this study, we employed classical models, namely, K-Nearest Neighbors, support vector machine, and AdaBoost. These models were applied to the calculated 169 features, after the feature selection process. Additionally, the hyperparameters were optimized for each classifier. Within the realm of supervised learning, we assume prior knowledge of the normal and abnormal gait patterns of each individual. This approach enables us to quantitatively evaluate the performance of classical methods without preprocessing the accelerometer signals. Notably, signal preprocessing was omitted in this research to avoid impeding operations on the microcontroller, as our aim in the future is to utilize the algorithm on a low-speed microcontroller to reduce costs.
The subsequent subsections will provide concise descriptions of the machine-learning methods employed in this study.

3.3.1. K-Nearest Neighbours

The K-Nearest Neighbors (K-NN) algorithm [40] is a nonparametric approach predominantly employed for classification and regression tasks. Being nonparametric, it avoids assumptions about the underlying data distribution. This algorithm utilizes the entire training dataset during prediction, making it a memory-based learning method that does not require a dedicated learning phase.
When presented with a new instance, the K-NN algorithm classifies it by identifying the “k” training instances that are the most similar to it in the feature space. The similarity is typically determined using distance measures, such as Euclidean (2) and Manhattan (1). The choice of the distance metric depends on the characteristics of the data. Selecting an appropriate number of nearest neighbors (“k”) is a critical factor in the K-NN algorithm. A small “k” value can lead to sensitivity to noise, while a large “k” value may result in an overly generalized model.
d m a n h a t t a n ( P , Q ) = i = 1 n | p i q i |
d e u c l i d e a n ( P , Q ) = i = 1 n ( p i q i ) 2
where P = ( p 1 , p 2 , , p n ) and Q = ( q 1 , q 2 , , q n ) are the two points in n-dimensional space.

3.3.2. Support Vector Machine

Support vector machines (SVMs) [41] are highly effective supervised learning algorithms primarily utilized for classification tasks, but they can also be applied to regression and outlier detection tasks. The core principle behind SVMs is the creation of a hyperplane that optimally separates the data points belonging to different classes. This separation aims to maximize the margin between the closest points to the hyperplane, known as support vectors, from each class.
Given a training set ( x 1 , y 1 ) , , ( x n , y n ) , where x i R p and y i { 1 , 1 } , SVMs seek to minimize the value of | | w | | 2 2 . The parameters w and b are involved in the minimization process and are subject to the constraint described in Equation (3).
y i ( w T x i b ) 1
In scenarios where the data are not linearly separable, the SVM employs the kernel trick to map the original feature space into a higher-dimensional space where a separating hyperplane can be identified. This approach enables SVMs to effectively handle nonlinearly separable data. Rather than explicitly performing the transformation, a kernel function K ( x i , x j ) is used to compute the dot product in the higher-dimensional space. By utilizing the kernel function, the computational efficiency of the SVM algorithm is improved. Commonly employed kernel functions include the linear, polynomial, and radial basis function (RBF) options.

3.3.3. AdaBoost

AdaBoost, short for Adaptive Boosting, is an ensemble machine-learning algorithm primarily designed to enhance the performance of classification tasks by amalgamating the outputs of multiple weak learners [42].
Initially, each instance in the training set is assigned an equivalent weight. In each iterative step, a weak learner is trained. This learner prioritizes minimizing errors, particularly emphasizing instances that were misclassified in previous iterations.
Subsequent to each iteration, the algorithm computes the weight for the current weak learner’s output, based on its performance. Concurrently, it modifies the weights of training instances, incrementally augmenting the weights of the previously misclassified examples.
The salient feature of AdaBoost is that the final decision is not solely the output of an individual weak learner. It is a weighted amalgamation of the predictions from all the weak learners, where higher weights are attributed to those with superior performance. This method has gained significant traction in scenarios where the combination of multiple weak learners results in a more accurate prediction.
However, AdaBoost can encounter difficulties with noisy data or outliers that deviate significantly from the general trend. To ameliorate this, the hyperparameters of the AdaBoost algorithm should be judiciously optimized.

3.4. Validation and Evaluation Metrics

For evaluating the overall performance measure of the methods, various metrics were applied in this study. Considering the fairly evenly distributed dataset, the primary evaluation metric used in this study was accuracy, which is the ratio of the number of correct predictions over the total number of predictions. Additionally, the sensitivity (true positive rate) and the specificity (true negative rate) metrics were analyzed to obtain a more detailed understanding of the performance of the models.
The sensitivity was calculated as the ratio of the true positives to the sum of the true positives and false negatives, while the specificity was calculated as the ratio of the true negatives to the sum of the true negatives and false positives. The accuracy was calculated as the ratio of the true positives plus true negatives to the sum of the true positives, true negatives, false positives, and false negatives. True positives represented the number of correct positive predictions, true negatives represented the number of correct negative predictions, false positives represented the number of incorrect positive predictions, and false negatives represented the number of incorrect negative predictions.
Other metrics such as the F1-score and FNR were also used to evaluate the performance of the models. The F1-score is an evaluation metric that combines the precision and recall scores. The false negative rate (FNR) metric is calculated as 1—true positive rate (TPR), also known as the sensitivity. A lower FNR signifies improved outcomes. Given the context, a lower FNR is optimal for our use case as it implies fewer missed identifications of the individuals with an abnormal gait, as compared to falsely identifying those with a normal gait as abnormal. We show only the sensitivity in the tables because we can calculate the FNR using Equation (7).
Accuracy = T P + T N T P + F P + T N + F N
Sensitivity = T P T P + F N
Specificity = T N T N + F P
F N R = F N F N + T P = 1 T P R
F 1 score = 2 × Precision × Recall Precision + Recall
Six configurations of the cross-validation methods were used in our analysis; each configuration separated the training and testing data into two subsets.
For the first cross-validation configuration, the training subset was the Caretronic device being on the right hand and the Empatica on the left hand with the person walking in both clockwise and counterclockwise directions and the Caretronic device on the left hand and Empatica device on the right hand with a person walking just in the clockwise direction, both with and without the impairment glasses. The second, third, and fourth configurations were also carried out in the same sense but with other combinations of sessions. In the fifth configuration, the train set consisted of all the sessions in which a person was walking in a clockwise direction and the test set in which the person was walking in a counterclockwise direction. In the sixth configuration, the train and test subsets were interchanged. All the configurations are listed in Table 2 for which the sessions are referenced in Table 1.
The cr-features were calculated and the Adaboost, SVM, and K-NN methods were used. Overall, by utilizing different metrics such as the accuracy, sensitivity, specificity, and F1-score, an in-depth evaluation of the models’ performance was completed.

4. Results

In this section, the results are presented based on two principal methodologies: the supervised machine-learning approach described in Section 4.1 and the scatter plot representations in Section 4.2. Each subsection details the variation observed in the gaits and their classifications.
Table A1 in Appendix A delineates the demographics and personal data of the participants. The inclusion of personal data alongside raw accelerometer data did not lead to significant improvements in the evaluation metrics of the methods employed.

4.1. Supervised Learning Results

The detailed findings obtained from the personalized supervised learning techniques are tabulated in Table A2 in Appendix A (column names abbreviated) and are summarized in Figure 6 for configurations 1–4 and Table 3. The results show that the Caretronic wristband using only the accelerometer sensor performs better than the Empatica E4 wristband with the SVM model, and both wristbands notably surpassed the smartphone in their respective performance metrics. This is also confirmed in Table 4 and Table 5 by a two-tailed, paired t-test to evaluate the accuracy, specificity, sensitivity, and F1 of the two different devices. For the SVM model, the critical t-values consistently undershot their counterparts from the Student’s distribution, a pattern also mirrored by the computed p-values. However, this differential in performance efficacy was not consistent for the AdaBoost and KNN models, being predominantly evident only in the SVM model. A granular breakdown, contrasting the Caretronic wristband with the smartphone, evinced values approximating 0.000.
The reasons why the Caretronic wristband outperformed the Empatica device probably relate to the design purpose. While the former is engineered for task specificity, the latter assumes a more generic, multipurpose role. A synergistic deployment of both wristbands for classification further amplifies the accuracy.
In reference to the smartphone, it should be noted that the experimental setup was conducted where each participant was given a pouch with a smartphone placed within it. In some cases, the smartphone demonstrated additional movement within the pouch, as might be common in real life. The wristbands, on the other hand, were tied to the wrist in a way no unrestricted movement was permitted. Additionally, accelerometers on wristbands may provide more information than when loosely attached to a body in a mobile phone. Both issues need further to be analyzed.
Table A3 shows the time complexity of each method for each dataset.

4.2. Semi-Supervised Learning Results

Two scatter plots are presented in Figure 7 and Figure 8 illustrating the gait data for subjects 16 and 11 constructed from 2D t-SNE-transformed data, following the PCA transformation to 17 dimensions from 169. These graphical representations provide a visual differentiation of the gait classes, demonstrating our semi-supervised learning approach. This segregation of classes suggests the viability of a semi-supervised learning approach. The clustering could also provide a tool for classification as in ML. However, it should be noted that Figure 7 is an example of distinctive visual separation, and Figure 8 represents an average one. There is no point in presenting most similar walks with and without goggles as there is no relevant difference.
The performance of individual test subjects varied significantly. Some were disoriented when wearing the goggles, while others remained unaffected, walking as they normally would without goggles.
In real life, the new data points incorporated enable a re-calculation of the t-SNE and the median center. This could be carried out in the 2D t-SNE space, using the Euclidean distance measure as an evaluation metric. If these newer data points begin to diverge from the calculated center, it might indicate abnormal gait classes.

5. Conclusions

The primary focus of this research is to contrast the accelerometer positioning on wristbands with that of a mobile phone in a pouch, with the aim of detecting degradation in gait. All approaches used the same conventional machine-learning techniques and relied on a sole 3D accelerometer. The selection of the two wristbands was informed by our familiarity with their operation and to elucidate variations inherent within the wristband methodology.
A new dataset with 17 test subjects was obtained and can be used by other researchers for benchmarking (see Data Availability Statement).
In a prior investigation [2], it was demonstrated that employing multimodal sensors in devices yielded sufficient accuracy when detecting gait abnormalities. However, our study demonstrated that even single-sensor devices can deliver commendable performance by implementing an altered algorithm comprising classical computational machine-learning methods. Our previous study differs in several ways from [2]: We developed a personalized model, while they developed a generalized model that identifies gait abnormalities in a chosen population. Second, the comparison between two wristbands and a smartphone was performed. Next, the adoption of a lone accelerometer not only reduces the costs associated with buying the device but also lowers the energy consumption, thereby enabling its utilization in low-power applications. Furthermore, the compact, light form and ease of attachment of such a device is an added advantage. Along the way, it was established that Caretronic’s affordable wristband, available at a modest price of only a few tens of EUR, achieves better accuracy than the more expensive Empatica E4 wristband in our specific scenario. However, it should be noted that the novel wristband is focused on specific purposes, while Empatica E4 is a rather general-purpose wristband. In these tests, the SVM model gave similar results to those reported in [2] with a computationally more demanding convolution neural network (CNN). Also, we noticed that combining two quality wristbands produces better results.
Several published studies report high accuracy levels exceeding 99% for tasks comparable to ours. Specifically, Thakur et al. documented a performance accuracy of 99.87% while Lee et al. reported an accuracy of 99.38% [43,44]. Nonetheless, it is crucial to acknowledge that the experimental conditions in these studies diverged from ours. For instance, even upon detailed visual analysis, it was evident that certain participants exhibited minimal gait alterations when wearing the goggles, especially as the experiment progressed. In predicting future falls, it is a well-acknowledged premise that achieving absolute perfection is unattainable; consequently, experimental designs should aim to facilitate only probabilistic predictions. Moreover, the experiment should enable differentiation and ranking of the methods.
The limitations of this study are centered around the issue of the mobile phone not being firmly attached to an individual, which the wristbands were. This was the chosen scenario, while it is assumed that the 3D accelerometer in a mobile phone when firmly attached to the wrist would achieve similar results than those of the wristbands. Therefore, a mobile phone in a pouch or a bag is one of the real-life scenarios and therefore the study represents a valid comparison under those circumstances. Also, wristbands can be loosely placed on a wrist, causing additional movement, which was not allowed in this experiment.
The second limitation is that the clustering algorithms were used only for the visual analysis, whereas they could be used for classification as well. This is also one of our future projects.
Future work should encapsulate several placements of mobile phones, applying classification procedures for clustering and combining several sensors. One of the interesting ideas is to include two accelerometers in the same wristband, because the measurements in our scenarios indicate significant improvements while ensuring low costs and energy consumption.

Author Contributions

A.H., P.K. and A.K. contributed importantly to the research, in particular the data acquisition, definition, implementation of the methods, experiments, and experimental evaluation, and they contributed to writing the manuscript. M.G. defined the problem definition, the conceptualization of the approach, the analysis of the results, and critically upgraded the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the EIT Health—SafeStep: Next-Generation of the Fall-Prevention Solution for Elderly project funded by the program EIT Health—RIS Innovation call. The authors acknowledge the financial support from the Slovenian Research Agency (research core funding No. P2-0209).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data of the test subjects (accelerations in x, y, and z axes) can be found at https://portal.ijs.si/nextcloud/s/NdJKXpT8WrqTqZj (accessed on 25 July 2023).

Acknowledgments

The authors would like to thank all the participants that took part in the recording of the dataset used for the study. We thank the Caretronic company for providing their hardware.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Personal data of test subjects.
Table A1. Personal data of test subjects.
Total Number of Test SubjectsAgeWeightHeightFemaleRight-Handed
17 27.5 ± 6.7 78.8 ± 17.3 181 ± 9.8 316
Table A2. All results (for each person, device, and method) gathered in one massive table.
Table A2. All results (for each person, device, and method) gathered in one massive table.
Test SubjectClassifierDeviceACC (%)SENS (%)SPEC (%)F1
1ADAEmpatica78.483.373.778.9
Caretronic89.286.192.188.6
Smartphone51.653.35051.6
KNNEmpatica7777.876.376.7
Caretronic83.886.181.683.8
Smartphone74.266.781.271.4
SVMEmpatica72.286.458.775.2
Caretronic72.264.778.968.8
Smartphone7173.368.871
2ADAEmpatica72.471.87372.7
Caretronic80.392.367.682.8
Smartphone62.51007572.7
KNNEmpatica63.261.564.963.2
Caretronic72.474.470.373.4
Smartphone93.810087.594.1
SVMEmpatica59.163.854.361.2
Caretronic86.884.289.586.5
Smartphone100100100100
3ADAEmpatica61.863.260.562.3
Caretronic77.694.760.580.9
Smartphone54.510092.469.4
KNNEmpatica57.960.555.359
Caretronic76.368.484.274.3
Smartphone69.764.77575.7
SVMEmpatica69.957.482.665.9
Caretronic78.978.976.376.7
Smartphone59.770.668.869.7
4ADAEmpatica7675.776.375.7
Caretronic74.781.168.475.9
Smartphone9088.292.390.9
KNNEmpatica9289.294.791.7
Caretronic7777.876.376.7
Smartphone66.652.984.653.6
SVMEmpatica96.893.510096.6
Caretronic100100100100
Smartphone56.752.969.268.8
5ADAEmpatica65.871.160.567.5
Caretronic81.678.984.281.1
Smartphone57.694.191.269.6
KNNEmpatica71.184.257.974.4
Caretronic78.965.892.175.8
Smartphone61.658.862.558.8
SVMEmpatica70.572.368.870.8
Caretronic73.778.968.475
Smartphone57.658.87551.3
6ADAEmpatica81.681.680.783.2
Caretronic69.760.578.966.7
Smartphone5056.456.251.5
KNNEmpatica60.570.686.854.4
Caretronic82.986.878.983.5
Smartphone73.583.362.581.6
SVMEmpatica77.280.473.977.9
Caretronic88.677.810087.5
Smartphone82.477.887.577.8
7ADAEmpatica69.961.178.466.7
Caretronic84.991.778.485.7
Smartphone69.752.987.564.3
KNNEmpatica76.797.256.880.5
Caretronic76.758.394.671.2
Smartphone66.752.981.262.1
SVMEmpatica64.16365.263.7
Caretronic68.477.876.366.7
Smartphone66.758.87564.5
8ADAEmpatica68.455.381.663.6
Caretronic77.676.378.977.3
Smartphone56.294.186.790
KNNEmpatica71.184.257.974.4
Caretronic93.410086.893.8
Smartphone62.552.973.360
SVMEmpatica65.484.452.266.7
Caretronic97.110094.497.1
Smartphone62.558.866.762.6
9ADAEmpatica69.975.763.971.8
Caretronic72.678.466.774.4
Smartphone55.972.287.560
KNNEmpatica75.370.380.674.3
Caretronic8994.683.389.7
Smartphone52.972.268.861.9
SVMEmpatica7578.371.775.8
Caretronic63.273.752.666.7
Smartphone70.655.657.566.7
10ADAEmpatica81.381.681.181.6
Caretronic86.792.181.187.5
Smartphone57.652.968.851.4
KNNEmpatica81.378.983.881.1
Caretronic8073.786.578.9
Smartphone90.994.187.591.4
SVMEmpatica82.473.991.181
Caretronic77.872.283.376.5
Smartphone72.770.67572.7
11ADAEmpatica90.784.297.390.1
Caretronic8484.283.884.2
Smartphone64.710070.673.9
KNNEmpatica8089.570.381.9
Caretronic7777.876.376.7
Smartphone61.858.864.760.6
SVMEmpatica80.476.184.879.5
Caretronic100100100100
Smartphone64.764.764.764.7
12ADAEmpatica93.486.810093
Caretronic7571.178.974
Smartphone63.670.656.266.7
KNNEmpatica90.892.189.590.9
Caretronic98.797.410098.7
Smartphone72.770.67572.7
SVMEmpatica92.497.88792.8
Caretronic100100100100
Smartphone66.776.556.270.3
13ADAEmpatica54.291.481.166
Caretronic95.897.194.695.8
Smartphone87.910076.588.9
KNNEmpatica87.592.991.986.6
Caretronic93.188.697.392.5
Smartphone54.562.552.960
SVMEmpatica92.489.195.792.1
Caretronic97.410094.797.4
Smartphone63.662.564.664.7
14ADAEmpatica78.188.967.680
Caretronic84.977.891.983.6
Smartphone78.810058.882.1
KNNEmpatica80.897.264.983.3
Caretronic94.594.494.694.4
Smartphone93.993.894.193.8
SVMEmpatica93.589.197.893.2
Caretronic97.194.110097
Smartphone9710094.197
15ADAEmpatica71.186.855.375
Caretronic96.110092.196.2
Smartphone705092.956.8
KNNEmpatica67.181.652.671.3
Caretronic72.484.260.575.3
Smartphone6062.567.160
SVMEmpatica84.883.481.784.9
Caretronic94.310088.994.4
Smartphone76.468.886.769.7
16ADAEmpatica100100100100
Caretronic88.376.310086.6
Smartphone81.262.510076.9
KNNEmpatica100100100100
Caretronic8398.797.4100
Smartphone82.282.282.282.2
SVMEmpatica70.783.856.574.3
Caretronic78.984.273.780
Smartphone84.487.581.287.1
17ADAEmpatica69.365.87368.5
Caretronic90.789.591.990.7
Smartphone54.383.376.576
KNNEmpatica8497.470.386
Caretronic74.792.156.878.7
Smartphone85.777.894.184.8
SVMEmpatica100100100100
Caretronic10088.910095
Smartphone94.388.910094.1
Table A3. Results of computation time of each method and for each dataset.
Table A3. Results of computation time of each method and for each dataset.
ClassifierDeviceTime (s)
ADAEmpatica1.2454
Caretronic1.1669
Smartphone0.8609
KNNEmpatica0.4867
Caretronic0.4775
Smartphone0.5057
SVMEmpatica0.3892
Caretronic0.3801
Smartphone0.3953
The experimental protocol was conducted as follows:
  • Three-kilogram weights were affixed to each of the participant’s legs to simulate an elderly gait.
  • The participant affixed the Caretronic wristband to their left wrist and the Empatica E4 wristband to their right wrist.
  • The participant proceeded to walk in a predefined loop for a duration of 4 min in one direction. Following this, they reversed their direction and continued walking for another 4 min.
  • The participant interchanged the positions of the Caretronic wristband and Empatica E4 on their wrists.
  • The participant repeated step 3.
  • Finally, all the aforementioned steps were repeated, but the participant wore impairment glasses.
Due to the limited size of our participant group, we did not observe any discernible effects attributable to their individual characteristics within the context of the experiment. Furthermore, none of the participants exhibited any notable health conditions that would significantly impact their gait.

References

  1. Silvia, D.; Ersilia, L.; Francesca, B.; Roberto, F.; Calo, L.V.; Eva, N. Risk Factors for Falls in Community-dwelling Older People: “A Systematic Review and Meta-analysis”. JSTOR Epidemiol. 2010, 21, 658–668. [Google Scholar]
  2. Kiprijanovska, I.; Gjoreski, H.; Gams, M. Detection of Gait Abnormalities for Fall Risk Assessment Using Wrist-Worn Inertial Sensors and Deep Learning. Sensors 2020, 20, 5373. [Google Scholar] [CrossRef]
  3. Robert, L.B.; Joseph, S.C. The Second Fifty Years: Promoting Health and Preventing Disability; National Academies Press: Washington, DC, USA, 1992; p. 332. [Google Scholar]
  4. Koeda, M.; Fukuroda, K.; Mikane, S.; Onishi, K.; Noborio, H.; Tsujishita, M. Development of a VR simulator for the elder’s impaired visual function and the investigation of the VR objects recognition with visual function impairment. In Proceedings of the International Conference on Human-Computer Interaction (HCII 2023), Copenhagen, Denmark, 23–28 July 2023; Lecture Notes in Computer Science. Kurosu, M., Hashizume, A., Eds.; Springer: Cham, Switzerland, 2023; Volume 14013. [Google Scholar] [CrossRef]
  5. De Almeida, S.T.; Soldero, C.L.C.; de Carli, G.A.; Gomes, I.; de Lima Resende, T. Analysis of extrinsic and intrinsic factors that predispose elderly individuals to fall. Rev. Assoc. Med. Bras. 2012, 58, 427–433. [Google Scholar]
  6. Lord, S.; Galna, B.; Rochester, L. Moving Forward on Gait Measurement: Toward a More Refined Approach. Mov. Disord. Off. J. Mov. Disord. Soc. 2013, 28, 1534–1543. [Google Scholar] [CrossRef] [PubMed]
  7. Muro, A.; Zapirain, B.; Mendez-Zorrilla, A. Gait Analysis Methods: An Overview of Wearable and Non-Wearable Systems, Highlighting Clinical Applications. Sensors 2014, 14, 3362–3394. [Google Scholar] [CrossRef]
  8. Walter, P.; Regina, K. Gait disorders in adults and the elderly. Wien. Klin. Wochenschr. 2017, 129, 81–95. [Google Scholar] [CrossRef]
  9. Hemmatpour, M.; Ferrero, R.; Montrucchio, B.; Rebaudengo, M. A Review on Fall Prediction and Prevention System for Personal Devices: Evaluation and Experimental Results. Adv. Hum.-Comput. Interact. 2019, 11, 1–12. [Google Scholar] [CrossRef]
  10. Keren, K.; Busse, M.; Fritz, N.; Muratori, L.; Gazit, E.; Hillel, I.; Scheinowitz, M.; Gurevich, T.; Inbar, N.; Omer, N.; et al. Quantification of Daily-Living Gait Quantity and Quality Using a Wrist-Worn Accelerometer in Huntington’s Disease. Front. Neurol. 2021, 12, 719442. [Google Scholar] [CrossRef] [PubMed]
  11. Troiano, R.; McClain, J.; Brychta, R.; Chen, K. Evolution of accelerometer methods for physical activity research. Br. J. Sport. Med. 2014, 48, 1019–1023. [Google Scholar] [CrossRef] [PubMed]
  12. Soltani, A.; Dejnabadi, H.; Savary, M.; Aminian, K. Real-World Gait Speed Estimation Using Wrist Sensor: A Personalized Approach. IEEE J. Biomed. Health Inform. 2019, 24, 658–668. [Google Scholar] [CrossRef]
  13. Soltani, A.; Paraschiv-Ionescu, A.; Dejnabadi, H.; Marques-Vidal, P.; Aminian, K. Real-World Gait Bout Detection Using a Wrist Sensor: An Unsupervised Real-Life Validation. IEEE Access 2020, 8, 102883–102896. [Google Scholar] [CrossRef]
  14. Cola, G.A.M.; Musso, F.; Vecchio, A. Personalized gait detection using a wrist-worn accelerometer. In Proceedings of the 2017 IEEE 14th International Conference on Wearable and Implantable Body Sensor Networks (BSN), Eindhoven, The Netherlands, 9–12 May 2017; pp. 173–177. [Google Scholar] [CrossRef]
  15. Gjoreski, M.; Gjoreski, H.; Lustrek, M.; Gams, M. Recognizing atomic activities with wrist-worn accelerometer using machine learning. In Proceedings of the 18th International Multiconference INFORMATION SOCIETY—IS 2015, Ljubljana, Slovenia, 12–13 October 2015. [Google Scholar]
  16. Hui, L.; Tingting, X.; Tanja, S. On a real real-time wearable human activity recognition system. In Proceedings of the 16th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC 2023)—WHC, Lisbon, Portugal, 16–18 February 2023. [Google Scholar]
  17. Hartmann, Y.; Liu, H.; Schultz, T. High-level features for human activity recognition and modeling. In Proceedings of the International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC 2022), Virtual Event, 9–11 February 2022; Roque, A.C.A., Ed.; Springer: Cham, Switzerland, 2023; Volume 1814. [Google Scholar] [CrossRef]
  18. Liu, H.; Gamboa, H.; Schultz, T. Sensor-Based Human Activity and Behavior Research: Where Advanced Sensing and Recognition Technologies Meet. Sensors 2022, 23, 125. [Google Scholar] [CrossRef] [PubMed]
  19. Janko, V.; Lustrek, M. A General Framework for Making Context-Recognition Systems More Energy Efficient. Sensors 2021, 21, 766. [Google Scholar] [CrossRef] [PubMed]
  20. Horst, F.; Lapuschkin, S.; Samek, W.M.; Klaus-Robert, S.W. Explaining the unique nature of individual gait patterns with deep learning. Sci. Rep. 2019, 9, 2391. [Google Scholar] [CrossRef] [PubMed]
  21. Liu, H. Biosignal Processing and Activity Modeling for Multimodal Human Activity Recognition. Ph.D. Thesis, Universität Bremen, Bremen, Germany, 2021. [Google Scholar] [CrossRef]
  22. Wahid, M.F.; Begg, R.; Hass, C.; Halgamuge, S.; Ackland, D. Classification of Parkinson’s Disease Gait Using Spatial-Temporal Gait Features. IEEE J. Biomed. Health Inform. 2015, 19, 1. [Google Scholar] [CrossRef] [PubMed]
  23. Howcroft, J.; Kofman, J.; Lemaire, E. Prospective Fall-Risk Prediction Models for Older Adults Based on Wearable Sensors. IEEE Trans. Neural Syst. Rehabil. Eng. 2017, 25, 1812–1820. [Google Scholar] [CrossRef]
  24. Hiu, L.; Hartmann, Y.; Schultz, T. Motion units: Generalized sequence modeling of human activities for sensor-based activity recognition. In Proceedings of the 2021 29th European Signal Processing Conference (EUSIPCO), Dublin, Ireland, 23–27 August 2021; pp. 1506–1510. [Google Scholar] [CrossRef]
  25. Xue, T.; Liu, H. Hidden Markov model and its application in human activity recognition and fall detection: A review. In Communications, Signal Processing, and Systems, Proceedings of the CSPS 2021, Changbaishan, China, 24–25 July 2021; Lecture Notes in Electrical Engineering; Liang, Q., Wang, W., Liu, X., Na, Z., Zhang, B., Eds.; Springer: Singapore, 2022; Volume 878. [Google Scholar] [CrossRef]
  26. Drover, D.; Howcroft, J.; Kofman, J.; Lemaire, E. Faller Classification in Older Adults Using Wearable Sensors Based on Turn and Straight-Walking Accelerometer-Based Features. Sensors 2017, 17, 1321. [Google Scholar] [CrossRef]
  27. Shimizu, H.; Saito, T.; Kashiyama, S.; Kawamoto, S.; Morino, S.; Nagai-Tanima, M.; Aoyama, T. Differences in Gait Parameters between Supervised Laboratory and Unsupervised Daily Assessments of Healthy Adults. SSRN Electron. J. 2023, 1, 1–21. [Google Scholar] [CrossRef]
  28. Corrà, M.F.; Atrsaei, A.; Sardoreira, A.; Hansen, C.; Aminian, K.; Correia, M.; Vila-Chã, N.; Maetzler, W.; Maia, L. Comparison of Laboratory and Daily-Life Gait Speed Assessment during ON and OFF States in Parkinson’s Disease. Sensors 2021, 21, 3974. [Google Scholar] [CrossRef]
  29. Drunk Busters Impairment Goggle. 08-15 BAC. Available online: http://drunkbusters.com/impairment-goggle/ (accessed on 25 July 2023).
  30. Cr-Features. Available online: https://pypi.org/project/cr-features/ (accessed on 25 July 2023).
  31. Van der Maaten, L.; Postma, E.; Herik, H. Dimensionality Reduction: A Comparative Review. J. Mach. Learn. Res. 2007, 10, 1–36. [Google Scholar]
  32. Sarveshwaran, V.; Sevugan, A.; Swamidason, I.T.J. A Review of Dimensionality Reduction Techniques for Efficient Computation. Procedia Comput. Sci. 2019, 165, 104–111. [Google Scholar] [CrossRef]
  33. Sorzano, C.O.; Vargas, J.; Montano, A.P. A survey of dimensionality reduction techniques. arXiv 2014, arXiv:1403.2877. [Google Scholar]
  34. Anowar, F.; Sadaoui, S.; Selim, B. Conceptual and empirical comparison of dimensionality reduction algorithms (PCA, KPCA, LDA, MDS, SVD, LLE, ISOMAP, LE, ICA, t-SNE). Comput. Sci. Rev. 2021, 40, 100378. [Google Scholar] [CrossRef]
  35. Gadekallu, T.; Reddy, P.; Lakshman, K.; Kaluri, R.; Rajput, D.; Srivastava, G.; Baker, T. Analysis of Dimensionality Reduction Techniques on Big Data. IEEE Access 2020, 8, 54776–54788. [Google Scholar] [CrossRef]
  36. Webber, M.; Fernandez, R. Human Activity Recognition with Accelerometer and Gyroscope: A Data Fusion Approach. IEEE Sens. J. 2021, 21, 16979–16989. [Google Scholar] [CrossRef]
  37. Carreira-Perpiñán, M. A Review of Dimension Reduction Techniques; Technical Report CS-96-09; University of Sheffield: Sheffield, UK, 1997. [Google Scholar]
  38. Al-Thuwaynee, O.; Aydda, A.; Hwang, I.; Lee, Y.K.; Kim, S.W.; Park, H.J.; Lee, M.S.; Yura, P. Uncertainty Reduction of Unlabeled Features in Landslide Inventory Using Machine Learning t-SNE Clustering and Data Mining Apriori Association Rule Algorithms. Appl. Sci. 2021, 11, 556. [Google Scholar] [CrossRef]
  39. Cox, D.R. The regression analysis of binary sequences. J. R. Stat. Soc. Ser. 1958, 20, 215–232. [Google Scholar] [CrossRef]
  40. Mucherino, A.; Papajorgji, P.J.; Pardalos, P.M. k-nearest neighbor classification. Data mining in agriculture. In Optimization and Its Applications; Springer: Cham, Switzerland, 2009; Volume 34. [Google Scholar] [CrossRef]
  41. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  42. Hornyák, O.; Iantovics, L.B. AdaBoost Algorithm Could Lead to Weak Results for Data with Certain Characteristics. Mathematics 2023, 11, 1801. [Google Scholar] [CrossRef]
  43. Thakur, N.; Han, C.Y. A Study of Fall Detection in Assisted Living: Identifying and Improving the Optimal Machine Learning Method. J. Sens. Actuator Netw. 2021, 10, 39. [Google Scholar] [CrossRef]
  44. Lee, J.S.; Tseng, H.-H. Development of an Enhanced Threshold-Based Fall Detection System Using Smartphones with Built-In Accelerometers. IEEE Sens. J. 2019, 19, 8293–8302. [Google Scholar] [CrossRef]
Figure 1. Performed predefined path simulating walk.
Figure 1. Performed predefined path simulating walk.
Sensors 23 08294 g001
Figure 2. Equipment for simulating elderly people with an abnormal walk. (a) Leg weights—3 kg each. (b) Impairment glasses.
Figure 2. Equipment for simulating elderly people with an abnormal walk. (a) Leg weights—3 kg each. (b) Impairment glasses.
Sensors 23 08294 g002
Figure 3. Caretronic and Empatica E4 raw accelerometer signals for x, y, and z axes.
Figure 3. Caretronic and Empatica E4 raw accelerometer signals for x, y, and z axes.
Sensors 23 08294 g003
Figure 4. Equipment for data collection: (a) Caretronic wristband, (b) Empatica wristband.
Figure 4. Equipment for data collection: (a) Caretronic wristband, (b) Empatica wristband.
Sensors 23 08294 g004
Figure 5. Flowchart of the proposed algorithm.
Figure 5. Flowchart of the proposed algorithm.
Sensors 23 08294 g005
Figure 6. Plot shows a comparison of three devices used and a combination of features extracted from two of them (combined). The x-axis 1–4 corresponds to the type of cross validation from Table 2, based on the accuracy averaged over every subject in the study for the model (SVM), sorted by the descending order of the y-axis.
Figure 6. Plot shows a comparison of three devices used and a combination of features extracted from two of them (combined). The x-axis 1–4 corresponds to the type of cross validation from Table 2, based on the accuracy averaged over every subject in the study for the model (SVM), sorted by the descending order of the y-axis.
Sensors 23 08294 g006
Figure 7. This scatter plot is a two-dimensional TSNE representation of data for subject 16.
Figure 7. This scatter plot is a two-dimensional TSNE representation of data for subject 16.
Sensors 23 08294 g007
Figure 8. This scatter plot is a two-dimensional TSNE representation of data for subject 11.
Figure 8. This scatter plot is a two-dimensional TSNE representation of data for subject 11.
Sensors 23 08294 g008
Table 1. Sessions of experiment per participant.
Table 1. Sessions of experiment per participant.
SessionImpairment GogglesLeft HandRight HandClockwise Walking Direction
1NoCaretronicEmpaticaYes
2NoCaretronicEmpaticaNo
3NoEmpaticaCaretronicYes
4NoEmpaticaCaretronicNo
5YesCaretronicEmpaticaYes
6YesCaretronicEmpaticaNo
7YesEmpaticaCaretronicYes
8YesEmpaticaCaretronicNo
Table 2. Cross-validation configurations.
Table 2. Cross-validation configurations.
ConfigurationTrain Sessions (in Equation (1))Test Sessions
11, 2, 3, 5, 6, 74, 8
21, 2, 4, 5, 6, 83, 7
31, 3, 4, 5, 7, 82, 6
42, 3, 4, 6, 7, 81, 2
Table 3. Average results of supervised learning methods for Empatica E4, Caretronic, and smartphone. The best results are marked with bold.
Table 3. Average results of supervised learning methods for Empatica E4, Caretronic, and smartphone. The best results are marked with bold.
ClassifierDeviceAccuracy (%)Sensitivity (%)Specificity (%)F1
ADAEmpatica75.477.976.776.2
Caretronic82.98481.783
Smartphone6578.27770.1
KNNEmpatica77.483.873.778.2
Caretronic82.583.483.383.3
Smartphone71.976.773.572
SVMEmpatica79.280.777.779.5
Caretronic86.786.788.886.1
Smartphone73.372.175.973.6
Table 4. p-Values for each method, comparing between Caretronic and Empatica E4 wristbands. The best results are marked with bold.
Table 4. p-Values for each method, comparing between Caretronic and Empatica E4 wristbands. The best results are marked with bold.
Methodp-Value for Accuracyp-Value for Sensitivityp-Value for Specificityp-Value for F1-Score
ADA0.060.150.180.06
KNN0.080.920.030.07
SVM0.010.040.030.02
Table 5. p-Values for each method comparing between Caretronic and smartphone Xiaomi Redmi 7. The best results are marked with bold.
Table 5. p-Values for each method comparing between Caretronic and smartphone Xiaomi Redmi 7. The best results are marked with bold.
Methodp-Value for Accuracyp-Value for Sensitivityp-Value for Specificityp-Value for F1-Score
ADA0.0000.30.30.000
KNN0.010.010.160.01
SVM0.0000.0000.010.000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kocuvan, P.; Hrastič, A.; Kareska, A.; Gams, M. Predicting a Fall Based on Gait Anomaly Detection: A Comparative Study of Wrist-Worn Three-Axis and Mobile Phone-Based Accelerometer Sensors. Sensors 2023, 23, 8294. https://doi.org/10.3390/s23198294

AMA Style

Kocuvan P, Hrastič A, Kareska A, Gams M. Predicting a Fall Based on Gait Anomaly Detection: A Comparative Study of Wrist-Worn Three-Axis and Mobile Phone-Based Accelerometer Sensors. Sensors. 2023; 23(19):8294. https://doi.org/10.3390/s23198294

Chicago/Turabian Style

Kocuvan, Primož, Aleksander Hrastič, Andrea Kareska, and Matjaž Gams. 2023. "Predicting a Fall Based on Gait Anomaly Detection: A Comparative Study of Wrist-Worn Three-Axis and Mobile Phone-Based Accelerometer Sensors" Sensors 23, no. 19: 8294. https://doi.org/10.3390/s23198294

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop