Energy-Efficient Real-Time Human Activity Recognition on Smart Mobile Devices
Algorithm 1
Variable activity recognition duration algorithm. The elements (, ) of the dynamic and static configuration tables contain the acceleration-sampling frequency and window size where th is the threshold to maintain a combination in the dynamic configuration table, is the repeating count of the static activity type, is the count continuously kept of any activity, and is the index of an element in the configuration table. There are seven classification models for each element in the control tables, and is the maximum sleep time.
(1) Set the SF f with the initial and the WS with the initial size;