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-classification-regression.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-classification-regression.md')
-rw-r--r-- | docs/ml-classification-regression.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/ml-classification-regression.md b/docs/ml-classification-regression.md index b10793d83e..1aacc3e054 100644 --- a/docs/ml-classification-regression.md +++ b/docs/ml-classification-regression.md @@ -55,14 +55,23 @@ $\alpha$ and `regParam` corresponds to $\lambda$. <div class="codetabs"> <div data-lang="scala" markdown="1"> + +More details on parameters can be found in the [Scala API documentation](api/scala/index.html#org.apache.spark.ml.classification.LogisticRegression). + {% include_example scala/org/apache/spark/examples/ml/LogisticRegressionWithElasticNetExample.scala %} </div> <div data-lang="java" markdown="1"> + +More details on parameters can be found in the [Java API documentation](api/java/org/apache/spark/ml/classification/LogisticRegression.html). + {% include_example java/org/apache/spark/examples/ml/JavaLogisticRegressionWithElasticNetExample.java %} </div> <div data-lang="python" markdown="1"> + +More details on parameters can be found in the [Python API documentation](api/python/pyspark.ml.html#pyspark.ml.classification.LogisticRegression). + {% include_example python/ml/logistic_regression_with_elastic_net.py %} </div> @@ -289,14 +298,23 @@ MLPC employs backpropagation for learning the model. We use the logistic loss fu <div class="codetabs"> <div data-lang="scala" markdown="1"> + +Refer to the [Scala API docs](api/scala/index.html#org.apache.spark.ml.classification.MultilayerPerceptronClassifier) for more details. + {% include_example scala/org/apache/spark/examples/ml/MultilayerPerceptronClassifierExample.scala %} </div> <div data-lang="java" markdown="1"> + +Refer to the [Java API docs](api/java/org/apache/spark/ml/classification/MultilayerPerceptronClassifier.html) for more details. + {% include_example java/org/apache/spark/examples/ml/JavaMultilayerPerceptronClassifierExample.java %} </div> <div data-lang="python" markdown="1"> + +Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.classification.MultilayerPerceptronClassifier) for more details. + {% include_example python/ml/multilayer_perceptron_classification.py %} </div> @@ -392,15 +410,24 @@ regression model and extracting model summary statistics. <div class="codetabs"> <div data-lang="scala" markdown="1"> + +More details on parameters can be found in the [Scala API documentation](api/scala/index.html#org.apache.spark.ml.regression.LinearRegression). + {% include_example scala/org/apache/spark/examples/ml/LinearRegressionWithElasticNetExample.scala %} </div> <div data-lang="java" markdown="1"> + +More details on parameters can be found in the [Java API documentation](api/java/org/apache/spark/ml/regression/LinearRegression.html). + {% include_example java/org/apache/spark/examples/ml/JavaLinearRegressionWithElasticNetExample.java %} </div> <div data-lang="python" markdown="1"> <!--- TODO: Add python model summaries once implemented --> + +More details on parameters can be found in the [Python API documentation](api/python/pyspark.ml.html#pyspark.ml.regression.LinearRegression). + {% include_example python/ml/linear_regression_with_elastic_net.py %} </div> @@ -519,18 +546,21 @@ function and extracting model summary statistics. <div class="codetabs"> <div data-lang="scala" markdown="1"> + Refer to the [Scala API docs](api/scala/index.html#org.apache.spark.ml.regression.GeneralizedLinearRegression) for more details. {% include_example scala/org/apache/spark/examples/ml/GeneralizedLinearRegressionExample.scala %} </div> <div data-lang="java" markdown="1"> + Refer to the [Java API docs](api/java/org/apache/spark/ml/regression/GeneralizedLinearRegression.html) for more details. {% include_example java/org/apache/spark/examples/ml/JavaGeneralizedLinearRegressionExample.java %} </div> <div data-lang="python" markdown="1"> + Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.regression.GeneralizedLinearRegression) for more details. {% include_example python/ml/generalized_linear_regression_example.py %} @@ -705,14 +735,23 @@ The implementation matches the result from R's survival function <div class="codetabs"> <div data-lang="scala" markdown="1"> + +Refer to the [Scala API docs](api/scala/index.html#org.apache.spark.ml.regression.AFTSurvivalRegression) for more details. + {% include_example scala/org/apache/spark/examples/ml/AFTSurvivalRegressionExample.scala %} </div> <div data-lang="java" markdown="1"> + +Refer to the [Java API docs](api/java/org/apache/spark/ml/regression/AFTSurvivalRegression.html) for more details. + {% include_example java/org/apache/spark/examples/ml/JavaAFTSurvivalRegressionExample.java %} </div> <div data-lang="python" markdown="1"> + +Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.regression.AFTSurvivalRegression) for more details. + {% include_example python/ml/aft_survival_regression.py %} </div> |