SVM training and predictions in genders pipeline.