Updates to SVM training.