main-content

## Weitere Artikel dieser Ausgabe durch Wischen aufrufen

29.07.2020 | Ausgabe 5/2020 Open Access

# A Novel Functional Link Network Stacking Ensemble with Fractal Features for Multichannel Fall Detection

Zeitschrift:
Cognitive Computation > Ausgabe 5/2020
Autoren:
Ahsen Tahir, Gordon Morison, Dawn A. Skelton, Ryan M. Gibson
Wichtige Hinweise

## Ethical Approval

This article does not contain any studies with human participants or animals performed by any of the authors.

## Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Introduction

Falls are a major health hazard for older adults and result in high morality and injury rates [ 55]. A large percentage of fall incidents, up to 62%, result in immobility [ 9, 34]. Falls result in high costs to the national health service [ 55]. Early detection of falls and immediate medical aid can save lives and reduce death by 80% [ 39]. Fall Detection Systems (FDSs) play an important role in timely medical aid provision through early detection of falls [ 39]. FDS can be sensor based [ 38, 41, 64] or camera based [ 15, 22, 30, 37]. Sensor-based systems can be wearable [ 26, 41] and smartphone-based [ 21, 46] accelerometers or gyroscopes, while environmental sensors frequently use infrared [ 7, 14], pressure sensors [ 59] and WiFi-based sensing devices [ 17, 54], which utilise fluctuations in channel state information amplitude at the WiFi receiver to sense activities. The readings from these sensors are used to detect and classify falls from Activities of Daily Life (ADL).
The sensor signals are evaluated with signal processing algorithms to extract features for classification. Machine learning and neural network algorithms are then frequently used to classify and detect falls from the extracted features by a processing device [ 21, 26, 62]. Machine learning techniques and neural network models have a significant focus on randomised algorithms in recent years, due to their asymptotically faster runtimes and computationally efficient models [ 48, 56]. The main idea behind utilising randomised learning for neural networks is to assign random weights and biases to neural network inputs and compute output parameters by solving a linear system [ 57]. Random Vector Functional Link (RVFL) neural networks introduced by Pao et al. in [ 42] utilise randomness for a subset of weights and biases between the input and a single hidden layer, which are kept fixed during the training procedure. Unlike single hidden layer Multi-Layer Perceptron (MLP), RVFL networks have direct links between the inputs and the output. The output weights can be computed from a closed form least-squares method. RVFL networks are computationally efficient and fast learners, unlike traditional neural networks [ 43]. Therefore, RVFL network is a prime candidate for fast ensemble techniques.
Fractal dynamics is an essential part of complex non-linear dynamic systems which are chaotic in nature and appears in state space representations of such systems with time-evolving trajectories [ 35]. The human movements manifest as a result of complex non-linear interactions representative of a complex non-linear dynamic system [ 45] and can be analysed as a chaotic system exhibiting fractal dynamics, while the current work in non-linear dynamics is limited to the analysis of human movements during walking [ 52]. Other activities such as falls can be analysed with fractal dynamics. Real-world fractals are statistically self-similar patterns and signals, where the whole is statistically similar to its components. The generalised Hurst exponent is related to fractal characteristics of a signal and is used for fractal analysis of time-varying biomedical signals [ 44]. The fractal characteristics of a signal have a positive correlation with its irregularity, according to Mandelbrot [ 33] and the generalised Hurst exponent can be used as a measure of signal irregularity.
We utilise RVFL neural networks as base classifiers for our proposed ensemble method. Each base classifier is trained in a highly optimised feature space to achieve high classification accuracy. We propose fractal feature–based classification of falls, along with Discrete Wavelet Transform (DWT) coefficient features. Hurst exponent values are used as fractal features to represent the accelerometer signals for falls and ADL. Fall signals traditionally consist of a frequent single-magnitude spike, as opposed to continuous and lower magnitude variations for other activities [ 23] and potentially have different irregularity characteristics, which can potentially be exploited as features for classification. The Hurst exponents are calculated from the Signal Summation Conversion (SSC) method [ 12]. The DWT multilevel wavelet transform is performed in parallel with the SSC computations and the resulting DWT coefficients and Hurst exponents are used to train various classifiers for fall detection.
Furthermore, our work proposes a novel ensemble of RVFL neural networks combined by an RVFL network meta-learner as illustrated in Fig.  1 for the final classification of falls from ADLs, to achieve low latency and fast training for the ensemble learner. The base RVFL classifier response can be potentially diverse due to a random subset of parameters used in RVFL networks. The proposed technique introduces heterogeneity by choosing from a set of different kernel functions for the network and selecting classifiers from different folds of the same k-fold training procedure. This encourages generation of a larger number of base classifiers within the same training procedure for lower runtime costs. However, the speed advantage of the RVFL ensemble can be lost if an efficient procedure for selection of RVFL base classifiers is not adopted. Additionally, we also propose an efficient scheme for selection of individual classifiers.
Our work determines diversity of models from overall performance measures of base classifiers, namely total True Positives (TP) and True Negatives (TN). The insight is based on the observation that two models with similar accuracies can be inherently different due to the way they classify positives and negatives. A model with high TP and low TN values may have a similar accuracy to a model with low TP and high TN values, since accuracy depends on the aggregate sum of the two counts. However, the two models are inherently diverse. The technique determines a diversity indicator from overall performance measures (TP and TN values) computed while training the model, instead of finding diversity amongst the models from individual inputs and their corresponding classification outputs. Calculating diversity from each input space sample is not computationally feasible for comparing a large number of models. An Aggregate Performance as Diversity Indicator (APDI) is constructed from their difference and the concept is applied to models with same or different accuracies. The proposed RVFL ensemble and selection algorithm-based FDS is illustrated in Fig.  1, while an overview of the fall detection process is shown in Fig.  2. As illustrated, the accelerometer signals from a wearable sensor device are transmitted to a local processing system through the WiFi Router for fall classification. On detection of a fall event, the nearest medical aid centre is notified for timely medical assistance. The contributions of our work are summarised as follows:
• We proposed the use of the generalised Hurst exponent for fall classification as a metric to characterise the irregularity of a signal. Mandelbrot in [ 33] demonstrated that fractal dimensions’ increase with the irregularity of a one-dimensional curve and have a positive correlation with signal irregularity. The generalised Hurst exponent is related to the fractal dimensions of a signal and is used to determine the fractal dimension of one-dimensional signals [ 44]. The generalised Hurst exponent is therefore leveraged as a discriminating feature for representing the irregularity characteristics of a signal to train machine learning algorithms for fall classification. The technique is based on the observation that fall accelerometer signals consist of a spike and have different irregularity characteristics than ADL signals, which possess higher irregularity. Our fractal features demonstrate high accuracy results for traditional machine learning algorithms including 88.57% for Support Vector Machine (SVM) and 90% for both K-Nearest Neighbour (KNN) and RF. We demonstrate randomised neural networks on proposed features with a single RVFL neural network and achieve the highest accuracy of 91.43%.
• We further improved the classification model and proposed a unique and novel stacking RVFL ensemble with an RVFL meta-learner for fall detection and classification with the highest classification accuracy of 95.71%. To the best of our knowledge, this is the first instance of RVFL stacking ensembles combined with a novel selection algorithm for classification tasks and detection of falls from ADL. Our stacking ensemble achieves significant performance in training speed in comparison with non-ensemble and ensemble learning techniques, while maintaining the highest accuracy. The proposed ensemble classifier is 2.3× faster than a single Decision Tree (DT), while achieving even higher speedups in training times of 317.7× and 198.56× compared with highly optimised ANN and RF ensemble, respectively.
• We also proposed a novel and fast selection method for base classifiers determined by a diversity indicator obtained from overall performance values during training. We utilise the variations in TP and TN values amongst base classifiers to indicate diversity between classifiers. The diversity criteria are based on the insight obtained through experimental results and observations that two RVFL base models with similar accuracy can be inherently diverse based on whether the accuracy performance has been achieved through higher TP or higher TN values. To the best of our knowledge, this is the first instance of the difference in TP and TN values being utilised to determine diversity for base classifiers. We design and develop a heuristic for diversity indication, Aggregate Performance as Diversity Indicator (APDI) for selection of our base models based on our proposed diversity criteria through heuristic-based search algorithm. The base classifier selection method based on the aggregate performance values (TP and TN) not only results in fast selection during training but also achieves high accuracy with a small number of base models.
The next “ Related Work” section discusses the related work and “ Mathematical Techniques” section explains the mathematical techniques used. The proposed algorithm with the ensemble technique is discussed in “ Proposed Algorithm”. Section “ Methodology” presents methodology and “ Results and Discussion” section provides results and discussion.

