aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-clustering.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ml-clustering.md')
-rw-r--r--docs/ml-clustering.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/ml-clustering.md b/docs/ml-clustering.md
index 876a280c4c..0d69bf67df 100644
--- a/docs/ml-clustering.md
+++ b/docs/ml-clustering.md
@@ -109,8 +109,13 @@ Refer to the [Java API docs](api/java/org/apache/spark/ml/clustering/LDA.html) f
{% include_example java/org/apache/spark/examples/ml/JavaLDAExample.java %}
</div>
-</div>
+<div data-lang="python" markdown="1">
+
+Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.clustering.LDA) for more details.
+{% include_example python/ml/lda_example.py %}
+</div>
+</div>
## Bisecting k-means