@@ -0,0 +1,591 @@
+__author__ = 'Guanhua, Joms'%0Afrom sklearn import svm%0Aimport preprocess.split as s%0A%0Adef svm_test():%0A    ''' A simple SVM Classifier.%0A        s.split_main()%5B0%5D - Training Data%0A        s.split_main()%5B1%5D - Training Targets%0A        s.split_main()%5B4%5D - Test Data%0A        s.split_main()%5B5%5D - Test Targets%0A    '''%0A    s_classifier = svm.SVC()%0A    s_classifier.fit(s.split_main()%5B0%5D, s.split_main()%5B1%5D%5B:,0%5D)%0A    pred = s_classifier.predict(s.split_main()%5B4%5D)%0A    print(%22Number of mislabeled points out of a total %25d points : %25d%22 %25 (s.split_main()%5B4%5D.shape%5B0%5D,(s.split_main()%5B5%5D%5B:,0%5D != pred).sum()))%0A

Create support_vector_machine.py