1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-11-21 14:02:28 +00:00

h parameter can be changed

This commit is contained in:
Oscar Araque 2018-04-26 18:05:34 +02:00
parent 2f0638946c
commit 1cec411527

View File

@ -58,7 +58,6 @@ def plot_dataset(X,y):
plt.scatter(X[:,0], X[:,1], c=y, cmap=cm, lw=.5, s=10)
def plot_decision_surface(X, y, classifier, h=0.02):
h = .02
cm = plt.cm.RdBu
x_min, x_max = X[:, 0].min() - .5, X[:, 0].max() + .5