## 4 UCA-EHAR Dataset
### Data Collection Protocol  
Each subject was given a table stating the guidelines of the recording. One voice recording per session was acquired. The entire signal recorded during a session can contain multiple status and transition classes as shown in Table 1.  
Each data recording corresponds to one session as described in the table. Each session is described with 2 lines that must be read from left to right. The first line indicates the activity, while the second line gives the expected activity duration. Each session is a succession of activities. In order to provide a compact representation of sessions, an activity can be replaced by \"repeat x times\". In that case, no duration is indicated, it is rather replaced by the activity number to start again from. Subjects did not necessarily repeat the activities as many times as recommended due to time constraints or physical conditions.  
It is well known that homogeneous classes can be of premium importance to reach a good accuracy for some neural network family. As a transition is by nature shorter in time compared to a status class, the number of transition signal samples is very small compared to the status classes' samples. Even tough the transitions are labelled in the dataset, they are not considered meaningful for classification in this article and are therefore filtered out for classification results.  
The recording process is performed using two mobile phones. One phone, running the so-called \"research application\" from Ellcie Healthy, is connected to the smart glasses through a Bluetooth Low Energy connection. The research application records the accelerometer, gyroscope and barometer samples sent by the smart glasses. The other phone is used to record the voice of the subject. The subject or the test assistant must pronounce the keyword corresponding to the activity that the subject is currently performing.  
Example of recordings of approximately 20 s for each session are shown in Appendix C.  
\begin{table}
\begin{tabular}{c c c c c c c c c c c} \hline \hline
**Session** & **Activity 1** & **Activity 2** & **Activity 3** & **Activity 4** & **Activity 5** & **Activity 6** & **Activity 7** & **Activity 8** & **Activity 9** & **Activity 10** \\ \hline WALKING & STANDING & WALKING & STANDING & STANDING & & & & & \\  & 5s & 240 s & 5 s & & & & & & & \\ \hline RUNNING & STANDING & RUNNING & STANDING & STANDING & & & & & \\  & 5s & 180 s & 5 s & & & & & & \\ \hline STANDING & STANDING & WALKING & STANDING & WALKING & STANDING & & & & \\  & 5s & 6s & 180 s & 6 s & 5 s & & & & \\ \hline STITING & STANDING & STAND\_TO\_ST & STITING & ST\_TO\_STAND & & & & STANDING & & \\  & 5s & (no rush) & 90 s & (no rush) & from Activity 1 & 5 s & & & \\ \hline LYING & STANDING & STAND\_TO\_ST & STITING & ST\_TO\_LIE & LYING & LIC\_TO\_ST & STITING & ST\_TO\_STAND & Repeat once & STANDING \\  & 5s & (no rush) & 7 s & (no rush) & 90 s & (no rush) & 7 s & (no rush) & from Activity 1 & 5 s \\ \hline STAIRS & STANDING & WALKING & WALKING & WALKING & WALKING & WALKING & Repeat 7 times & WALKING & STANDING & \\  & 5s & (5 to 6 steps) & (15 to 25 stairs) & (5 to 6 steps) & (15 to 25 stairs) & from Activity 2 & (5 to 6 steps) & 5 s & & \\ \hline DRINKING & STITING & DRINKING & Repeat 29 times & STITING & & & & \\  & 5s & 1 s/10 mL & from Activity 1 & 5 s & & & & \\ \hline \hline \end{tabular}
\end{table}
Table 1: Instructions for each session of activity recording.