Add linear svm training and logistic regression