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

Random RDD creation example fix in MLlib statistics programming guide - mllib-statistics.md

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 1.5.0
    • None
    • Documentation
    • None

    Description

      Creating Random RDDs had the follow line in the example for Random Data Generation in the MLlib statistics programming guide:

      val u = normalRDD(sc, 1000000L, 10)

      It should be :

      val u = RandomRDDs.normalRDD(sc, 1000000L, 10)

      It applies to both the Scala and Java examples.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jayants Jayant Shekhar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: