diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-11-16 10:53:23 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-11-16 10:53:23 +0000 |
commit | a75e3fe923372c56bc1b2f4baeaaf5868ad28341 (patch) | |
tree | 748a9b795dafa7ec530e1eba6fe7f8efe10ff547 /docs/ml-tuning.md | |
parent | c68f1a38af67957ee28889667193da8f64bb4342 (diff) | |
download | spark-a75e3fe923372c56bc1b2f4baeaaf5868ad28341.tar.gz spark-a75e3fe923372c56bc1b2f4baeaaf5868ad28341.tar.bz2 spark-a75e3fe923372c56bc1b2f4baeaaf5868ad28341.zip |
[SPARK-18446][ML][DOCS] Add links to API docs for ML algos
## What changes were proposed in this pull request?
Add links to API docs for ML algos
## How was this patch tested?
Manual checking for the API links
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #15890 from zhengruifeng/algo_link.
Diffstat (limited to 'docs/ml-tuning.md')
-rw-r--r-- | docs/ml-tuning.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/ml-tuning.md b/docs/ml-tuning.md index e4b070331d..a135adc433 100644 --- a/docs/ml-tuning.md +++ b/docs/ml-tuning.md @@ -75,15 +75,23 @@ However, it is also a well-established method for choosing parameters which is m <div class="codetabs"> <div data-lang="scala"> + +Refer to the [`CrossValidator` Scala docs](api/scala/index.html#org.apache.spark.ml.tuning.CrossValidator) for details on the API. + {% include_example scala/org/apache/spark/examples/ml/ModelSelectionViaCrossValidationExample.scala %} </div> <div data-lang="java"> + +Refer to the [`CrossValidator` Java docs](api/java/org/apache/spark/ml/tuning/CrossValidator.html) for details on the API. + {% include_example java/org/apache/spark/examples/ml/JavaModelSelectionViaCrossValidationExample.java %} </div> <div data-lang="python"> +Refer to the [`CrossValidator` Python docs](api/python/pyspark.ml.html#pyspark.ml.tuning.CrossValidator) for more details on the API. + {% include_example python/ml/cross_validator.py %} </div> @@ -107,14 +115,23 @@ Like `CrossValidator`, `TrainValidationSplit` finally fits the `Estimator` using <div class="codetabs"> <div data-lang="scala" markdown="1"> + +Refer to the [`TrainValidationSplit` Scala docs](api/scala/index.html#org.apache.spark.ml.tuning.TrainValidationSplit) for details on the API. + {% include_example scala/org/apache/spark/examples/ml/ModelSelectionViaTrainValidationSplitExample.scala %} </div> <div data-lang="java" markdown="1"> + +Refer to the [`TrainValidationSplit` Java docs](api/java/org/apache/spark/ml/tuning/TrainValidationSplit.html) for details on the API. + {% include_example java/org/apache/spark/examples/ml/JavaModelSelectionViaTrainValidationSplitExample.java %} </div> <div data-lang="python"> + +Refer to the [`TrainValidationSplit` Python docs](api/python/pyspark.ml.html#pyspark.ml.tuning.TrainValidationSplit) for more details on the API. + {% include_example python/ml/train_validation_split.py %} </div> |