Xiangrui Meng created SPARK-3136:
------------------------------------

             Summary: create java-friendly methods in RandomRDDs
                 Key: SPARK-3136
                 URL: https://issues.apache.org/jira/browse/SPARK-3136
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
            Reporter: Xiangrui Meng
            Assignee: Xiangrui Meng


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 message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to