Activity Recognition and Abnormality Detection with the Switching Hidden Semi-Markov Model | Synapse