aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-pipeline.md
diff options
context:
space:
mode:
authorZheng RuiFeng <ruifengz@foxmail.com>2016-11-16 10:53:23 +0000
committerSean Owen <sowen@cloudera.com>2016-11-16 10:53:23 +0000
commita75e3fe923372c56bc1b2f4baeaaf5868ad28341 (patch)
tree748a9b795dafa7ec530e1eba6fe7f8efe10ff547 /docs/ml-pipeline.md
parentc68f1a38af67957ee28889667193da8f64bb4342 (diff)
downloadspark-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-pipeline.md')
-rw-r--r--docs/ml-pipeline.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/ml-pipeline.md b/docs/ml-pipeline.md
index adb057ba7e..b4d6be94f5 100644
--- a/docs/ml-pipeline.md
+++ b/docs/ml-pipeline.md
@@ -207,14 +207,29 @@ This example covers the concepts of `Estimator`, `Transformer`, and `Param`.
<div class="codetabs">
<div data-lang="scala">
+
+Refer to the [`Estimator` Scala docs](api/scala/index.html#org.apache.spark.ml.Estimator),
+the [`Transformer` Scala docs](api/scala/index.html#org.apache.spark.ml.Transformer) and
+the [`Params` Scala docs](api/scala/index.html#org.apache.spark.ml.param.Params) for details on the API.
+
{% include_example scala/org/apache/spark/examples/ml/EstimatorTransformerParamExample.scala %}
</div>
<div data-lang="java">
+
+Refer to the [`Estimator` Java docs](api/java/org/apache/spark/ml/Estimator.html),
+the [`Transformer` Java docs](api/java/org/apache/spark/ml/Transformer.html) and
+the [`Params` Java docs](api/java/org/apache/spark/ml/param/Params.html) for details on the API.
+
{% include_example java/org/apache/spark/examples/ml/JavaEstimatorTransformerParamExample.java %}
</div>
<div data-lang="python">
+
+Refer to the [`Estimator` Python docs](api/python/pyspark.ml.html#pyspark.ml.Estimator),
+the [`Transformer` Python docs](api/python/pyspark.ml.html#pyspark.ml.Transformer) and
+the [`Params` Python docs](api/python/pyspark.ml.html#pyspark.ml.param.Params) for more details on the API.
+
{% include_example python/ml/estimator_transformer_param_example.py %}
</div>
@@ -227,14 +242,24 @@ This example follows the simple text document `Pipeline` illustrated in the figu
<div class="codetabs">
<div data-lang="scala">
+
+Refer to the [`Pipeline` Scala docs](api/scala/index.html#org.apache.spark.ml.Pipeline) for details on the API.
+
{% include_example scala/org/apache/spark/examples/ml/PipelineExample.scala %}
</div>
<div data-lang="java">
+
+
+Refer to the [`Pipeline` Java docs](api/java/org/apache/spark/ml/Pipeline.html) for details on the API.
+
{% include_example java/org/apache/spark/examples/ml/JavaPipelineExample.java %}
</div>
<div data-lang="python">
+
+Refer to the [`Pipeline` Python docs](api/python/pyspark.ml.html#pyspark.ml.Pipeline) for more details on the API.
+
{% include_example python/ml/pipeline_example.py %}
</div>