问题 I am plotting 2D plot for SVC Bernoulli output. converted to vectors from Avg word2vec and standerdised data split data to train and test. Through grid search found the best C and gamma(rbf) clf = SVC(C=100,gamma=0.0001) clf.fit(X_train1,y_train) from mlxtend.plotting import plot_decision_regions plot_decision_regions(X_train, y_train, clf=clf, legend=2) plt.xlabel(X.columns[0], size=14) plt.ylabel(X.columns[1], size=14) plt.title('SVM Decision Region Boundary', size=16) Receive error :-