daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Oct 23rd, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. clf = SVC(C=100,gamma=0.0001)
  2.  
  3. clf.fit(X_train1,y_train)
  4.  
  5. from mlxtend.plotting import plot_decision_regions
  6.  
  7.  
  8.  
  9. plot_decision_regions(X_train, y_train, clf=clf, legend=2)
  10.  
  11.  
  12. plt.xlabel(X.columns[0], size=14)
  13. plt.ylabel(X.columns[1], size=14)
  14. plt.title('SVM Decision Region Boundary', size=16)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top