We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db795e0 commit c714303Copy full SHA for c714303
ch02/figure4_5_no_sklearn.py
@@ -45,7 +45,7 @@ def plot_decision(features, labels):
45
46
model = fit_model(1, features[:, (0, 2)], np.array(labels))
47
C = predict(
48
- np.vstack([X.ravel(), Y.ravel()]).T, model).reshape(X.shape)
+ model, np.vstack([X.ravel(), Y.ravel()]).T).reshape(X.shape)
49
if COLOUR_FIGURE:
50
cmap = ListedColormap([(1., .6, .6), (.6, 1., .6), (.6, .6, 1.)])
51
else:
0 commit comments