## Related Work

There has been a number of recent research publications on detecting fall events based on wearable sensors using traditional machine learning techniques. Hsieh et al. [ 19] proposed a fall detection algorithm that utilises both machine learning and threshold-based techniques for detection of falls from accelerometer signals with high accuracy, above 98%. Sukor et al. [ 51] leveraged time and frequency space features including energy and power spectrum of accelerometer signals for fall detection. Principal Component Analysis (PCA) was performed on feature space to select the principal components and various machine learning classifiers including DT and SVM were used for fall detection. Ramon et al. [ 47] utilised a multiple-sensor body area network with a smartphone for sensing, processing and classification of falls and ADLs. A number of classifiers including SVM, KNN, Naive Bayes and DT were applied and analysis of variance algorithm was used for validation of different algorithms.
Ensemble techniques have also been utilised for fall detection. The latest work by Chelli et al. [ 5] utilises Ensemble Bagged Trees (EBT) for classification of falls with a number of time and frequency features with an accuracy of 97.7%. In [ 58], authors utilise convolutional layers to extract features from images and a bagged tree ensemble is then used for fall classification. Nguyen et al. [ 36] proposed RF for detection of falls with a number of time features including signal energy and achieved an accuracy of 94.37% for fall detection. However, generation of a large number of trees is computationally expensive and we show that our proposed method is faster than a single DT. Yang et al. [ 63] combined tree classifiers through a diversity-based technique for RF ensemble using weights for each sample. The tree weights are learned through convex quadratic programming. However, our method utilises RVFL neural networks for fast training speed and is 2.3× faster than a single decision tree. Moreover, our proposed method uses a simple selection procedure based on aggregate performance metrics obtained from each model which improves the overall accuracy and reduces the selection time cost.
Ensemble techniques for combining neural networks were also leveraged for fall classification. Recently, Chen et al. [ 6] proposed ensemble of stacked AutoEncoders (AE) along with One-Class Classification based on the Convex Hull (OCCCH) technique. Furthermore, the authors utilised two stage ensemble method with majority voting in the first and weighted ensemble in the second stage. Khan et al. [ 27] proposed an AE ensemble for processing accelerometer and gyroscope signals for classification of falls. Furthermore, the authors utilise a majority voting scheme to combine the results of the classifiers. Wen et al. [ 60] presented an ensemble of CNN, where each CNN outputs a probability for each class. The probabilities are then combined using a probability-based fusion method and the maximum probability is used for the final classification results. However, deep neural networks, such as AEs, CNNs, etc., are computationally extensive and suffer from high runtime costs associated with generation of base classifiers for deep neural networks. Our proposed technique offers a fast RVFL ensemble technique with RVFL meta-learner to combine the outputs, along with an aggregate performance-based diversity indicator for selection of base learners, resulting in high accuracy and low runtime costs.
Randomised algorithms [ 32] have received a significant focus in recent years for large-scale computing applications, due to their asymptotically faster runtimes and efficient numerical implementations. Neural networks and machine learning models have also exploited randomised algorithms for faster training [ 48, 56]. To the best of our knowledge, this is the first instance of randomised weights-based RVFL neural networks for fall detection. RVFL neural networks use a subset of randomised weights/biases and were proposed by Pao et al. in [ 42], while generalisation ability and learning characteristics were discussed in [ 43]. Zhou et al. [ 67] presented an online version of RVFL with sequential learning for modelling of dynamic time-varying complex systems. The proposed method is applied to the prediction of quality indices for an industrial furnace process. Xu et al. used the RVFL networks for learning of spatio-temporal processes [ 61]. Maeda et al. [ 31] used a convolutional coding-based deep RVFL neural network for distress classification of roads. Tian et al. [ 53] used RVFL networks for recognition of intrusion signal in an optical fiber warning system. Cecotti et al. [ 4] used deep RVFL neural networks for recognition of handwritten characters. Scardapane et al. [ 49] present Bayesian inference techniques for data modelling with RVFL networks, while Dai et al. [ 11] used RVFL networks for the diagnosis of Alzheimer’s disease. The authors also used their model to determine the progression of disease. Katuwal et al. in [ 25] proposed an ensemble of RVFL neural network with DTs. RVFL network is used for initial division of data into classes and DTs are applied to the obtained classes of data for final classification. However, the DTs have a higher runtime cost and take away the speed advantage of RVFL networks. In our work, the proposed RVFL ensemble is 2.3× faster than a single DT. Furthermore, Katuwal et al. in [ 24] also proposed an ensemble of deep RVFL network, which utilises all the hidden layers of a single deep network to obtain a separate output from each layer and calculates an ensemble output based on average or a majority vote. However, deep RVFL ensembles have high computational complexity and do not provide the speed advantage of our proposed RVFL ensemble.
Fractal features have also been used in biomedical systems with machine learning techniques but are limited to diagnosis of anomalies or have been used only for human gait analysis. Fractal dynamics of walk and human gait have been analysed in [ 18, 52] and [ 50]. Various anomalies have been detected in biological systems by the use of fractal dimensions [ 28, 66]. Koutsiana et al. [ 28] detected fetal heart sounds by computing fractal dimensions of wavelet transformed signals. Anomalies in the human brain have also been detected by Zhang et al. in [ 66] by utilising fractal dimensions. However, to the best of our knowledge, the generalised Hurst exponent has not been used for activities in general and falls in particular as an irregularity measure of the obtained signals.

## Mathematical Techniques

### Discrete Wavelet Transform

