Research Article

A Mobile Application for Easy Design and Testing of Algorithms to Monitor Physical Activity in the Workplace

Algorithm 1

Simplified classification process in the smartphone app implementation.
Data: dataset header file, serialized classifier, unclassified time window
Result: classified time window
load dataset header;
get attributes position and properties;
deserialize WEKA trained model;
while true do
 collect data from sensors;
if time window ready to process then
  create valid instance from feature set data;
  classify instance;
  set corrisponding label;
 end
end