Skip to content

Commit 0a0b616

Browse files
committed
Pushing the docs to dev/ for branch: master, commit 280087899302c89ad906c0b50c7a3c1a1e648231
1 parent b776d1b commit 0a0b616

File tree

1,226 files changed

+3687
-3684
lines changed

Some content is hidden

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

1,226 files changed

+3687
-3684
lines changed
Binary file not shown.

dev/_downloads/1a55101a8e49ab5d3213dadb31332045/plot_digits_classification.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@
7878
# digit value in the title.
7979

8080
_, axes = plt.subplots(nrows=1, ncols=4, figsize=(10, 3))
81-
for ax, image, prediction in zip(axes, digits.images, predicted):
81+
for ax, image, prediction in zip(axes, X_test, predicted):
8282
ax.set_axis_off()
83+
image = image.reshape(8, 8)
8384
ax.imshow(image, cmap=plt.cm.gray_r, interpolation='nearest')
8485
ax.set_title(f'Prediction: {prediction}')
8586

Binary file not shown.

dev/_downloads/eb87d6211b2c0a7c2dc460a9e28b1f6a/plot_digits_classification.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
},
8181
"outputs": [],
8282
"source": [
83-
"_, axes = plt.subplots(nrows=1, ncols=4, figsize=(10, 3))\nfor ax, image, prediction in zip(axes, digits.images, predicted):\n ax.set_axis_off()\n ax.imshow(image, cmap=plt.cm.gray_r, interpolation='nearest')\n ax.set_title(f'Prediction: {prediction}')"
83+
"_, axes = plt.subplots(nrows=1, ncols=4, figsize=(10, 3))\nfor ax, image, prediction in zip(axes, X_test, predicted):\n ax.set_axis_off()\n image = image.reshape(8, 8)\n ax.imshow(image, cmap=plt.cm.gray_r, interpolation='nearest')\n ax.set_title(f'Prediction: {prediction}')"
8484
]
8585
},
8686
{

dev/_downloads/scikit-learn-docs.pdf

1.29 KB
Binary file not shown.

dev/_images/binder_badge_logo.png

0 Bytes

dev/_images/iris.png

0 Bytes
-561 Bytes
-561 Bytes
-232 Bytes

0 commit comments

Comments
 (0)