diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-11-17 13:40:16 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-11-17 13:40:16 +0000 |
commit | cdaf4ce9fe58c4606be8aa2a5c3756d30545c850 (patch) | |
tree | ccd3b1b51b7c46f01a10c467d306614e685ba4e5 /docs/mllib-linear-methods.md | |
parent | de77c67750dc868d75d6af173c3820b75a9fe4b7 (diff) | |
download | spark-cdaf4ce9fe58c4606be8aa2a5c3756d30545c850.tar.gz spark-cdaf4ce9fe58c4606be8aa2a5c3756d30545c850.tar.bz2 spark-cdaf4ce9fe58c4606be8aa2a5c3756d30545c850.zip |
[SPARK-18480][DOCS] Fix wrong links for ML guide docs
## What changes were proposed in this pull request?
1, There are two `[Graph.partitionBy]` in `graphx-programming-guide.md`, the first one had no effert.
2, `DataFrame`, `Transformer`, `Pipeline` and `Parameter` in `ml-pipeline.md` were linked to `ml-guide.html` by mistake.
3, `PythonMLLibAPI` in `mllib-linear-methods.md` was not accessable, because class `PythonMLLibAPI` is private.
4, Other link updates.
## How was this patch tested?
manual tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #15912 from zhengruifeng/md_fix.
Diffstat (limited to 'docs/mllib-linear-methods.md')
-rw-r--r-- | docs/mllib-linear-methods.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/mllib-linear-methods.md b/docs/mllib-linear-methods.md index 816bdf1317..3085539b40 100644 --- a/docs/mllib-linear-methods.md +++ b/docs/mllib-linear-methods.md @@ -139,7 +139,7 @@ and logistic regression. Linear SVMs supports only binary classification, while logistic regression supports both binary and multiclass classification problems. For both methods, `spark.mllib` supports L1 and L2 regularized variants. -The training data set is represented by an RDD of [LabeledPoint](mllib-data-types.html) in MLlib, +The training data set is represented by an RDD of [LabeledPoint](mllib-data-types.html#labeled-point) in MLlib, where labels are class indices starting from zero: $0, 1, 2, \ldots$. ### Linear Support Vector Machines (SVMs) @@ -491,5 +491,3 @@ Algorithms are all implemented in Scala: * [RidgeRegressionWithSGD](api/scala/index.html#org.apache.spark.mllib.regression.RidgeRegressionWithSGD) * [LassoWithSGD](api/scala/index.html#org.apache.spark.mllib.regression.LassoWithSGD) -Python calls the Scala implementation via -[PythonMLLibAPI](api/scala/index.html#org.apache.spark.mllib.api.python.PythonMLLibAPI). |