I used sklearn.svm.SVC to build the support vectors classifier as shown below.
import numpy as np from sklearn.svm import SVC svc=SVC(probability=True)