mirror of
https://github.com/gsi-upm/sitc
synced 2024-12-22 03:38:13 +00:00
plot decision function parameter added
This commit is contained in:
parent
38bf59bec3
commit
2f0638946c
@ -57,7 +57,7 @@ def plot_dataset(X,y):
|
||||
cm = plt.cm.RdBu
|
||||
plt.scatter(X[:,0], X[:,1], c=y, cmap=cm, lw=.5, s=10)
|
||||
|
||||
def plot_decision_surface(X, y, classifier):
|
||||
def plot_decision_surface(X, y, classifier, h=0.02):
|
||||
h = .02
|
||||
cm = plt.cm.RdBu
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user