Support Vector Machine, Svm, Svm Algorithm, Svm Classifier, Machine Learning.
space plt.subplot(1, 2, 1) plt.scatter(X[:, 0], X[:, 1], c=y, cmap=plt.cm.Paired) plt.xlabel('X1') plt.ylabel('X2') plt.title('Input Space') # Visualize feature space plt.subplot(1, 2, 2) plt.scatter(X_transformed[:, 0], X_transformed[:, 1], c=y, cmap=plt.cm.Paired) plt.xlabel('Phi(X1)')