aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-clustering.md
diff options
context:
space:
mode:
authorZheng RuiFeng <ruifengz@foxmail.com>2016-11-08 14:04:07 +0000
committerSean Owen <sowen@cloudera.com>2016-11-08 14:04:07 +0000
commitb1033fb74595716a8973acae43a6415d8e0a76d2 (patch)
tree8bae0387a3e47a1f4b9184f5fec868b7626ed7c7 /docs/ml-clustering.md
parentee2e741ac16b01d9cae0eadd35af774547bbd415 (diff)
downloadspark-b1033fb74595716a8973acae43a6415d8e0a76d2.tar.gz
spark-b1033fb74595716a8973acae43a6415d8e0a76d2.tar.bz2
spark-b1033fb74595716a8973acae43a6415d8e0a76d2.zip
[MINOR][DOC] Unify example marks
## What changes were proposed in this pull request? 1, `**Example**` => `**Examples**`, because more algos use `**Examples**`. 2, delete `### Examples` in `Isotonic regression`, because it's not that special in http://spark.apache.org/docs/latest/ml-classification-regression.html 3, add missing marks for `LDA` and other algos. ## How was this patch tested? No tests for it only modify doc Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #15783 from zhengruifeng/doc_fix.
Diffstat (limited to 'docs/ml-clustering.md')
-rw-r--r--docs/ml-clustering.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/ml-clustering.md b/docs/ml-clustering.md
index 8a0a61cb59..eedacb12bc 100644
--- a/docs/ml-clustering.md
+++ b/docs/ml-clustering.md
@@ -65,7 +65,7 @@ called [kmeans||](http://theory.stanford.edu/~sergei/papers/vldb12-kmpar.pdf).
</tbody>
</table>
-### Example
+**Examples**
<div class="codetabs">
@@ -94,6 +94,8 @@ Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.clustering.
and generates a `LDAModel` as the base model. Expert users may cast a `LDAModel` generated by
`EMLDAOptimizer` to a `DistributedLDAModel` if needed.
+**Examples**
+
<div class="codetabs">
<div data-lang="scala" markdown="1">
@@ -128,7 +130,7 @@ Bisecting K-means can often be much faster than regular K-means, but it will gen
`BisectingKMeans` is implemented as an `Estimator` and generates a `BisectingKMeansModel` as the base model.
-### Example
+**Examples**
<div class="codetabs">
@@ -210,7 +212,7 @@ model.
</tbody>
</table>
-### Example
+**Examples**
<div class="codetabs">