svm.SVC In sklearn By kyle on March 18, 2018 # import svm from sklearn from sklearn import svm # 创建训练集 X = [[0, 0], [1, 1]] Y = [0, 1] # 创建SVC分类器 clf =…