Updated the LDA and SVM trainers