Skip to content

Commit d087946

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 14684bbae31918a394d61c75c23edee42d6c9761
1 parent a5091b1 commit d087946

File tree

1,218 files changed

+4172
-4169
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,218 files changed

+4172
-4169
lines changed
Binary file not shown.

dev/_downloads/43f17c8225b2c8e15e22a7edf7adb8b5/plot_mean_shift.ipynb

+1-1
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(\"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()"
83+
"import matplotlib.pyplot as plt\n\nplt.figure(1)\nplt.clf()\n\ncolors = [\"#dede00\", \"#377eb8\", \"#f781bf\"]\nmarkers = [\"x\", \"o\", \"^\"]\n\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], markers[k], color=col)\n plt.plot(\n cluster_center[0],\n cluster_center[1],\n markers[k],\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

+5-4
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,21 @@
4242
# Plot result
4343
# -----------
4444
import matplotlib.pyplot as plt
45-
from itertools import cycle
4645

4746
plt.figure(1)
4847
plt.clf()
4948

50-
colors = cycle("bgrcmyk")
49+
colors = ["#dede00", "#377eb8", "#f781bf"]
50+
markers = ["x", "o", "^"]
51+
5152
for k, col in zip(range(n_clusters_), colors):
5253
my_members = labels == k
5354
cluster_center = cluster_centers[k]
54-
plt.plot(X[my_members, 0], X[my_members, 1], col + ".")
55+
plt.plot(X[my_members, 0], X[my_members, 1], markers[k], color=col)
5556
plt.plot(
5657
cluster_center[0],
5758
cluster_center[1],
58-
"o",
59+
markers[k],
5960
markerfacecolor=col,
6061
markeredgecolor="k",
6162
markersize=14,
Binary file not shown.

dev/_downloads/scikit-learn-docs.zip

-6.78 KB
Binary file not shown.
-111 Bytes
-209 Bytes
-117 Bytes
-388 Bytes
-17 Bytes
-280 Bytes
-13 Bytes
-18 Bytes
4.31 KB
-190 Bytes
-66 Bytes
-26 Bytes
88 Bytes
-55 Bytes
-87 Bytes
1 Byte
-52 Bytes
19 Bytes
8 Bytes
-68 Bytes
-66 Bytes
48 Bytes
74 Bytes
-2.4 KB
-52 Bytes
164 Bytes
-57 Bytes

dev/_sources/auto_examples/applications/plot_cyclical_feature_engineering.rst.txt

+1-1

dev/_sources/auto_examples/applications/plot_digits_denoising.rst.txt

+1-1

dev/_sources/auto_examples/applications/plot_face_recognition.rst.txt

+5-5

dev/_sources/auto_examples/applications/plot_model_complexity_influence.rst.txt

+15-15

dev/_sources/auto_examples/applications/plot_out_of_core_classification.rst.txt

+29-29

dev/_sources/auto_examples/applications/plot_outlier_detection_wine.rst.txt

+1-1

dev/_sources/auto_examples/applications/plot_prediction_latency.rst.txt

+1-1

dev/_sources/auto_examples/applications/plot_species_distribution_modeling.rst.txt

+2-2

dev/_sources/auto_examples/applications/plot_stock_market.rst.txt

+1-1

dev/_sources/auto_examples/applications/plot_tomography_l1_reconstruction.rst.txt

+1-1

dev/_sources/auto_examples/applications/plot_topics_extraction_with_nmf_lda.rst.txt

+9-9

0 commit comments

Comments
 (0)