You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sandeep Singh (JIRA)" <ji...@apache.org> on 2014/04/08 09:17:20 UTC
[jira] [Commented] (SPARK-1438) Update RDD.sample() API to make
seed parameter optional
[ https://issues.apache.org/jira/browse/SPARK-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962653#comment-13962653 ]
Sandeep Singh commented on SPARK-1438:
--------------------------------------
You mean we should create a different method without seeds param or check for value of seed(is there a default values for seed when not set) ?
> Update RDD.sample() API to make seed parameter optional
> -------------------------------------------------------
>
> Key: SPARK-1438
> URL: https://issues.apache.org/jira/browse/SPARK-1438
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Reporter: Matei Zaharia
> Priority: Blocker
> Labels: Starter
> Fix For: 1.0.0
>
>
> When a seed is not given, it should pick one based on Math.random().
> This needs to be done in Java and Python as well.
--
This message was sent by Atlassian JIRA
(v6.2#6252)