Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-7671

Fix wrong URLs in MLlib Data Types Documentation

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.4.0
    • Documentation, MLlib
    • Ubuntu 14.04. Apache Mesos in cluster mode with HDFS from cloudera 2.6.0-cdh5.4.0.

    Description

      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

      Attachments

        Activity

          People

            FavioVazquez Favio Vázquez
            FavioVazquez Favio Vázquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: