Train an SVM classifier for action recognition.