Daily Activity Recognition and Tremor Quantification from Accelerometer Data for Patients with Essential Tremor Using Stacked Denoising Autoencoders

Human activity recognition (HAR) has received more and more attention, which is able to play an important role in many fields, such as healthcare and intelligent home. Thus, we have discussed an application of activity recognition in the healthcare field in this paper. Essential tremor (ET) is a common neurological disorder that can make people with this disease rise involuntary tremor. Nowadays, the disease is easy to be misdiagnosed as other diseases. We have combined the essential tremor and activity recognition to recognize ET patients’ activities and evaluate the degree of ET for providing an auxiliary analysis toward disease diagnosis by utilizing stacked denoising autoencoder (SDAE) model. Meanwhile, it is difficult for model to learn enough useful features due to the small behavior dataset from ET patients. Thus, resampling techniques are proposed to alleviate small sample size and imbalanced samples problems. In our experiment, 20 patients with ET and 5 healthy people have been chosen to collect their acceleration data for activity recognition. The experimental results show the significant result on ET patients activity recognition and the SDAE model has achieved an overall accuracy of 93.33%. What’s more, this model is also used to evaluate the degree of ET and has achieved the accuracy of 95.74%. According to a set of experiments, the model we used is able to acquire significant performance on ET patients activity recognition and degree of tremor assessment.


Introduction
Essential tremor (ET) is a common neurological disorder that usually causes the hands, head and other parts of body tremor. It is a mild single symptom disease whose exclusive symptom is tremor and it belongs to postural tremor that the disease attack when patients remain a posture. ET has affected about 4% of the population above 65 years of age in the world [1]. ET patients have usually faced serious difficulties when they perform activities (e.g., drinking, eating and writing) in their daily lives. The unconscious body tremor cause great inconvenience even danger for them. The disease imposes large restrictions on patients' living and working styles. It would be very meaningful and useful for society and people if essential tremor can be treated effectively.
Qin Ni and Zhuo Fan contributed equally to this work and should be considered co-first authors.
However, this disease has neither clear etiology nor unified diagnostic criteria, which is usually misdiagnosed as tremor caused by other diseases, such as Parkinson's disease (PD) [2]. Generally speaking, the diagnosis of ET depends on neurologist's professional knowledge and experience through face-to-face interaction. Therefore, it is difficult and inconvenient for doctors to monitor the patients' status precisely at all times. It would be useful to find an efficient method that provides an auxiliary analysis for monitoring and evaluating the current status of ET. Human activity recognition offers valuable considerations.
Human activity recognition (HAR), as an important application, is widely used in many social fields, especially healthcare [3]. For example, HAR has combined with fall detection technology to monitor older people's health [4]. HAR is able to identify people's activities according to their behavior information collected by utilizing different tools, such as sensor [5] and camera [6]. Generally speaking, the mobile devices based on a variety of sensors (e.g., accelerometer, gyroscope, barometer) are widely used. On the one hand, mobile devices have no space constraints, which is able to collect data in flexible manners. On the other hand, sensors embedded into mobile devices are enough to satisfy the demands of experiments in the real laboratory environment. In this paper, we utilized smartwatch which was embedded in a tri-axis accelerometer to collect behavior information for ET patients. According to the accelerometer, acceleration data from subjects are acquired easily, which carries human movement tendency [7]. Then these data can be used to recognize ET patients' daily activities and evaluate the degree of ET.
Patients with an essential tremor have usually suffered postural tremor or action tremor. Its frequency is 4-12 Hz in common tremor and become 8-12 Hz when ET patients suffered seizures [8]. Until now, ET has neither clear etiology nor unified diagnostic criteria, which causes many difficulties in diagnosing and analyzing the disease. The main diagnostic method is face-to-face interview by neurologists, which depends on largely their experience. In these fields, HAR can be used to provide an auxiliary analysis for evaluating the degree of ET. Utilizing activity recognition technique to ensure ET patients' state and then evaluate the tremor degree. When patients have tremors of different degrees, their daily activities would show more obvious fluctuation in a variety of styles. And meaningful features can be extracted from ET patients' individual behavior way to evaluate the disease level. Thus, the combination of ET and HAR has a bright development prospect. In this paper, we focus on the activity recognition of ET patients and the auxiliary analysis of estimating ET degree.
Human activity recognition can be conducted by conventional machine learning methods, such as SVM, DT, KNN and so on [9][10][11]. So far HAR has achieved significant performance by using these machine learning methods. However, there is a drawback about machine learning methods that they need to extract features manually, which will no doubt consume a large amount of time and computing resource. Thus, deep learning models which are able to extract features automatically and acquire better performance than conventional machine learning methods based on large-scale dataset have received more and more attention. In our experiment, deep learning methods are utilized. However, the scale of the dataset is small due to the limitation of collecting data form ET patients, which will cause lower accuracy because model cannot learn enough knowledge from small-scale dataset. Therefore, we consider using data augmentation methods to enlarge data. The resampling techniques are used to alleviate above problem.
In this paper, stacked denoising autoencoder (SDAE) is exploited to conduct activity recognition based on ET patients. The SDAE, as a deep learning model, is able to extract features automatically. Moreover, it utilizes encoder and decoder to compress and reconstruct input data, which can learn a higher level of representations and extract more useful features. What's more, the data collected from ET patients usually mix up much noise, SDAE model is able to reduce the impact of noise efficiently. The dataset is acceleration data collected from ET patients by using tri-axis accelerometer of smartwatch. It is noted that the angle data between smartwatch and ground is also adopted to recognize activities in order to extract effective features. Six standard activities are performed, which include extending arms, touching nose, writing sentences, drawing spirals, pouring water and simulating drinking.
The main contribution in this study are described as follows: 1. In this paper, the human activity recognition is combined with essential tremor to explore the concrete application of HAR on healthcare, which uses behavior data of ET patients to recognize their daily activities. 2. The SDAE model is utilized to extract potential features of motion data from ET patients and reduce the negative impact of noise. Meanwhile, resampling techniques are used to solve small sample size problem. Result has achieved a significant performance. 3. Besides the activity recognition of ET patients by utilizing acceleration data, auxiliary analysis is also discussed for the degree of tremor assessment.
The rest of this paper is organized as follows: Sect. 2 will introduce existing related works about essential tremor and activity recognition. Section 3 describes the overall framework about the architecture of the stacked denoising autoencoder model. Section 4 will design the experimental procedure and propose the methods of data preprocessing. And Page 3 of 13 1 the results of the experiment will be presented and analyzed. Finally, the conclusion will be drawn in Sect. 5.