The accelerometer signals representing the tri-axis of motion along x, y and z axes can be mathematically represented as a x = { a x( n)}, a y = { a y( n)} and a z = { a z( n)}, where n = {1,…, N} and N = 128 samples for the evaluated window size. The tri-axis accelerometer signals a x, a y and a z are illustrated in Fig.  3 in red, orange and blue, respectively. The DWT of tri-axis accelerometer signals is a projection of each tri-axis accelerometer signal on a family of wavelet basis functions ϕ i,k( n) and ψ i,k( n). The basis functions are obtained from dilations and translations of the mother wavelet ψ( n) and scaling function ϕ( n) and are as follows:
$$\phi_{i,k}(n) = {2^{-\frac{i}{2}}} \phi\left( 2^{-i} n-k\right)$$
(1)
$$\psi_{i,k}(n) = {2^{-\frac{i}{2}}} \psi\left( 2^{-i} n-k\right)$$
(2)
where k are discrete translations and 2 i represent dyadic dilations. The DWT coefficients of each tri-axis accelerometer signal, generally represented as a dim( n), where dim represents the dimensions of motion along x, y or z axis, can be given as:
$$\mathcal{A}_{i,dim}(k) = \underset{n}{\sum} a_{dim}(n) \phi_{i,k}(n)$$
(3)
$$\mathcal{D}_{i,dim}(k) = \underset{n}{\sum} a_{dim}(n) \psi_{i,k}(n)$$
(4)
where $$\mathbf {\mathcal {A}_{i,dim}}$$ represents wavelet approximation coefficient vector and $$\mathbf {\mathcal {D}_{i,dim}}$$ represents wavelet detail coefficient vector for each of the three axes of motion where dim can be x, y or z, while k is the shifting index of mother and scaling wavelet functions.
The low pass wavelet coefficients are also known as approximations. The approximations $$\mathbf {\mathcal {A}_{1,dim}}$$ are further used as input signals in Eqs.  3 and  4 to generate level-2 DWT approximations $$\mathbf {\mathcal {A}_{2,dim}}$$ and details $$\mathbf {\mathcal {D}_{2,dim}}$$. The level-2 DWT approximations $$\mathbf {\mathcal {A}_{2,dim}}$$ are then used as input signals in Eqs.  3 and  4 to generate level-3 DWT approximations $$\mathbf {\mathcal {A}_{3,dim}}$$ and details $$\mathbf {\mathcal {D}_{3,dim}}$$. Similarly, level-3 DWT approximations $$\mathbf {\mathcal {A}_{3,dim}}$$ are used to generate the final level-4 DWT approximations $$\mathbf {\mathcal {A}_{4,dim}}$$ and details $$\mathbf {\mathcal {D}_{4,dim}}$$. The final level-4 DWT approximations $$\mathbf {\mathcal {A}_{4,dim}}$$ are a vector of size [1×8] for each of the axes, where dim can be x, y or z. The 4-level DWT approximations $$\mathbf {\mathcal {A}_{4,x}}$$, $$\mathbf {\mathcal {A}_{4,y}}$$ and $$\mathbf {\mathcal {A}_{4,z}}$$ for each of the axis x, y or z are directly used as features for classification in the FDS system, along with the fractal features as illustrated in Fig.  3. The next section discusses the SSC method for computation of fractal features of accelerometer signals of falls and activities.

### Signal Summation Conversion

The signal summation method for computation of Hurst exponent [ 12] is also implemented on each of the tri-axis accelerometer signals a x = { a x( n)}, a y = { a y( n)}, a z = { a z( n)}, where n = {1, …, N} and N = 128 samples along the three axes of motion x, y and z. The steps of the process on each tri-axis accelerometer signal, generally represented as a dim( n), where dim denotes one of the three dimensions or axes of motion x, y or z, can be given as:
1.
Compute the cumulative sum signal s dim( n) of the accelerometer signal a dim( n) as follows:
$${{s}_{dim}(n)}=\sum\limits_{n=1}^{N}a_{dim}(n)$$
(5)

2.
Partition N samples of the cumulative sum signal s dim( n) for each of the three accelerometer axes d i m = { x, y, z}, into N/ w non-overlapping windows of size w = {2,4,…, N/2, N}.

3.
Perform the detrending process on the signal obtained from the previous step. In our work, we perform the bridge detrending process [ 3], which involves computing a separate line equation that connects the first and last points in the window for each partition. Given a window size w and window partition index j = {1,2,…, N/ w}, the index of the first and last points in the j th window partition can be given as j ww + 1 and jw. The slope s l dim,j and signal magnitude axis intercepts b dim,j for each window partition j, for each of the three accelerometer axes x, y and z respectively, are computed as:
$$sl_{dim,j}=\frac{s_{dim}(jw-w+1)-s_{dim}(jw)}{w-1}$$
(6)
$$b_{dim,j}=s_{dim}(jw-w+1)-sl_{dim,j}$$
(7)
The function d dim,j representing the line equation for each accelerometer axis and each window partition j can be given as:
$$d_{dim,j}(k_{w})=sl_{dim,j} k_{w} +b_{dim,j}$$
(8)
Each equation is then subtracted from the signal in the respective partition. The detrended signal $$\acute {s}_{dim,j}$$ for each partition j is given as:
$$\begin{array}{@{}rcl@{}} \acute{s}_{dim,j}(wj-w+k_{w})&=&s_{dim}(wj-w+k_{w})\\ &&-d_{dim,j}(k_{w}) \end{array}$$
(9)
where k w ∈{1,…, w} is the signal index in each window partition j, relative to its start.

4.
Compute the mean $$\overline {\acute {s}}_{dim,j}$$ and standard deviations σ dim,j, for each of the three accelerometer axes respectively, for each detrended window j from the following equations:
$${\overline{\acute{s}}_{dim,j}=\frac{1}{w}\sum\limits_{k_{w}=1}^{w}\acute{s}_{dim,j}(wj-w+k_{w})}$$
(10)
$${\sigma_{dim,j}=}\sqrt{\frac{1}{w-1}\sum\limits_{k_{w}=1}^{w}\left( \acute{s}_{dim,j}(wj-w+k_{w})-\overline{\acute{s}}_{dim,j}\right)^{2}}$$
(11)
where j = {1,2,…, N/ w} each for a given window size w.

5.
Compute the mean of standard deviations over all windows j = {1,2,…, N/ w} for a given window size w, for each given value of w = {2,4,8…, N} as:
$$\overline{\sigma}_{dim,w}=\frac{1}{N/w}\sum\limits_{j=1}^{N/w}\sigma_{dim,j}$$
(12)

6.
The Hurst exponents H dim, for the three accelerometer axes, dim= { x, y, z}, are related to the mean of standard deviation $$\overline {\sigma }_{dim,w}$$ for each window size w as given in Eq.  13, where ρ is the constant of proportionality. H dim can be computed from the slope of the least squares regression lines $$\log \overline {\sigma }_{dim,w}$$ versus $$\log w$$ according to Eq.  14.
$$\overline{\sigma}_{dim,w} \propto \rho w^{H_{dim}}$$
(13)
$$H_{dim} = \underset{w \to 0}{\lim}\frac{\log \overline{\sigma}_{dim,w}}{\log w}$$
(14)

The Hurst exponents H x, H y and H z represent fractal features for each dimension dim, with dim= { x, y, z} and are used along with the 4 th-level wavelet approximation coefficient vectors $$\mathbf {\mathcal {A}_{4,x}}$$, $$\mathbf {\mathcal {A}_{4,y}}$$ and $$\mathbf {\mathcal {A}_{4,z}}$$ as input features for the RVFL neural network.

### RVFL Neural Network

