Details
-
Documentation
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5.1
Description
http://spark.apache.org/docs/latest/mllib-statistics.html in the "Random data generation", a comment in the example code says:
Generate a random double RDD that contains 1 million i.i.d. values drawn from the standard normal distribution `N(0, 1)`, evenly distributed in 10 partitions.
But it then calls normalRDD(), which does not do that - a call to uniformRDD() with the same parameters would do what the comment claims.
Attachments
Issue Links
- links to