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

MLLib uniformVectorRDD wrong data generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.5.1
    • None
    • MLlib
    • Spark 1.6.0-SNAPSHOT standalone on centos 6.6
      Single node VM machine, 8 cores 16 GB memory

    Description

      According to the definition of uniformVectorRDD, it is supposed to generate the uniformly distributed data with mean ~0.0 and standard deviation ~1.
      [Definition: Generates an RDD comprised of i.i.d. samples from the uniform distribution U(0.0, 1.0).]
      But it is generating the data with mean ~0.5 and sd of ~0.28.

      PS: uniformRDD is working correctly as per description with uniform distribution U(0.0, 1.0) and uniformVectorRDD should be generating data with same distribution.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vnayak053 Sandeep Pal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: