aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-tuning.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-tuning.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-tuning.md')
-rw-r--r--docs/ml-tuning.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ml-tuning.md b/docs/ml-tuning.md
index 2ca90c7092..e4b070331d 100644
--- a/docs/ml-tuning.md
+++ b/docs/ml-tuning.md
@@ -62,7 +62,7 @@ To help construct the parameter grid, users can use the [`ParamGridBuilder`](api
After identifying the best `ParamMap`, `CrossValidator` finally re-fits the `Estimator` using the best `ParamMap` and the entire dataset.
-## Example: model selection via cross-validation
+**Examples: model selection via cross-validation**
The following example demonstrates using `CrossValidator` to select from a grid of parameters.
@@ -102,7 +102,7 @@ It splits the dataset into these two parts using the `trainRatio` parameter. For
Like `CrossValidator`, `TrainValidationSplit` finally fits the `Estimator` using the best `ParamMap` and the entire dataset.
-## Example: model selection via train validation split
+**Examples: model selection via train validation split**
<div class="codetabs">