aboutsummaryrefslogtreecommitdiff
path: root/docs/mllib-pmml-model-export.md
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-06-11 12:55:38 +0100
committerSean Owen <sowen@cloudera.com>2016-06-11 12:55:38 +0100
commitad102af169c7344b30d3b84aa16452fcdc22542c (patch)
tree3ddc38bba4e271d6e361c7a880d12c030a76a532 /docs/mllib-pmml-model-export.md
parent3761330dd0151d7369d7fba4d4c344e9863990ef (diff)
downloadspark-ad102af169c7344b30d3b84aa16452fcdc22542c.tar.gz
spark-ad102af169c7344b30d3b84aa16452fcdc22542c.tar.bz2
spark-ad102af169c7344b30d3b84aa16452fcdc22542c.zip
[SPARK-15883][MLLIB][DOCS] Fix broken links in mllib documents
## What changes were proposed in this pull request? This issue fixes all broken links on Spark 2.0 preview MLLib documents. Also, this contains some editorial change. **Fix broken links** * mllib-data-types.md * mllib-decision-tree.md * mllib-ensembles.md * mllib-feature-extraction.md * mllib-pmml-model-export.md * mllib-statistics.md **Fix malformed section header and scala coding style** * mllib-linear-methods.md **Replace indirect forward links with direct one** * ml-classification-regression.md ## How was this patch tested? Manual tests (with `cd docs; jekyll build`.) Author: Dongjoon Hyun <dongjoon@apache.org> Closes #13608 from dongjoon-hyun/SPARK-15883.
Diffstat (limited to 'docs/mllib-pmml-model-export.md')
-rw-r--r--docs/mllib-pmml-model-export.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/mllib-pmml-model-export.md b/docs/mllib-pmml-model-export.md
index 58ed5a0e9d..7f2347dc0b 100644
--- a/docs/mllib-pmml-model-export.md
+++ b/docs/mllib-pmml-model-export.md
@@ -47,7 +47,7 @@ To export a supported `model` (see table above) to PMML, simply call `model.toPM
As well as exporting the PMML model to a String (`model.toPMML` as in the example above), you can export the PMML model to other formats.
-Refer to the [`KMeans` Scala docs](api/scala/index.html#org.apache.spark.mllib.clustering.KMeans) and [`Vectors` Scala docs](api/scala/index.html#org.apache.spark.mllib.linalg.Vectors) for details on the API.
+Refer to the [`KMeans` Scala docs](api/scala/index.html#org.apache.spark.mllib.clustering.KMeans) and [`Vectors` Scala docs](api/scala/index.html#org.apache.spark.mllib.linalg.Vectors$) for details on the API.
Here a complete example of building a KMeansModel and print it out in PMML format:
{% include_example scala/org/apache/spark/examples/mllib/PMMLModelExportExample.scala %}