Added methods train_balanced_sample_svm and train_balanced_sample_gbm