spark git commit: [SPARK-11476][DOCS] Incorrect function referred to in MLib Random data generation documentation
Repository: spark Updated Branches: refs/heads/master 4b69a42ed -> d98190210 [SPARK-11476][DOCS] Incorrect function referred to in MLib Random data generation documentation Fix Python example to use normalRDD as advertised Author: Sean OwenCloses #9529 from srowen/SPARK-11476. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/d9819021 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/d9819021 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/d9819021 Branch: refs/heads/master Commit: d981902101767b32dc83a5a639311e197f5cbcc1 Parents: 4b69a42 Author: Sean Owen Authored: Sun Nov 8 11:15:58 2015 + Committer: Sean Owen Committed: Sun Nov 8 11:15:58 2015 + -- docs/mllib-statistics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/d9819021/docs/mllib-statistics.md -- diff --git a/docs/mllib-statistics.md b/docs/mllib-statistics.md index 2c7c9ed..ade5b07 100644 --- a/docs/mllib-statistics.md +++ b/docs/mllib-statistics.md @@ -594,7 +594,7 @@ sc = ... # SparkContext # 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. -u = RandomRDDs.uniformRDD(sc, 100L, 10) +u = RandomRDDs.normalRDD(sc, 100L, 10) # Apply a transform to get a random double RDD following `N(1, 4)`. v = u.map(lambda x: 1.0 + 2.0 * x) {% endhighlight %} - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: [SPARK-11476][DOCS] Incorrect function referred to in MLib Random data generation documentation
Repository: spark Updated Branches: refs/heads/branch-1.6 696d4a52d -> 0bc813b45 [SPARK-11476][DOCS] Incorrect function referred to in MLib Random data generation documentation Fix Python example to use normalRDD as advertised Author: Sean OwenCloses #9529 from srowen/SPARK-11476. (cherry picked from commit d981902101767b32dc83a5a639311e197f5cbcc1) Signed-off-by: Sean Owen Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/0bc813b4 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0bc813b4 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0bc813b4 Branch: refs/heads/branch-1.6 Commit: 0bc813b45e1ca42c64239c63127243eaee051d1f Parents: 696d4a5 Author: Sean Owen Authored: Sun Nov 8 11:15:58 2015 + Committer: Sean Owen Committed: Sun Nov 8 11:16:14 2015 + -- docs/mllib-statistics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/0bc813b4/docs/mllib-statistics.md -- diff --git a/docs/mllib-statistics.md b/docs/mllib-statistics.md index 2c7c9ed..ade5b07 100644 --- a/docs/mllib-statistics.md +++ b/docs/mllib-statistics.md @@ -594,7 +594,7 @@ sc = ... # SparkContext # 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. -u = RandomRDDs.uniformRDD(sc, 100L, 10) +u = RandomRDDs.normalRDD(sc, 100L, 10) # Apply a transform to get a random double RDD following `N(1, 4)`. v = u.map(lambda x: 1.0 + 2.0 * x) {% endhighlight %} - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: [SPARK-11476][DOCS] Incorrect function referred to in MLib Random data generation documentation
Repository: spark Updated Branches: refs/heads/branch-1.5 8fb6696cd -> 3917f6153 [SPARK-11476][DOCS] Incorrect function referred to in MLib Random data generation documentation Fix Python example to use normalRDD as advertised Author: Sean OwenCloses #9529 from srowen/SPARK-11476. (cherry picked from commit d981902101767b32dc83a5a639311e197f5cbcc1) Signed-off-by: Sean Owen Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3917f615 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3917f615 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3917f615 Branch: refs/heads/branch-1.5 Commit: 3917f61530f3eed4a318a7662f8ccd7489ff2a8a Parents: 8fb6696 Author: Sean Owen Authored: Sun Nov 8 11:15:58 2015 + Committer: Sean Owen Committed: Sun Nov 8 11:18:20 2015 + -- docs/mllib-statistics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/3917f615/docs/mllib-statistics.md -- diff --git a/docs/mllib-statistics.md b/docs/mllib-statistics.md index 6acfc71..9045a06 100644 --- a/docs/mllib-statistics.md +++ b/docs/mllib-statistics.md @@ -566,7 +566,7 @@ sc = ... # SparkContext # 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. -u = RandomRDDs.uniformRDD(sc, 100L, 10) +u = RandomRDDs.normalRDD(sc, 100L, 10) # Apply a transform to get a random double RDD following `N(1, 4)`. v = u.map(lambda x: 1.0 + 2.0 * x) {% endhighlight %} - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org