Added cluster test for perceptron and SVM