import demo2d from sklearn import svm demo2d.get_data() classifier = svm.LinearSVC() demo2d.decision_surface(classifier)