python sklearn decision_function、predict_proba、predict
importmatplotlib.pyplotaspltimportnumpyasnpfromsklearn.svmimportSVCX=np.array([[-1,-1],[-2,-1],[1,1],[2,1],[-1,1],[-1,2],[1,-1],[1,-2]])y=np.array([0,0,1,1,2,2,3,3])#y=np.array([1,1,2,2,3,3,4,4])#clf=