Activity recognition using semi-Markov models on real world smart home datasets | Synapse