diff options
Diffstat (limited to 'docs/mllib-clustering.md')
-rw-r--r-- | docs/mllib-clustering.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/mllib-clustering.md b/docs/mllib-clustering.md index 44720147be..6897ba4a5d 100644 --- a/docs/mllib-clustering.md +++ b/docs/mllib-clustering.md @@ -399,6 +399,12 @@ Refer to the [`BisectingKMeans` Java docs](api/java/org/apache/spark/mllib/clust {% include_example java/org/apache/spark/examples/mllib/JavaBisectingKMeansExample.java %} </div> + +<div data-lang="python" markdown="1"> +Refer to the [`BisectingKMeans` Python docs](api/python/pyspark.mllib.html#pyspark.mllib.clustering.BisectingKMeans) and [`BisectingKMeansModel` Python docs](api/python/pyspark.mllib.html#pyspark.mllib.clustering.BisectingKMeansModel) for more details on the API. + +{% include_example python/mllib/bisecting_k_means_example.py %} +</div> </div> ## Streaming k-means |