Skip to content

Commit 66b31b5

Browse files
committed
Pushing the docs to dev/ for branch: main, commit df626e43ac3c99da2aeb005709d77395bd717e6a
1 parent b35daf2 commit 66b31b5

File tree

1,246 files changed

+4292
-4308
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,246 files changed

+4292
-4308
lines changed
Binary file not shown.

dev/_downloads/43f17c8225b2c8e15e22a7edf7adb8b5/plot_mean_shift.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-
"import matplotlib.pyplot as plt\nfrom itertools import cycle\n\nplt.figure(1)\nplt.clf()\n\ncolors = cycle(\"bgrcmykbgrcmykbgrcmykbgrcmyk\")\nfor k, col in zip(range(n_clusters_), colors):\n my_members = labels == k\n cluster_center = cluster_centers[k]\n plt.plot(X[my_members, 0], X[my_members, 1], col + \".\")\n plt.plot(\n cluster_center[0],\n cluster_center[1],\n \"o\",\n markerfacecolor=col,\n markeredgecolor=\"k\",\n markersize=14,\n )\nplt.title(\"Estimated number of clusters: %d\" % n_clusters_)\nplt.show()"
83+
"import matplotlib.pyplot as plt\nfrom itertools import cycle\n\nplt.figure(1)\nplt.clf()\n\ncolors = cycle(\"bgrcmyk\")\nfor k, col in zip(range(n_clusters_), colors):\n my_members = labels == k\n cluster_center = cluster_centers[k]\n plt.plot(X[my_members, 0], X[my_members, 1], col + \".\")\n plt.plot(\n cluster_center[0],\n cluster_center[1],\n \"o\",\n markerfacecolor=col,\n markeredgecolor=\"k\",\n markersize=14,\n )\nplt.title(\"Estimated number of clusters: %d\" % n_clusters_)\nplt.show()"
8484
]
8585
}
8686
],

dev/_downloads/585914164dc34984e397f8d3d61849a5/plot_mean_shift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
plt.figure(1)
4848
plt.clf()
4949

50-
colors = cycle("bgrcmykbgrcmykbgrcmykbgrcmyk")
50+
colors = cycle("bgrcmyk")
5151
for k, col in zip(range(n_clusters_), colors):
5252
my_members = labels == k
5353
cluster_center = cluster_centers[k]
Binary file not shown.

dev/_downloads/scikit-learn-docs.zip

-11.5 KB
Binary file not shown.
-1 Bytes
1 Byte
51 Bytes
305 Bytes
-9 Bytes

0 commit comments

Comments
 (0)