svm classification python sklearn code example
Example 1: scikit learn svm
from sklearn import svm
X = [[0, 0], [1, 1]]
y = [0, 1]
clf = svm.SVC()
clf.fit(X, y)
clf.predict([[2., 2.]])
Example 2: support vector machine svm using python numerical example
print(digits.data)