Text this: Human activity recognition using penalized support vector machines and hidden Markov models