Changing the output of the classes to the svm file