Support Vector Machine in scikit-learn
Machine Learning, scikit-learn

Support Vector Machine in scikit-learn- part 2

continued from part 1 In [8]: print_faces(faces.images, faces.target, 400) Training a Support Vector Machine Support Vector Classifier (SVC) will be used for classification The SVC implementation has different important parameters; probably the most relevant is kernel, which defines the kernel function to be used in our classifier In [10]: from sklearn.svm import SVC svc_1 = SVC(kernel=’linear’) print (svc_1) SVC(C=1.0, cache_size=200, class_weight=None, coef0=0.0,…

Continue Reading