The RVFL neural network is a single hidden layer network, first introduced by Pao et al. in [ 42] and [ 43]. It is characterised by direct links between the input and the output layers, apart from the conventional connections between the input and hidden layers, as illustrated in Fig.  4. Hidden layer in an RVFL neural network is also known as the enhancement layer. The weights and biases between the input and enhancement layers are randomly initialised in an RVFL network and remain constant during the training phase, while the weights that connect the input and enhancement layer nodes to the output layer are learnt.
Given inputs $$\mathbf {x}_{di} \in \mathbb {R}^{r}$$ and target output $$y_{di} \in \mathbb {R}$$, where d i = {1,…, N t} is the data index and r = 27 are the number of wavelet and fractal input features. The RVFL network will have r input neurons and 1 output neuron. Let G be the number of enhancement nodes and α g denote random weights between the input and enhancement nodes, where g = {1,…, G} represents the index of the enhancement nodes. Then, α 1 = [ α 1,1α 1,r] represents the random weights initialised between the first enhancement node g = 1 and all the input nodes, which are equal to the number of features r. The output of the g th enhancement node y g for the d i th data input can be given as:
$$y_{g}(\mathbf{x}_{di})=f_{act}(\pmb{\alpha}_{g}\cdot\mathbf{x}_{di}^{T}+b_{g})$$
(15)
where, f act represents an activation function for the neural network. In matrix form, the overall input matrix X for the output node of RVFL network can be represented as a concatenation of two matrices X 1 and X 2, where X 1 represents inputs from the input layer and X 2 represents inputs from the enhancement layer:
$$\mathbf{X}= [\mathbf{X}_{1} \mathbf{X}_{2}] , \text{where}$$
(16)
$$\begin{array}{@{}rcl@{}} \mathbf{X}_{1}= \left [ \begin{array}{c} \mathbf{x}_{1}\\ \vdots\\ \mathbf{x}_{N_{t}} \end{array} \right ] = \left [ \begin{array}{ccc} x_{1,1} & {\cdots} & x_{1,r}\\ {\vdots} & {\ddots} & {\vdots} \\ x_{N_{t},1} & {\cdots} & x_{N_{t},r} \end{array} \right ], \text{ and} \end{array}$$
(17)
$$\begin{array}{@{}rcl@{}} \mathbf{X}_{2}= \left [ \begin{array}{ccc} f_{act}(\pmb{\alpha}_{1}\cdot\mathbf{x}^{T}_{1}+b_{1}) & {\cdots} & f_{act}(\pmb{\alpha}_{g}\cdot\mathbf{x}^{T}_{1}+b_{g})\\ {\vdots} & {\ddots} & {\vdots} \\ f_{act}(\pmb{\alpha}_{1}\cdot\mathbf{x}^{T}_{N_{t}}+b_{1}) & {\cdots} & f_{act}(\pmb{\alpha}_{g}\cdot\mathbf{x}^{T}_{N_{t}}+b_{g}) \end{array} \right ] \end{array}$$
(18)
Given weights β of the direct links to the output node, both from the input and the enhancement nodes. The outputs t of the RVFL network can be given as:
$$\mathbf{X}\pmb{\beta}=\mathbf{t},$$
(19)
where t is the target output vector,
$$\mathbf{t}= \left [ \begin{array}{c} t_{1}\\ \vdots\\ t_{N_{t}} \end{array} \right] \text{,}$$
(20)
$$\pmb{\beta}= \left [ \begin{array}{c} \beta_{1}\\ \vdots\\ \beta_{r+G} \end{array} \right ]$$
(21)
From Eq.  19, the output weights β can be calculated directly by the Moore-Penrose method given in [ 20] or the ridge regression [ 1, 65], as presented in Eq.  22,
$$\begin{array}{@{}rcl@{}} \pmb{\beta}&=&\mathbf{X}^{\dagger}\mathbf{t} \\ &=&(\mathbf{X}^{T}\mathbf{X}+\frac{\mathbf{I}}{C_{t}})^{-1}\mathbf{X}^{T}\mathbf{t} \end{array}$$
(22)

## Proposed Algorithm

The proposed algorithm takes tri-axis accelerometer values for all the three axes of motion. The signals are divided into window segments of size 128 and processed to extract wavelet low pass coefficients and fractal features. The selected Daubechies 4 wavelet coefficients and generalised Hurst exponents computed for all the three axes of motion are used to train RVFL models. The selected RVFL models are then used to generate an RVFL ensemble of RVFL models. The proposed algorithm is divided into two sections feature processing and RVFL Ensemble classifier, which are described next and illustrated in Figs.  5 and  6, respectively.

### Feature Processing

1.
Divide each tri-axis accelerometer signal, generally represented as a dim, where d i m denotes one of the three dimensions of motion x, y or z, into window segments of size N = 128 samples.

2.
Compute level-4 DWT approximation coefficients $$\mathbf {\mathcal {A}_{4,dim}}$$ for the accelerometer signal a dim for each of the three dimensions of motion, with d i m equal to x, y or z axis.
(a)
Perform zero padding for each of the tri-axis accelerometer signal a dim and compute convolution $$\mathbf {a_{dim}}\circledast \mathbf {h_{db4}}$$ of each signal with Daubechies 4 wavelet filter coefficients h db4 and down sample by 2 to find level-1 approximation coefficients $$\mathbf {\mathcal {A}_{1,dim}}$$ for each of the axis x, y and z.

(b)
Zero pad level-1 wavelet approximation coefficients $$\mathbf {\mathcal {A}_{1,dim}}$$ and compute convolution $$\mathbf {\mathcal {A}_{1,dim}}\circledast \mathbf {h_{db4}}$$ for each of the three axes with Daubechies 4 wavelet filter coefficients h db4 and down sample by 2 to find level-2 approximation coefficients $$\mathbf {\mathcal {A}_{2,dim}}$$.

(c)
Zero pad level-2 wavelet approximation coefficients $$\mathbf {\mathcal {A}_{2,dim}}$$ and compute convolution $$\mathbf {\mathcal {A}_{2,dim}}a\circledast \mathbf {h_{db4}}$$ for each of the three axes with Daubechies 4 wavelet filter coefficients h db4 and down sample by 2 to find level-3 approximation coefficients $$\mathbf {\mathcal {A}_{3,dim}}$$ for each of the three dimensions of motion x, y and z.

(d)
Similarly, perform zero padding of level-3 approximation coefficients $$\mathbf {\mathcal {A}_{3,dim}}$$ and compute convolution $$\mathbf {\mathcal {A}_{3,dim}}\circledast \mathbf {h_{db4}}$$ for each of the three axes of motion with Daubechies 4 wavelet filter coefficients h db4, which are then down sampled by 2 to find level-4 approximation coefficients. The level-4 DWT coefficients $$\mathbf {\mathcal {A}_{4,dim}}$$ for each dimension of motion are used as features in the training and testing of RVFL neural networks for generation of an RVFL stacking ensemble of RVFL networks.

3.
Compute the generalised Hurst exponent H dim with the SSC method to determine and represent the irregularity characteristics of falls and activities, where H dim represents each of the three axes generalised Hurst exponents H x, H y and H z for each of the three accelerometer signals a x, a y and a z.
(a)
Compute the cumulative sum s dim of accelerometer signal a dim, for each of the three axes.

(b)
Divide the signal s dim into N/ w non overlapping windows of size w = {2,…, N/2, N}.

(c)
Compute bridge detrending [ 3], using vector d dim,j which represent lines from the first to the last point in each window j. Perform detrending for the tri-axis cumulative accelerometer signals for all j partitions, s dim,jd dim,j.

(d)
Compute the standard deviation σ dim,j of all the three axis detrended signals $$\mathbf {\acute {s}_{dim,j}}$$ for each window partition j.

(e)
Compute the mean of standard deviation for each axis $$\overline {\sigma }_{dim,w}$$ and for each window size w.

(f)
Compute the Hurst exponent H dim, which represents H x, H y and H z for all the three accelerometer signals from the slope $$\frac {\log \overline {\sigma }_{dim,w}}{\log w}$$.

