Skip to content

Commit 934df30

Browse files
DOC add link to plot_birch_vs_minibatchkmeans example in Birch (scikit-learn#29942)
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
1 parent 6418b5f commit 934df30

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

sklearn/cluster/_birch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,9 @@ class Birch(
461461
subcluster are updated. This is done recursively till the properties of
462462
the leaf node are updated.
463463
464+
See :ref:`sphx_glr_auto_examples_cluster_plot_birch_vs_minibatchkmeans.py` for a
465+
comparison with :class:`~sklearn.cluster.MiniBatchKMeans`.
466+
464467
References
465468
----------
466469
* Tian Zhang, Raghu Ramakrishnan, Maron Livny

sklearn/cluster/_kmeans.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,9 @@ class MiniBatchKMeans(_BaseKMeans):
18381838
always match. One solution is to set `reassignment_ratio=0`, which
18391839
prevents reassignments of clusters that are too small.
18401840
1841+
See :ref:`sphx_glr_auto_examples_cluster_plot_birch_vs_minibatchkmeans.py` for a
1842+
comparison with :class:`~sklearn.cluster.BIRCH`.
1843+
18411844
Examples
18421845
--------
18431846
>>> from sklearn.cluster import MiniBatchKMeans

0 commit comments

Comments
 (0)