GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/2041
[SPARK-3136][MLLIB] Create Java-friendly methods in RandomRDDs
Though we don't use default argument for methods in RandomRDDs, it is still
not easy for Java users to use because the output type is either `RDD[Double]`
or `RDD[Vector]`. Java users should expect `JavaDoubleRDD` and
`JavaRDD[Vector]`, respectively. We should create dedicated methods for Java
users, and allow default arguments in Scala methods in RandomRDDs, to make life
easier for both Java and Scala users. This PR also contains documentation for
random data generation. @brkyvz
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark stat-doc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2041.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2041
----
commit b99d94b822e3844e67ab47b4f460d72a811e2565
Author: Xiangrui Meng <[email protected]>
Date: 2014-08-19T19:53:25Z
add java-friendly methods to RandomRDDs
commit aef6d0762e65c97cbe3d6e6891a42e25036b6c71
Author: Xiangrui Meng <[email protected]>
Date: 2014-08-19T20:21:48Z
add doc for random data generation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]