4.
Construct a feature set of r = 27 features with [3 × 8] Daubechies 4 wavelet coefficients consisting of, $$[1\times 8]\mathbf {\mathcal {A}_{4,x}}$$, $$[1\times 8]\mathbf {\mathcal {A}_{4,y}}$$, and $$[1\times 8]\mathbf {\mathcal {A}_{4,z}}$$ coefficients along the three axes of motion and [1 × 3] generalised Hurst exponent features, { H x, H y, H z} from the tri-axis accelerometer values for each fall and activity signal, as illustrated in Fig.  5.

### Theoretical Analysis of RVFL Ensemble and Heuristic Selection Algorithm

Given an r-dimensional input space X in with input data set x di and outputs y di with output space Y out representing classes c = { c 1, c 2}, where c 1 and c 2 are fall and no fall classes, respectively. The set d i = {1,…, N t} represents the data index and r = 27 are the number of wavelet and fractal features. The DWT and fractal features for all the three axes of motion are used as inputs into the RVFL neural networks. The RVFL models for the ensemble are trained with different activation functions and inputs for heterogeneity and the training is achieved with a closed form solution in Eq.  22. The training set is given as $$S_{t}=\{(\mathbf {x}_{1},y_{1}), (\mathbf {x}_{2},y_{2}), {\ldots } , (\mathbf {x}_{N_{t}},y_{N_{t}})\}$$. The RVFL classifiers are selected from different folds in the k-fold training procedure for diversity in training data and low runtime costs of selecting a number of base classifiers from the same training procedure. The training procedure is repeated with three best performing activation functions sine, radbas and tribas for training of heterogeneous base classifiers.
Given L base RVFL classifier models with M = { M 1, M 2,…, M L} each model M l : X inY out maps input to output space and is trained, such that:
$$\forall l, M_{l}(\mathbf{x}_{di})= \underset{c_{k}\in c}{\arg \max} p_{l,c_{k}}(\mathbf{x}_{di})$$
(23)
where, the function $$p_{l,c_{k}}(\mathbf {x}_{di})$$ is the performance score returned by each classifier M l for input x di and target class c kc. We utilise accuracy measure for each classifier and the performance score can be given as:
$$p_{l}(\mathbf{x}_{di})= 1 - \left[f_{act,l}(\pmb{\beta}_{x,l}\cdot\mathbf{x}_{di}^{T}+ \pmb{\beta}_{g,l}\cdot{y}_{g}(\mathbf{{x}}^{T}_{di})) -t \right]$$
(24)
where t is target output, f act,l is the activation function for model l, y g is given in Eq.  15, β x,l and β g,l can be obtained from Eq.  21 and l denotes unique values of the weight vector for each base classifier, given as:
$$\pmb{\beta}_{x,l}= \left [ \begin{array}{c} \beta_{1,l}\\ \vdots\\ \beta_{r,l} \end{array} \right] \text{,}$$
(25)
$$\pmb{\beta}_{g,l}= \left [ \begin{array}{c} \beta_{r+1,l}\\ \vdots\\ \beta_{r+G,l} \end{array} \right ]$$
(26)
Equation  23 can now be represented as:
$$\forall l, M_{l}(\mathbf{x}_{di})= {\arg \max}_{} \underset{di}{\sum} p_{l}(\mathbf{x}_{di})/{N_{t}}$$
(27)
The RVFL ensemble algorithm seeks a RVFL meta-learner $$M_{c}: {X}_{c}^{\prime } \to Y_{out}$$, where $${X}_{c}^{\prime }$$ represents the output space of base classifiers, { M 1( x di), M 2( x di), …, M L( x di)} and takes the class outputs from base models as input features for the meta-learner. The final base models are selected from the available models based on accuracy and a pairwise diversity indicator, which is used as a heuristic function. Selection of diverse RVFL base classifiers must be based on an efficient technique in order to benefit from faster learning advantage of base classifiers, while finding diversity amongst the models from individual inputs and their corresponding classification outputs is not computationally feasible for comparing a large number of models. We propose an ensemble selection method based on diversity of models from overall performance measures TP and TN values of base classifiers. The RVFL models for the ensemble are selected based on a diversity indicator computed from the differences in TP and TN values. The insight is based on the observation that two models with the same accuracy can be inherently diverse based on whether the accuracy performance has been achieved through higher TP or higher TN values. The high accuracy of a model may be attributed to its higher TP values (or lower false negative values), while another model with comparable accuracy may have comparatively higher TN values (or lower false positive values), since accuracy depends on the sum of TP and TN values. The two models will complement each other in an ensemble since different TP and TN values also imply that they will differ in their classification or misclassification of instances. The difference in TP and TN values can be a potential indicator of diversity. Therefore, a model with a relatively lower accuracy may be chosen based on a higher TP or TN value.
The models in M = { M 1, M 2, …, M L} are sorted based on accuracy metric and a search algorithm based on the diversity indicator as a heuristic function is performed. The resulting set of models obtained, E = { M 1, M 2,…, M md}, consists of md diverse models obtained from heuristic search from a pairwise diversity heuristics. The base model selection algorithm to select md RVFL base classifiers is illustrated in Fig.  7 and is given as follows:
1.
Index and sort the base classifier models based on accuracy, M = { M 1, M 2, …, M L}.

2.
Select the first model M 1 with the highest accuracy in M and add to the ensemble set, E = { M es}. The variable es is used to keep track of the selected number of ensemble learners.

3.
Increment count cnt, count checks, if all the models have been tested for comparison with the selected model.

4.
Compute the difference in TP and TN values to determine if accuracy values have been achieved through higher TP or TN values. Let M A be the newly added model to the ensemble set (the highest accuracy model in the start) and M B be the next model in the sorted model set.
$${\varDelta} TP = TP_{B} - TP_{A}$$
(28)
$${\varDelta} TN = TN_{B} - TN_{A}$$
(29)

5.
Compute the diversity indicator APDI as given in Eq.  30 to check if the next highest accuracy model has either TP or TN value greater than the newly added model to the ensemble set.
$$APDI = \max({\varDelta} TP,0)+\max({\varDelta} TN,0)$$
(30)

6.
If APDI is greater than zero, then add the model to the ensemble; otherwise, test the next model for diversity.

7.
If no model is found according to the APDI criteria, then add the next highest accuracy model to the ensemble set and repeat the procedure by comparing other models with the next newly added model.

8.
Stop the selection after the required number of ensemble learners is achieved, the final ensemble is given as E = { M 1, M 2, …, M md}.

