Machine Learning, Support Vector Machine, Support Vector Classifier, Data Scie, Svm.
alpha = 0.75, cmap = ListedColormap(('salmon', 'dodgerblue'))) plt.xlim(X1.min(), X1.max()) plt.ylim(X2.min(), X2.max()) for i, j in enumerate(np.unique(y_set)): plt.scatter(X_set[y_set == j, 0], X_set[y_set == j, 1], c = ListedColormap(('salmon', 'dodgerblue'))(i), label = j) plt.show() Conclusion