Skip to content

Commit f2a66aa

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 411416149fa2fa5e95f6fe7a874e5455fea7f582
1 parent ad4abba commit f2a66aa

File tree

1,256 files changed

+4330
-4330
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,256 files changed

+4330
-4330
lines changed
Binary file not shown.

dev/_downloads/4b8d8f0d50e5aa937ac9571a35eadc28/plot_kmeans_stability_low_dim_dense.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
============================================================
55
66
Evaluate the ability of k-means initializations strategies to make
7-
the algorithm convergence robust as measured by the relative standard
7+
the algorithm convergence robust, as measured by the relative standard
88
deviation of the inertia of the clustering (i.e. the sum of squared
99
distances to the nearest cluster center).
1010
1111
The first plot shows the best inertia reached for each combination
12-
of the model (``KMeans`` or ``MiniBatchKMeans``) and the init method
12+
of the model (``KMeans`` or ``MiniBatchKMeans``), and the init method
1313
(``init="random"`` or ``init="kmeans++"``) for increasing values of the
1414
``n_init`` parameter that controls the number of initializations.
1515
16-
The second plot demonstrate one single run of the ``MiniBatchKMeans``
16+
The second plot demonstrates one single run of the ``MiniBatchKMeans``
1717
estimator using a ``init="random"`` and ``n_init=1``. This run leads to
18-
a bad convergence (local optimum) with estimated centers stuck
18+
a bad convergence (local optimum), with estimated centers stuck
1919
between ground truth clusters.
2020
2121
The dataset used for evaluation is a 2D grid of isotropic Gaussian
Binary file not shown.

dev/_downloads/7e9cf82b8b60275dd7851470d151af5f/plot_kmeans_stability_low_dim_dense.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"\n# Empirical evaluation of the impact of k-means initialization\n\nEvaluate the ability of k-means initializations strategies to make\nthe algorithm convergence robust as measured by the relative standard\ndeviation of the inertia of the clustering (i.e. the sum of squared\ndistances to the nearest cluster center).\n\nThe first plot shows the best inertia reached for each combination\nof the model (``KMeans`` or ``MiniBatchKMeans``) and the init method\n(``init=\"random\"`` or ``init=\"kmeans++\"``) for increasing values of the\n``n_init`` parameter that controls the number of initializations.\n\nThe second plot demonstrate one single run of the ``MiniBatchKMeans``\nestimator using a ``init=\"random\"`` and ``n_init=1``. This run leads to\na bad convergence (local optimum) with estimated centers stuck\nbetween ground truth clusters.\n\nThe dataset used for evaluation is a 2D grid of isotropic Gaussian\nclusters widely spaced.\n"
18+
"\n# Empirical evaluation of the impact of k-means initialization\n\nEvaluate the ability of k-means initializations strategies to make\nthe algorithm convergence robust, as measured by the relative standard\ndeviation of the inertia of the clustering (i.e. the sum of squared\ndistances to the nearest cluster center).\n\nThe first plot shows the best inertia reached for each combination\nof the model (``KMeans`` or ``MiniBatchKMeans``), and the init method\n(``init=\"random\"`` or ``init=\"kmeans++\"``) for increasing values of the\n``n_init`` parameter that controls the number of initializations.\n\nThe second plot demonstrates one single run of the ``MiniBatchKMeans``\nestimator using a ``init=\"random\"`` and ``n_init=1``. This run leads to\na bad convergence (local optimum), with estimated centers stuck\nbetween ground truth clusters.\n\nThe dataset used for evaluation is a 2D grid of isotropic Gaussian\nclusters widely spaced.\n"
1919
]
2020
},
2121
{

dev/_downloads/scikit-learn-docs.zip

-13.7 KB
Binary file not shown.
-187 Bytes
-161 Bytes
7 Bytes
2 Bytes
-80 Bytes

0 commit comments

Comments
 (0)