Favio Vázquez created SPARK-7671:
------------------------------------
Summary: Fix wrong URLs in MLlib Data Types Documentation
Key: SPARK-7671
URL: https://issues.apache.org/jira/browse/SPARK-7671
Project: Spark
Issue Type: Documentation
Components: Documentation
Environment: Ubuntu 14.04. Apache Mesos in cluster mode with HDFS from
cloudera 2.6.0-cdh5.4.0.
Reporter: Favio Vázquez
Priority: Trivial
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]