spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Commented] (SPARK-3136) create java-friendly methods in RandomRDDs
Date Tue, 19 Aug 2014 20:37:19 GMT


Apache Spark commented on SPARK-3136:

User 'mengxr' has created a pull request for this issue:

> create java-friendly methods in RandomRDDs
> ------------------------------------------
>                 Key: SPARK-3136
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message