Essential Tremor
Essential tremor, as an one of the most common neurological disorder, has neither clear etiology nor unified diagnostic criteria. Thus, the ET may be misdiagnosed as other tremor disease (e.g. Parkinson's disease) in clinical diagnosis [12]. For diagnosing the ET precisely, the study [13] utilized the machine learning framework based on principal components analysis (PCA) and support vector machine (SVM) to identify PD and ET automatically. A decision tree (DT) based algorithm [14] was proposed to classify the ET patients' state and then predict when tremor would reappear. Moreover, to evaluate the ET severity reasonably, the rating scales were defined for the clinical assessment of ET [15]. The essential tremor rating scale was also used to test the performance of deep brain stimulation in the treatment of ET [16]. However, the rating of ET was usually made subjectively, which was difficult to achieve enough reliability [17]. Thus, besides the rating scale, researches have proposed other methods to extract features of ET for evaluating and diagnosing. The tremor signals were collected by different sensors, such as accelerometer and gyroscope, to analyze the severity of essential tremor [18,19]. By utilizing these signals, features were extracted by specific methods which involved conventional machine learning algorithms or deep learning models. In this paper, a wearable smartwatch embedded with accelerometer was used to collect activity signals from ET patients. Moreover, the SDAE model was utilized to recognize ET patients' activities based on their signals collected by accelerometer.

Human Activity Recognition
In human activity recognition, there are variety of tools to collect human activity information. Recently, the smart devices are used widely. For example, smartphones and smartwatches which are embedded with sensors have enabled the human activity data to be gathered large scale. By utilizing these devices which are embedded with sensors, the study [20] presented a wearable interial sensor network to collect motion signals of human activities and its associated algorithm achieved high accuracy. After collecting data, there is an essential question that how to extract useful features from raw data. Feature extraction is the core of recognition algorithms, which have a significant impact on performance, computation time and complexity [21]. And conventional machine learning classification methods are often used to classify based on the extracted features. For instance, in [22], the paper exploited Relief-F and sequential forward floating search (SFFS) to select proper features from a range of previously extracted features. Then the activity recognition was performed by applying Naive Bayes and k-nearest neighbor. There are also other machine learning methods, such as decision tree (DT) [23], SVM [24], random forest (RF) [25] and K-means [26]. A paper exploited discrete cosine transform to extract effective features and used PCA to reduce the dimension of feature [27]. At last, they applied multi-class support vector machine (SVM) to recognize human activity. Decision tree (DT) classifier [28] has the preferable performance in recognizing daily activities. These methods have already achieved significant performance. However, a key point should be paid more attention to, which conventional machine-learning algorithm need to extract features manually [29], which increases the complexity of model, time consuming and energy. Thus, deep learning model which extracts features automatically has received more considerable attention. There are a variety of deep learning models applied in human activity recognition, such as convolutional neural network (CNN) [30], autoencoder [31], recurrent neural network (RNN) [32,33], long short-term memory (LSTM) [34,35], deep belief networks (DBN) [36,37] and so on. These methods were able to be used to extract features from data automatically. In this study, stacked denoising autoencoder is utilized for ET patients' activity recognition. Compared to other models, SDAE model is able to improve effectively the problem of gradient disappearance and compress data by utilizing encoder, which extracts more representative features. Moreover, stacked denoising autoencoder is able to reach robust performance when processing noisy data.

Methodology and Framework
The study has followed the Declaration of Helsinki and was approved by the ethics committee of the Getafe University Hospital (Madrid, Spain). All subjects in the experiment have signed the informed consent. In this section, the overall framework of the experiment is described in detail. The principle of SDAE model is also be introduced. The framework includes two parts: data preprocessing and SDAE model, which is illustrated in Fig. 1.

Data Preprocessing
The acceleration data from ET patients include many unconscious tremors, which would cause large confusion for the activity recognition. From Fig. 1, it is obvious that the curves of raw data collected from ET patients contains abnormal trembles. Thus, it is necessary to reduce the impact of insignificant tremor by preprocessing data.

Filtering
In experimental design progress, six standard activities were performed by twenty ET patients, namely, extending arms, touching nose, writing sentences, drawing spirals, pouring water and simulating drinking. All experimental data are collected by leveraging tri-axis accelerometer of smartwatch, x i = {ac x i , ac y i , ac z i , an} , an represents the angle data between smartwatch with ground. Before using input data to train model, the preprocessing procedure has to be carried out. For subjects with ET, their activity information contains much unconscious tremor which has a negative impact on performance of recognition. From Fig. 2, it can been seen that the curves of raw data collected from ET patients contains more trembles than healthy subjects. Thus, data preprocessing is an essential step for reducing noise influence and enhancing data equality.
In this progress, data smoothing was first executed due to the many fluctuations in activity signals to decrease signal jitters by moving average filter which is described as follows: where N represents the size of the filter, which is set to 5.
x(n) is input data and y(n) is output data.
The result of data smoothing is illustrated in Fig. 3. We choose a section of x-axis signals to demonstrate smooth result. It is obvious that the raw data signals have more intense tremble which represents much noise than smooth signals. Then a third-order low-pass Butterworth filter with cutoff frequency at 12 Hz was used to remove high-frequency noise. And a third-order median filter was used to remove abnormal noise. We also used a thirdorder high-pass Butterworth filter with cutoff frequency at 0.005 Hz to alleviate the influence of gravity. Moreover, to promote the performance of the model and alleviate the impact of imbalanced samples and small sample size problem in the experiment, the data segmentation and resampling techniques were used.

Data Segmentation
Data segmentation is an essential procedure for human activity recognition due to the continuity of human activities.
In reality, human activities are usually continuous, just a single data sample at a time point cannot reflect concrete tendency and feature of an activity. Thus, data segmentation should be carried out before training neural network. In our experiment, the sliding window is utilized to segment dataset, which has a significant influence on recognition performance. To be specific, the dataset is segmented by integrating n samples as a sequence according to sampling rate, namely where n is set to 128 in this paper, which is decided by sample rate of 25 Hz and time interval of 5.12 s. In this progress, a sliding window whose size is 128 with a 25% overlap is utilized to segment data.

Resampling
After segmentation, we found that the samples existed problem of imbalance, in which the pouring activity had 1544 samples while the drawing activity had 945 instances. Generally speaking, the problem of unbalanced samples would drop the accuracy of model. If dataset is unbalanced, the model might tend to output the classification with more data and has a worse fitting ability for the category with less data. Thus, to improve the unbalanced samples problem, the common method is resampling technique, which included random undersampling, random oversampling and synthetic minority oversampling technique (SMOTE) [38][39][40].
Random undersampling drops directly majority class samples to balance the training dataset, but it may discard some meaningful information. Random oversampling can obtain desired sample size by duplicating some instances from minority class examples. However, it would cause overfitting problem. The cluster-based oversampling utilizes K-means algorithm to cluster minority class and majority class, respectively. Then the oversampling technique is used in every clustering to ensure they have same number of samples. But it may cause overfitting problem too. The SMOTE is an improved method based on random oversampling, which analyses and synthesizes samples from minority class, then adds these new samples to dataset. More specifically, this method chooses a representative data subset which has been taken as instance to create similar and new examples.
Then these examples would be added to the original dataset. On one hand, it is able to alleviate the overfitting problem, on the other hand, it don't discard meaningful information.
What's more, the dataset includes acceleration data and angle data, which have different units. Thus, data standardization is used to unify dimensions. In the end, the whole dataset was divided into training set, validation set and testing set with the radio of 7:1:2.

Stacked Denoising Autoencoder
The stacked denoising autoencoder is a kind of deep learning model, which consists of multiple denoising autoencor (DAE). Its architecture is illustrated in Fig. 1. At first, an autoencoder(AE) includes input layer, hidden layer and output layer. The input data will be transformed into output by encoding and decoding. The goal of AE is to minimize the error between input and output. But it's easy to cause the over-fitting problem. The DAE proposed to corrupt raw input by adding a denoising factor before encoding to solve the problem. Generally speaking, it is not necessarily good that reconstructing the original data from features of raw data encoding. But the ability of reconstructing the raw data from corrupted data would be more useful.
The whole training progress of SDAE contains two procedures: pretraining and fine-tuning. In pretraining progress, all DAEs in SDAE model will be trained respectively, which utilizes encoder and decoder to compress and reconstruct raw input. And the output of a DAE will become the input of next DAE. The encoder is able to map the input data to hidden layer by applying a sigmoid function, which translates input into useful features. The decoder is able to reconstruct the raw input by applying a sigmoid function too. Then parameters are updated by minimizing the loss between raw input and output. Moreover, DAE have an unique advantage that reduces the impact of noise. To avoid over-fitting or other problems, a denoising factor a is usually used to corrupt raw input. In this procedure, the noisy data are also possible to be corrupted, which reduce the noise of data.
Let x i represent the input data which have already been preprocessed. In this paper, x i is a 1 × 512 vector, the whole dataset is represents as follows: The encoder and decoder progresses are described as follows: At first, each x i is corrupted by a denoising factor to obtain x ′ i . Then in encoder progress, the x ′ i is mapped into hidden layer by applying a sigmoid function f to acquire data representation y. And in encoder progress, the y is mapped into output layer by applying a sigmoid function g too. Among Eqs. (2) and (3), W 1 and W 2 are the weight matrix and b 1 and b 2 are bias.
o compute the error between output z and raw input x i , the loss function is described as follows: where the loss function we utilize is cross entropy. The error is computed by comparing original data x i and output data z of decoder progress. Then parameters of each layer are updated by applying gradient descent. And the pretraining process is done.
In fine-tuning progress, the whole network is trained as a multilayer perceptron (MLP) in a supervised manner. It is noted that the highlight is that the parameters updated in pretraining progress are shared with fine-tuning progress. Backpropagation and gradient decent are applied to minimize loss and update parameters. Moreover, at the top of the network, a softmax layer is added to identify activity types of ET patients. The every node of the softmax layer represents a class and the sum of output values of each node is 1, which is written as: where z i presents the output of ith instance. C represents the number of activity categories. The output value of node is the probability of belonging to a class current node represents.

Experiments and Results
In this section, we will describe our experimental design and analysis of the results, which include the protocol of collecting data, performance of activity recognition model, comparative experiments and so on.

Experimental Design
To acquire the activity information of ET patients, twenty patients (11 men and 9 women) with essential tremor were chosen to perform six activities, and their age ranges from 38 to 81. It is noted that 75% of them had a family history of ET and they fight the tremor for 10.35 + 7.09 years [41,42]. Meanwhile, in these patients, eleven were under tremor therapy, two with primidone, six with propranolol, one both drugs, and two with clonazepam. Furthermore, to show the difference between patients with healthy adults, five healthy subjects were included. What's more, these activities all subjects performed contained extending arms, touching nose, writing sentences, drawing spirals, pouring water and simulating drinking. Their concrete descriptions are given in Table 1. The experimental data are ET patients' acceleration data collected by using a smartwatch which contains a tri-axis accelerometer and Bluetooth 4.0. Thus, the activity information we collected includes three-axis arm movement acceleration data. Meanwhile, we also considered the influence of angle between smartwatch with ground. All acceleration data were collected with a sampling rate of 25 HZ which was conducted by accelerometer and 228,548 reliable instances were supported as input data.

Performance Evaluation
After data preprocessing and segmentation, the dataset is imported into the model for activity recognition. Meanwhile, cross-validation is used to evaluate the performance of results. In this step, we will discuss the result in terms of different perspectives.

Experimental Result
In experiment, the estimation metrics this paper adopted are accuracy, precision, recall and F-measure. The accuracy is the proportion between the number of right labels model predicted and the number of true labels. The Precision of an activity is the proportion between the number of right label model predicted and the number of this activity's label model predicted. The recall of an activity is the proportion between the number of right label model predicted and the number of this activity's realistic label. The F-measure is the combination of the precision and the recall. They can be defined as follows: where TP is true positive, TN is true negative, FP is false positive, and FN is false negative.
In our study, there are six standard activities from ET patients, which contains extending arms, touching nose, writing sentences, drawing spirals, pouring water and  Table 1 The execution protocol of six activities when collecting data

Activities Description
Extending arms Keep both arms horizontally extended for 20 s and then relaxed on the lap for 10 s. This task is repeated three times Touching nose Repeat the finger-nose test (touching the nose with the index finger with the arm raised to 90 • ) 10 times, and then keep the hands relaxed on the lap for 10 s. This task is repeated twice Writing sentences Write "THIS IS A SAMPLE OF MY WRITING", and then keep both hands relaxed on the lap for 10 s. This task is repeated three times Drawing spirals Draw a large and a small spirals, and three lines sequentially with a 10-s rest between every two drawings. This task is repeated twice Pouring water Pour a full glass of water into another empty cup and then pour back for three times, and then rest for 10 s. This task is repeated three times Simulating drinking Simulate the action of drinking a full glass of water five times and then resting for 10 s. This task is repeated twice simulating drinking. To analyze the performance of human with essential tremor activity recognition intuitively, the recognition accuracy of each activity is shown in Table 2. According to Table 2, it shows that there are obvious gaps in different activities. For example, the extending arms activity recognition achieved a highest accuracy of 99.11%, but the drawing activity recognition just reached 80.20%. We assume that there is a problem of unbalanced samples, which drops the accuracy of recognition. According to statistics result, the number of each class is 37,780,32,551,38,241,30,352,49,519 and 40,104. The maximum gap is 19,167 which is almost one-tenth of the total. Thus, in order to improve this problem, we try to apply resampling techniques to increase data quantity.

Performance Enhancement with Resampling
The problem of unbalanced samples resulted in the big gaps between accuracy of different activities recognition. Thus, we applied the random oversampling, synthetic minority oversampling technique and random undersampling technique to enhance performance in our experiment. After oversampling, the number of each class is 49,519. After undersampling, the number of each class is 30,352. The Fig. 4 shows the effect of performance enhancement with resampling.
According to Fig. 4, the performance of recognition has received significant enhancement by applying random oversampling. However, it is noted that the accuracy of pouring activity recognition drops.
After random oversampling, the performance of activity recognition experiment has achieved 93.33% as measured by accuracy, 93.32% as measured by precision, 93.33% as measured by recall, 93.32% as measured by F-measure. To understand the experimental result clearly, the concrete performance of each activity recognition is shown in Table 3.
From Table 3, it is obvious that recognition accuracy of every activity has reached high level. Moreover, the extending activity acquire highest accuracy of 99.03%, and the pouring activity reach a lowest accuracy of 90.52%. Thus, utilizing random oversampling is able to alleviate the imbalanced sample problem and improve recognition accuracy.
As is shown in Fig. 5, the confusion matrix exhibits the recognition results intuitively. The most obvious errors are that 22 instances of writing sentences are incorrectly recognized as drawing spirals, 21 instances of simulating drinking are classified as pouring water. 19 instances of drawing spirals are misrecognized as writing sentences and 19 instances of pouring water are classified as simulating drinking. Therefore, it can be concluded that similar activities are easier to be confused and more difficult to recognize.

Performance Analysis of Reducing Noise
In this paper, we have studied the ET people's behavior data for activity recognition and tremor degree evaluation. It's worth noting that subjects' activity information includes much unconscious tremor which generates unnecessary noise in behavior data. To alleviate the negative impact of noise, three methods were applied, which were data smoothing, filtering and denoising function of SDAE model. Data smoothing is able to decrease signal jitters by moving average filter. Filter can remove high-frequency noise or abnormal noise. SDAE model uses denoising factors to corrupt raw data, which gives a chance to eliminate noise implement function of denoising. Table 4 shows different performance when applying the three methods.
According to the experimental result, we can see the performance and effectiveness of the three methods. When denoising methods are all not used, the accuracy of activity recognition has only achieved 84.36%. It can be seen that noisy data have a negative impact on performance of recognition. Three denoising methods were applied to reduce noise respectively. After data smoothing, the recognition accuracy has improved by 5% and applying filters is able to improve by more than 6% by removing high-frequency noise or abnormal noise. In experiments, denoising factors were also used to eliminate noise and avoid overfitting. Though the accuracy improvement is not high after setting denoising factor, it is still indispensable to improve recognition performance and avoid overfitting. Thus, three denoising methods in this study are useful and played an important role in experiments.

Hyperparameter Analysis
For deep neural networks, different hyperparameters would result in different performance of classifier. Thus, to acquire the best accuracy of recognition, we discussed different parameters which included pretraining learning rate, the number of hidden layer and the number of hidden layer's neuron and gave the optimal choices of hyperparameters for model.
(a) Pretraining learning rate The influence of pretraining learning rate on accuracy is shown in Fig. 6. With the changes in the pretraining learning rate, the performance has significant fluctuations. We test multiple values which are set to 1 × 10 −4 , 1 × 10 −5 , 1 × 10 −6 , 1 × 10 −7 respectively. We choose the accuracy and precision to observe the change of performance.
According to Figs. 6 and 7, the best performance is reached at 1 × 10 −6 level by comparing with other parameters. Each activity has a significant accuracy. It is noted that the performance at 1 × 10 −7 level has just small differences with the 1 × 10 −6 level. Meanwhile, considering the accuracy and precision of activity recognition, the learning rate is set to 1 × 10 −6 though the pretraining learning rate is set very low. Because the goal of pretraining is to acquire proper initial values of parameters and ensure that the finetuning process has better astringency and performance, the  pretraining learning late does not need to be too high. With the increasing of learning rate, the experiment results have acquired more and more unsatisfactory performance. Just as at 1 × 10 −3 level, the result has achieved a worst accuracy. In addition, it is obvious that the pouring activity recognition has achieved the lowest accuracy. A reasonable assumption is that the pouring activity has similar features to other activities, which is be misrecognized easily.
(b) The number of hidden layer In Fig. 8, it shows that the different performance of ET patients' activity recognition when selecting different numbers of the hidden layer. The main gap of accuracy also lies in the pouring activity. And with the changes in the number of the hidden layer, the recognition accuracy has shown obvious fluctuation. Thus, in order to achieve the best performance and acquire a trade-off between accuracy with time-cost, we utilize 2 hidden layers to construct network.
(c) The number of hidden layer's neuron Besides learning rate and the number of the hidden layer, we also take into account the number of hidden layer's neuron. With the increasing of neurons, the dimension of variables in hidden layers is growing. Then features extracted from data would contain more useful information and the time-cost would increase too. The Fig. 9 shows that the concrete performance when choosing different numbers of neuron.
According to Fig. 9, there are obvious fluctuation about the performance of recognition when selecting different number of neuron. Through compare, the best performance is achieved when the number of hidden layer's neuron is set to 1000. It is noted that the recognition performance of pouring activity outperforms other choice when the layers' neuron is set to 2500, but the performance of writing activity has achieved the worst accuracy. Moreover, the run time is nearly 10 times of other choice when choosing the 2500 neurons. Thus, we take into account accuracy, run time and computational complexity, the hidden layer's neuron is set to 1000 to create the network.
According to above a series of experiments, Table 5 has given the optimal hyperparameters of the neural network. Because some hyperparameters have little influence on recognition performance in experiments. Thus we have discussed above three hyperparameters.

Comparison with Other Methods
To demonstrate the superiority of SDAE model on ET patients' activity recognition, we compared it with some conventional machine learning algorithms, such as support vector machine (SVM), decision tree (DT), K-nearest neighbors (KNN), other deep neural network, such as CNN, and some effective algorithms propose by previous researchers [43,44]. These experiments all adapted unified data processing procedure. By comparing with other methods, the results are shown in Table 6.
From  Fig. 9 The performance of ET patients' activity recognition when selecting different numbers of hidden layer's neuron model, is able to extract features automatically compared with machine learning methods. Though CNN and LSTM is also able to extract features automatically, its recognition accuracy is weaker than SDAE. Generally speaking, deep learning models can acquire better performance than conventional machine learning methods. But in this experiment, CNN and LSTM model achieve lower accuracy. We assume that the scale of sample is still so small that they cannot learning enough knowledge though applying resampling techniques. A deep network architecture using residual bidirectional long short-term memory is proposed to enhance the recognition rate [43]. A novel methodology based on deep learning framework is used to extract useful features automatically and reduce the computational cost [44]. They all have achieved lower performance than our method. Therefore, in this situation, utilizing SDAE model can achieve more robust performance.

Essential Tremor Evaluation
In data gathering process, besides human activity labels, two neurologists were invited to estimate ET severity of each subject. They rated ET by Fahn-Tolosa Marin Tremor Rating Scale (FTMTRS). The degree of ET contained 0, 1, 2 and 3. Therefore, we have also utilized these hierarchical tags of all samples to evaluate essential tremor extent based on the SDAE model. According to the experimental verification, the performance of ET rating evaluation has achieved an accuracy of 95.74% and performances of each level are shown in Table 7. And the confusion matrix is shown in Fig. 10. From Table 7 and Fig. 10, it is obvious that the 2 and 3 levels have achieved significant recognition performance, but the recognition performance of 0 and 1 levels are weak. It can be concluded that the tremor of patients also can be regarded as data feature which play a significant role in activity recognition when the degree of tremor is large enough. Therefore, the degree of 0 and 1 levels has been mistaken easily. According to Fig. 10, 24 instances of 0 level are misrecognized as 1 level and 62 instances of 1 level are misrecognized as 0 level. Thus, The higher the degree of tremor, the higher is the performance evaluation. And the patients with essential tremor of 1 level have not obvious symptoms.

Conclusion
In this paper, we discussed the combination of essential tremor and human daily activity recognition, which has a bright development prospect on providing an auxiliary analysis for evaluating the degree of ET. Utilizing HAR system to recognize ET patients' activities based-on stacked denoising autoencoder. The SDAE model is able to not only extract features automatically but also reduce the impact of noise of behavior information from ET patients. What's more, the resampling techniques have been used in order to alleviate the imbalanced sample and small-sample problems. The result we obtain demonstrate that the SDAE model is able to reach significant performance on human with essential tremor activity recognition and outperform other conventional machine learning methods. Moreover, we also perform ET degree evaluation based SDAE model, which rates ET according to four levels.
In the future, we consider studying a novel fusion model to improve performance of activity recognition and we also   . 10 The confusion matrix of ET degree evaluation consider utilizing more kinds of sensors to collect data in a future experiment. Furthermore, we will focus on the application of human activity recognition in video.