Skip to main content
. 2023 Feb 3;23(3):1672. doi: 10.3390/s23031672

Table 4.

Feature extraction from time-series data of multiple sensors

Features Name Description Equations
Mean Mean value calculation for accelerometer and gyroscope
μ=1Ni=1NSxi (2)
Standard deviation Finds the sensor’s data spread around the mean.
σ=1Ni=0N1(Sxiμ)2 (3)
Skewness The measure for the degree of symmetry in the variable distribution.
Skx=i=1N(Sxiμ)3(σx)3 (4)
Kurtosis The measure of tailedness in the variable distribution.
Ktx=i=1N(Sxiμ)4(Nσ)4 (5)
Maximum value Calculates the maximum value of the accelerometer (x,y,z).
Accmax=maxSxi (6)
Minimum value Shows the minimum value of the accelerometer (x,y,z).
Accmin=minSxi (7)
Entropy Essential for differentiating between activities.
Entropy=1Ni=0N1pxilogpxi (8)
Cosine Similarity To distinguish between activities that fluctuate along an axis.
cosθ=Sx.SySxSy (9)
Root mean square Calculates the angular movement along the x, y, and z axes, accordingly.
RMSx=1Ni=1NGxi (10)
Where Gxi is sample of x-axis gyroscope.
The absolute time difference between peaks Computed by taking the absolute difference between the maximum and minimum peak times.
ATD=tmaxpeaktminpeak (11)
Frequency domain features To find frequency domain features of acceleration data based on fast Fourier transform (FFT).
H(k)=n=0N1x(n)ej2π(knN) (12)
Quartile Range To find the middle number between the minimum and the median of the sample data.
Q1=l+hf(n4C) (13)
HHS Vulnerability Disclosure