GitHub user FavioVazquez opened a pull request:
https://github.com/apache/spark/pull/6196
[SPARK-7671] Fix wrong URLs in MLlib Data Types Documentation
There is a mistake in the URL of Matrices in the MLlib Data Types
documentation (Local matrix scala section), the URL points to
https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.mllib.linalg.Matrices
which is a mistake, since Matrices is an object that implements factory
methods for Matrix that does not have a companion class. The correct link
should point to
https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.mllib.linalg.Matrices$
There is another mistake, in the Local Vector section in Scala, Java and
Python
In the Scala section the URL of Vectors points to the trait Vector
(https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.mllib.linalg.Vector)
and not to the factory methods implemented in Vectors.
The correct link should be:
https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.mllib.linalg.Vectors$
In the Java section the URL of Vectors points to the Interface Vector
(https://spark.apache.org/docs/latest/api/java/org/apache/spark/mllib/linalg/Vector.html)
and not to the Class Vectors
The correct link should be:
https://spark.apache.org/docs/latest/api/java/org/apache/spark/mllib/linalg/Vectors.html
In the Python section the URL of Vectors points to the class Vector
(https://spark.apache.org/docs/latest/api/python/pyspark.mllib.html#pyspark.mllib.linalg.Vector)
and not the Class Vectors
The correct link should be:
https://spark.apache.org/docs/latest/api/python/pyspark.mllib.html#pyspark.mllib.linalg.Vectors
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/FavioVazquez/spark
fix-typo-matrices-mllib-datatypes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6196.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6196
----
commit b2e2f8caef4f43d62cb48fc09a0fe17e71f3f4dd
Author: FavioVazquez <[email protected]>
Date: 2015-04-30T19:46:40Z
Merge remote-tracking branch 'upstream/master'
commit edab1ef07312cf44e26fccb7fca8f4a4977ad3ee
Author: FavioVazquez <[email protected]>
Date: 2015-05-05T14:16:02Z
Merge remote-tracking branch 'upstream/master'
commit 9af7074235b6c13001924e037772195b640115b8
Author: FavioVazquez <[email protected]>
Date: 2015-05-15T13:58:04Z
Merge remote-tracking branch 'upstream/master'
commit 3e9efd56b8d6436f2985db24e2074a2662f3ed89
Author: FavioVazquez <[email protected]>
Date: 2015-05-15T18:31:49Z
- Fixed wrong URLs in the MLlib Data Types Documentation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]