[ 
https://issues.apache.org/jira/browse/SPARK-9722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990866#comment-14990866
 ] 

Joseph K. Bradley commented on SPARK-9722:
------------------------------------------

[~yuu.ishik...@gmail.com] Thanks for the PR!  Sorry I was slow to get to it.  
Could you please add a seed Param to DecisionTreeClassifier and 
DecisionTreeRegressor?  I'll create a new JIRA and link it here.

I hope we can squeeze it into 1.6.  If we can't, then we should check to make 
sure XORShiftRandom behaves nicely when given a seed of 0 (which is the 
behavior after this PR's JIRA).


> Pass random seed to spark.ml DecisionTree*
> ------------------------------------------
>
>                 Key: SPARK-9722
>                 URL: https://issues.apache.org/jira/browse/SPARK-9722
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Assignee: Yu Ishikawa
>            Priority: Trivial
>             Fix For: 1.6.0
>
>
> Trees use XORShiftRandom when binning continuous features.  Currently, they 
> use a fixed seed of 1.  They should accept a random seed param and use that 
> instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to