The ensemble of md selected RVFL neural networks is then combined with another RVFL network with md input neurons equal to the number of RVFL models used in the ensemble. The final RVFL ensemble is a RVFL meta-learner trained with the closed form solution given in Eq.  22 and maps $$M_{c}: {X}_{c}^{\prime } \to Y_{out}$$, where $${X}_{c}^{\prime }$$ represents the output space of the selected diverse base classifiers, E = { M 1( x di), M 2( x di), …, M md( x di)} and takes the class outputs from the selected base models as input features for the meta-learner. The RVFL meta-learner is trained, such that:
$$M_{c}(\mathbf{M}(\mathbf{x}_{di}))= \underset{c_{k}\in c}{\arg \max} p_{c_{k}}(\mathbf{M}(\mathbf{x}_{di}))$$
(31)
where, the function $$p_{c_{k}}(\mathbf {M}(\mathbf {x}_{di}))$$ is the performance score returned by the RVFL meta-learner M c for input M( x di) and target class c kc, where M( x di) represents the output of base classifiers . We utilise accuracy measure for the RVFL meta-learner classifier and the performance score can be given as:
$$p(\mathbf{M}(\mathbf{x}_{di}))= 1 - \left[f_{act,c}(\pmb{\beta}_{x,c}\cdot\mathbf{M}(\mathbf{x}_{di})^{T}+ \pmb{\beta}_{g,c}\cdot{y}_{g}(\mathbf{M}(\mathbf{{x}}_{di})) -t \right]$$
(32)
where t is target output, f act,c is the activation function for meta-learner, y g is given in Eq.  15, and β x,c and β g,c are weight vectors for the RVFL meta-learner similar to Eqs.  25 and  26.

## Methodology

### Dataset

A dataset by Kwolek et al. [ 29] consisting of accelerometer signals for falls and various ADLs including walking, sitting down, sitting on chair, lying down, lying on bed, picking up objects, standing up and sitting down was used for analysis and experimental verification of the proposed scheme. A total of 40 fall activities were recorded. The dataset is acquired from a motion sensing platform consisting of an Inertial Measurement Unit (IMU) mounted on the pelvis of 5 volunteers. The IMU consists of two sensors, a 16-bit three-axis gyroscope and a 12-bit three-axis accelerometer with a total sampling rate of 256 Hz. The accelerometer was used for analysis and detection of fall activity in this work. The three-axis accelerometer measured the acceleration of the body movements along all the three axes of motion in units of G-force ( g) with values varying from − 8 to 8 g. All the three axes of motion are used for classification and are divided into windows of 128 samples each. The 128-sample windows were overlapped during training with 64 samples from the previous window, resulting in a 50% overlap between two windows. Figure  8 shows 128 sample segments for each of the three axes of motion for fall activity. Each of the three axes was processed separately by the algorithm and wavelet and fractal features were computed for each motion axis separately. The features for reach axis were then concatenated and used for training the RVFL ensemble.

### Experimental Specifications

This section discusses the experimental specifications including the tools and the system used for processing. The fractal analysis was performed in R language with R-Studio and a number of R packages for fractal analysis were used, including “fractal”, “fracdiff” and “tseries” packages. After fractal analysis in R, the fractal features were stored in data files and exported to Matlab for ensemble classification. The classification and machine learning experiments were performed with the statistics and machine learning toolbox in Matlab version 2019a. The machine learning classification was performed on an Intel system i5-6500 processor with quad cores at 3.2GHz with 6MB cache and a main memory of 8GB. A number of classifiers were used for comparison including, DT, Linear Discriminant Analysis (LDA), KNN, SVM, RF and ANN. The classifiers are explained in “ Classifiers” section, while the training and testing strategy is based on a 5 fold partitioning strategy further explained in “ k-Fold Partitioning” section. The execution runtimes were obtained by reading the clock with Matlab commands “tic” and “toc”. The clock times in cycles before and after the execution of the algorithm were saved and the difference was computed to measure the execution time of the algorithm. A total of 5 measurements were taken for all the 5 combinations of 5-fold partitioning strategy and then an average training runtime was calculated for each algorithm. Furthermore, the system is also compared with current state-of-the-art ensemble techniques utilised for fall detection in “ Results and Discussion” section and Table  7.

#### k-Fold Partitioning

The datasets for training all the classifiers were divided into 5 folds, with 4 folds for training and 1 fold for testing resulting in a percentage of 80–20 % for training and testing, respectively. All the classifiers were trained on the 4 out of 5 folds each time in a round robin fashion and the values for testing accuracy were averaged overall. Similarly, TP/TN, FP/FN and values for precision, sensitivity, specificity and F1-measure were calculated for each fold and averaged overall. The same strategy was followed for measuring the training time. The training time was measured for training over 4 folds each time and averaged. The specific details of parameters for each classifier are mentioned in the next section.

### Classifiers

A number of classifiers with the proposed set of features, namely Daubechies 4, level-4 wavelet coefficients and generalised Hurst exponents, were used for comparison with the proposed RVFL stacking ensemble. The classifiers along with their parameters are given below:

#### Decision Tree

The DT algorithm was tested on Daubechies 4, level-4 wavelet coefficients and generalised Hurst exponent features of the accelerometer signal. The features are compared against constant values and the tree is split based on less than equal to or greater than value from the constant. Leaf nodes give the final classification of a fall or an ADL decision. The DT in this work uses the CART algorithm to select the best split feature at each node from fractal features and the 4th level wavelet coefficients. Gini’s Diversity Index (G.I.) in Eq.  33 is used as the split criterion, with r − 1 maximum splits where r is the feature set size or input sample size from fall and activities dataset.
$$G.I. = 1 - \sum\limits_{di=1}^{N_{t}} pr^{2}(di)$$
(33)
Where pr represents the probabilty value. The leaves originating from the same parent node are merged and the classification tree is grown by estimating a pruned optimal sequence of subtrees. For the testing phase, the test feature set is routed down the tree according to the values of the features, which are compared against constants at each node and the final classification is obtained on reaching a leaf node associated with a fall or an ADL class.

#### Linear Discriminant Analysis

LDA finds the maximum separation between classes by maximising variance between classes and minimising variance within the class. Given a set of fractal and wavelet transform features as input x diR r, d i = {1,…, N t} for r = 27 dimensional input space with K classes, labelled as $$\{{\prod }_{1},\ldots ,{\prod }_{K}\}$$. The k th class has total N k inputs, with $$\mathbf {x_{di}}\in {\prod }_{k}$$ in the feature space. LDA finds basis vector 𝜃 in terms of the between class scatter matrix S B and within class scatter matrix S W as:
$$\pmb{\theta}=arg \underset{\pmb{\theta}}{\max} \frac{\pmb{\theta}^{T} \mathbf{S_{B}} \pmb{\theta}}{\pmb{\theta}^{T} \mathbf{S_{W}} \pmb{\theta}}$$
(34)
$$\mathbf{S_{B}}=\sum\limits_{k=1}^{K}N_{k}(\pmb{\mu}_{k}-\pmb{\mu})(\pmb{\mu}_{k}-\pmb{\mu})^{T} \text{ and}$$
(35)
$$\mathbf{S_{W}}=\sum\limits_{k=1}^{K} \underset{\mathbf{x_{di}}\in {\prod}_{k}}{\sum} (\mathbf{x}_{di}-\pmb{\mu}_{k})(\mathbf{x}_{di}-\pmb{\mu}_{k})^{T}$$
(36)
where μ is the mean vector of all input datasets of size N t and μ k is the mean vector for class k of size N k, given as:
$$\pmb{\mu}=\frac{1}{N_{t}}\sum\limits_{di=1}^{N_{t}} \mathbf{x}_{di},\text{ } \pmb{\mu}_{k}=\frac{1}{N_{k}} \underset{\mathbf{x_{di}}\in {\prod}_{k}}{\sum} \mathbf{x}_{di}$$
(37)

#### K-Nearest Neighbour

The KNN classifier is based on the insight that the class of an unknown instance should be similar to the class of its neighbours. The KNNs are chosen based on the Euclidean distance from an unknown instance and a classification decision is based on the majority vote of the neighbours. Given r, where r is the number of wavelet level-4 coefficients and generalised Hurst exponent features, an r-dimensional space can be used to represent the dataset of falls and activities. The Euclidean distance dist between two points, an unknown activity ax and a known activity bx in an r-dimensional feature space can be given by Eq.  38:
$$dist_{ax,bx}=\left[\sum\limits_{D=1}^{r}(ax_{D}-bx_{D})\right]^{\frac{1}{2}}$$
(38)
where r = 27 for our feature space. The Euclidean distances between point a and all classified instances are calculated. The KNNs are selected based on the K smallest Euclidean distances and the neighbours are then majority voted to determine a fall or an ADL classification for the unknown activity. In our work, we used several values of K from 1,3,5 to 7. The highest classification accuracy was achieved for K = 1 nearest neighbours.

#### Support Vector Machine

SVM [ 2, 10] finds the best hyperplane with the largest margin that separates the two classes of fall activity and ADLs. Given a set of training input vectors x diR r, d i = {1,…, N t} for r = 27 dimensional fractal and wavelet transform feature space and outputs y di ∈{1,− 1}, the hyperplane is given by Eq.  39:
$$y_{di} = sign(\mathbf{w} \cdot \textbf{xy}_{di}^{T} + b)$$
(39)
where x and w represent column vectors of input variables and constants in the hyperplane equation, respectively. While the training input vector x di represents the fractal and wavelet transform features and s i g n() is a signum function with ± 1 output, we use soft-SVM in our Matlab implementation, since it also applies to non-linearly separable data. The objective in soft-SVM is to minimise Eq.  40:
$$\begin{array}{@{}rcl@{}} &&\underset{w,b,\xi}{\min}\text{ } \frac{1}{2} ||\mathbf{w}||^{2}+C_{b}\sum \xi_{di}\\ \text{ (subject to) } &\text{ }&y_{di} (\mathbf{w}^{T}\mathbf{x}_{di}+b) \geq 1-\xi_{di} (\forall di) \\ &&\xi_{di} \geq 0 (\forall di) \end{array}$$
(40)
where ξ di is the slack variable and penalises the objective function for data points that cross margin boundary meant for that class, while C b is the box constraint. We used the Sequential Minimal Optimisation [ 13] solver in Matlab with a linear kernel function for training the Soft-SVM and a value of 1 for the box constraint.

#### Random Forest

RF is an ensemble learning technique that generates a number of DTs at training time and outputs the mode of the classes as the final classification output. Given a set of fractal and wavelet transform features as input x diR r, d i = {1,…, N t} and outputs y di ∈{0,1}, RF randomly selects inputs with replacement and trains classification tree, also selecting randomly a subset of features at each split. The splitting criterion is either based on the information gain or Gini’s index given in Eq.  33.

#### Artificial Neural Network

The ANN used is a classic MLP. For a given input vector x i, the output of each neuron is computed as:
$$z =\mathbf{w} \cdot \mathbf{x}_{di}^{T} + b$$
(41)
$$f_{sig}(z) = \frac{1}{1+\exp^{-z}}$$
(42)
where f sig represents a sigmoid activation function. The ANN used is a single hidden layer neuron with one input and one output layer. It was trained and tested with a number of neurons in the hidden layer and various learning agorithms were used including Stochastic Gradient Descent (SGD), Rprop and Levenberg-Marquardt (LM) algorithms.

## Results and Discussion

The proposed use of fractal features for classification of falls is a good discriminant along with DWT features and provides high classification accuracies with a number of classifiers as illustrated in Table  6. The proposed RVFL ensemble has a significant speed advantage of the order of 100× and training time of 1.76 ms, which has implications for real time, embedded implementation on low-end processing cores in terms of runtime cost. This would enable real-time detection and immediate notification to medical aid centre for medical response. The proposed stacking ensemble of RVFLs combined with an RVFL meta-learner, along with the proposed ensemble selection algorithm, provides the best results with the proposed features. The RVFL neural networks are first trained with a different number of neurons and activation functions to determine the best parameters for the fall classification problem. Five different activation functions namely, hardlim, sign, sine, tribas and radbas were intially tested. The three activation functions sine, tribas and radbas provide the best results as illustrated in Tables  1 and  2. The number of neurons required for 27 inputs are also modest and good results are achieved with half or less than half the number of total input and output neurons. The table rows with accuracy values highlighted in bold give the best accuracy results. The RVFL networks with the highest accuracies are chosen for the ensemble. However, a network with a higher TP or higher TN is preferred amongst the networks with similar accuracy. For example, in Tables  1 and  2, the three highlighted rows in italic show networks which complement each other either with a higher TP or a higher TN (same is not true for ANN Tables  3 and  4). The ensemble is composed out of three RVFL networks and provides the highest accuracy of 95.71% as illustrated in comparison or results Tables  5 and  6.
Table 1
RVFL neural networks true/false classifications
Neurons
Act. Func.
TP (%)
TN (%)
FP (%)
FN (%)
10
sine
35.71
52.86
4.29
7.14
14

37.14
54.28
2.86
5.71
28

37.14
51.43
5.71
5.71
42

35.71
52.86
4.29
7.14
56

34.29
51.43
5.71
8.57
10
tribas
35.71
55.71
1.43
7.14
14

38.57
52.86
4.29
4.29
28

38.57
51.43
5.71
4.29
42

38.57
51.43
5.71
4.29
56

38.57
52.86
4.29
4.29
10
37.14
52.86
4.29
5.71
14

37.14
52.86
4.29
5.71
28

37.14
52.86
4.29
5.71
42

37.14
52.86
4.29
5.71
56

35.71
52.86
4.29
7.14
Diverse base networks with similar accuracy but different TP and TN values
Table 2
RVFL neural networks results
Neurons
Act.
Acc.
Prec.
Sens.
Spec.
F1-Score

Func.
(%)
(%)
(%)
(%)
(%)
10
sine
88.57
89.29
83.33
92.50
86.21
14

91.43
92.86
86.67
95.00
89.66
28

88.57
86.67
86.67
90.00
86.67
42

88.57
89.29
83.33
92.50
86.21
56

85.71
85.71
80.00
90.00
82.76
10
tribas
91.43
96.15
83.34
97.50
89.29
14

91.43
90.00
90.00
92.50
90.00
28

90.00
87.10
90.00
90.00
88.52
42

90.00
87.10
90.00
90.00
88.52
56

91.43
90.00
90.00
92.50
90.00
10
90.00
89.66
86.67
92.50
88.14
14

90.00
89.66
86.67
92.50
88.14
28

90.00
89.66
86.67
92.50
88.14
42

90.00
89.66
86.67
92.50
88.14
56

88.57
89.29
83.33
92.50
86.21
Table 3
ANN true/false classifications
Neurons
Train
TP (%)
TN (%)
FP (%)
FN (%)
10
LM
37.14
52.86
4.29
5.71
14

31.43
51.43
5.71
11.43
28

34.29
52.86
4.29
8.57
42

37.14
52.86
4.29
5.71
56

35.71
52.86
4.29
7.14
10
Rprop
32.86
52.86
4.29
10.00
14

34.29
52.86
4.29
8.57
28

34.29
51.43
5.71
8.57
42

34.29
52.86
4.29
8.57
56

32.86
51.43
5.71
10.00
10
SGD
34.29
51.43
5.71
8.57
14

32.86
51.43
5.71
10.00
28

35.71
51.43
5.71
7.14
42

34.29
51.43
5.71
8.57
56

34.29
51.43
5.71
8.57
Table 4
ANN parameter tuning for fall classification
Neurons
Train
Acc.
Prec.
Sens.
Spec.
F1-Score

(%)
(%)
(%)
(%)
(%)
10
LM
90.00
89.66
86.67
92.50
88.14
14

82.86
84.62
73.33
90.00
78.57
28

87.14
88.89
80.00
92.50
84.21
42

90.00
89.66
86.67
92.50
88.14
56

88.57
89.29
83.33
92.50
86.21
10
Rprop
85.71
88.46
76.67
92.50
82.14
14

87.14
88.89
80.00
92.50
84.21
28

85.71
85.71
80.00
90.00
82.76
42

87.14
88.89
80.00
92.50
84.21
56

84.29
85.19
76.67
90.00
80.70
10
SGD
85.71
85.71
80.00
90.00
82.76
14

84.29
85.19
76.67
90.00
80.70
28

87.14
86.21
83.33
90.00
84.75
42

85.71
85.71
80.00
90.00
82.76
56

85.71
85.71
80.00
90.00
82.76
Table 5
Comparison of proposed scheme true/false classifications
Classifier
TP (%)
TN (%)
FP (%)
FN (%)
DT
34.29
50.00
7.14
8.57
LDA
31.43
52.86
4.29
11.43
KNN
38.57
51.43
5.71
4.29
SVM
35.71
52.86
4.29
7.14
RF
37.14
52.86
4.29
5.71
ANN
37.14
52.86
4.29
5.71
Proposed ensemble
41.43
54.29
2.86
1.43
Table 6
Comparison results of proposed scheme with different classifiers
Classifier
Acc.
Prec.
Sens.
Spec.
F1-Score

(%)
(%)
(%)
(%)
(%)
DT
84.29
82.76
80.00
87.50
81.36
LDA
84.29
88.00
73.33
92.50
80.00
KNN
90.00
87.10
90.00
90.00
88.52
SVM
88.57
89.29
83.33
92.50
86.21
RF
90.00
89.66
86.67
92.50
88.14
ANN
90.00
89.66
86.67
92.50
88.14
Proposed ensemble
95.71
93.54
96.66
95.00
95.08
The proposed scheme is compared with the most optimised ANN (MLP) with sigmoid activation functions for classification. The ANN is optimised for a number of neurons in the hidden layer and a number of learning algorithms. The three training algorithms stand out for better performance namely, LM, Rprop and SGD. The best training accuracy of 90% is achieved with the LM learning algorithm and 42 neurons followed closely by an ANN network with 56 hidden neurons, as illustrated in Table  4 with the corresponding TP, TN, FP and FN values in Table  3.
The proposed RVFL ensemble provides the highest accuracy, precision, sensitivity and specificity by virtue of the highest improvement in TP. The accuracy is 5.71% higher than RF and ANN, while it shows an improvement of 7.14% over the SVM and 11.42% over the DT and LDA as illustrated in Table  6.
The proposed scheme gives the lowest training time of 1.76 ms as illustrated in a logarithmic plot in Fig.  9. The proposed technique is 2.3× faster than a DT algorithm, which has a training time of 4.06 ms. The improvements in training time are shown in Fig.  10 w.r.t. the ANN. The speedup is considerable with 317.7× that of an ANN and 198.56× that of an RF ensemble method.
The comparison Table in  7 compares the proposed system with state-of-the-art works. The proposed technique gives higher classification performance than the latest works in [ 36, 58] and [ 27]. The presented FDS has 8% higher accuracy and 19% higher sensitivity than the camera-based FDS proposed by Wang et al. [ 58]. Moreover, the proposed technique gives 2.3% and 1.66% higher sensitivity than [ 36] and [ 27], respectively. Our work has comparable performance to Chen et al. [ 6] and 2% lower performance than Chelli et al. [ 5]. However, the proposed system has the lowest runtime cost of all the recent works illustrated in Table  7. The AE ensemble suffers from higher runtime costs due to the complexity of deep AE networks. The work in [ 6] has a significant runtime cost at 1810.20 s compared with our RVFL ensemble which takes only 1.76 ms for training and generation phase of RVFL stacking ensemble, while the runtime cost for AE ensemble in Khan et al. [ 27] is not given, deep AE ensemble is computationally expensive and RVFL networks are computationally fast and efficient learners in shallow networks [ 43]. The proposed scheme is 2.3× faster than a single DT and tree-based ensemble techniques such as RF, Bagged Trees or EBT require a number of DTs for ensemble classification. The tree-based ensembles by Nguyen et al. [ 36], Wang et al. [ 58] and Chelli et al. [ 5] have a lower bound of ≥ 2.3 ×1.76 ms. The actual runtime costs for the above-mentioned tree classifiers are expected to be much higher than our proposed scheme.
Table 7
Comparison with state-of-the-art work
Authors
Khan et al. [ 27]
Nguyen et al. [ 36]
Wang et al. [ 58]
Chelli et al. [ 5]
Chen et al. [ 6]
Proposed FDS
Year
2017
2018
2019
2019
2019
2020
Dataset
Datasets [ 16], [ 40]
Self-simulated
Dataset [ 8]
Public datasets
Self-generated
Dataset [ 29]
Sensor
Tri-axes Acc.,
Tri-axes Acc.,
Camera
Tri-axes Acc.,
Tri-axes Acc.
Tri-axes Acc.

Gyro.
Gyro.

Gyro.

Sensor location
Waist + thigh
Hip
Wall
Thigh + chest
Wrist
Pelvis
Features

Mean, σ,

Mean, maxima,
Mean, Var.,

x, y and z axes,
Energy, entropy,

minima,
crossing rate
DWT, Hurst

acceleration and
Hjorth mobility,
Image
cross Corr.,
Kurtosis,
exponent

angular velocity
sum vector,

auto Corr.,
range Freq.,

correlation, etc.

peak PSD, etc.
skewness

Classifier
AE ensemble
RF
Bagged Tree
EBT
Stacked AE
RVFL Stack.

ensemble
ensemble
Runtime
-
> 1.76 ms
> 1.76 ms
> 1.76 ms
1810.20 s
1.76 ms
Accuracy
-
-
87.73%
97.70%
-
95.71%
Sensitivity
95%
94.37%
77.11%
-
96.09%
96.66%
Specificity
90%
-
90.76%
-
98.92%
95.00%

## Conclusion

In this paper, we proposed a novel algorithm for classification of falls though the use of fractal features and an ensemble of RVFLs combined with an RVFL neural network. The fractal Hurst exponent is computed from the SSC method and provides an irregularity measure of the signal. The proposed features based on fractal analysis provide a high classification accuracy with DT, LDA, KNN, SVM, RF and ANN and the proposed ensemble. The proposed ensemble utilises a novel and fast selection methodology for base classifiers based on a diversity indicator obtained from overall performance measures of TP and TN values determined during the training procedure. The novel RVFL ensemble classifier proposed in our work gives the highest accuracy of 95.71% compared with other classifiers on the same set of features, an improvement of 5.71% over RF and ANN, and 7.14% over the SVM. The proposed classifier achieves high gain in runtime. The speedup in training time of the proposed RVFL ensemble is 317.7× compared with an ANN and 198.56× compared with an RF ensemble. The proposed RVFL ensemble is 2.3× faster than a single DT. Furthermore, the proposed scheme has higher or comparable accuracy than most of the latest ensemble methods and provides the lowest runtime cost of 1.76 ms. The proposed ensemble and the ensemble selection algorithm proposed in our work is orthogonal to the application and features used. The speedup advantage of RVFL ensemble can lead to real-time implementation on low-end cores. This can enable on device training and real-time detection and immediate notification for medical response on a fall event.

## Compliance with Ethical Standards

### Conflict of Interest

The authors declare that there are no conflicts of interest.

## Ethical Approval

This article does not contain any studies with human participants or animals performed by any of the authors.

## Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Unsere Produktempfehlungen

### Premium-Abo der Gesellschaft für Informatik

Sie erhalten uneingeschränkten Vollzugriff auf alle acht Fachgebiete von Springer Professional und damit auf über 45.000 Fachbücher und ca. 300 Fachzeitschriften.

Literatur
Über diesen Artikel

Zur Ausgabe