Skip to content

Commit 3361075

Browse files
committed
Pushing the docs for revision for branch: master, commit 2f5c86f38ab7dc0dd0a663baec3880946a672f7d
1 parent e75ba15 commit 3361075

File tree

751 files changed

+2606
-2604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

751 files changed

+2606
-2604
lines changed

dev/_downloads/plot_kernel_ridge_regression.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@
100100
#############################################################################
101101
# look at the results
102102
sv_ind = svr.best_estimator_.support_
103-
plt.scatter(X[sv_ind], y[sv_ind], c='r', s=50, label='SVR support vectors')
104-
plt.scatter(X[:100], y[:100], c='k', label='data')
103+
plt.scatter(X[sv_ind], y[sv_ind], c='r', s=50, label='SVR support vectors',
104+
zorder=2)
105+
plt.scatter(X[:100], y[:100], c='k', label='data', zorder=1)
105106
plt.hold('on')
106107
plt.plot(X_plot, y_svr, c='r',
107108
label='SVR (fit: %.3fs, predict: %.3fs)' % (svr_fit, svr_predict))
31 Bytes
31 Bytes
254 Bytes
254 Bytes
671 Bytes
671 Bytes
133 Bytes
133 Bytes
-514 Bytes

0 commit comments

Comments
 (0)