Added weights in train_validate_test_svm