GitHub user sethah opened a pull request:

    https://github.com/apache/spark/pull/11944

    [SPARK-14107][PYSPARK][ML] Add seed as named argument to GBTs in pyspark

    ## What changes were proposed in this pull request?
    
    GBTs in pyspark previously had seed parameters, but they could not be 
passed as keyword arguments through the class constructor. This patch adds seed 
as a keyword argument and also sets default value.
    
    
    ## How was this patch tested?
    
    Doc tests were updated to pass a random seed through the GBTClassifier and 
GBTRegressor constructors.
    
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sethah/spark SPARK-14107

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11944.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 #11944
    
----
commit 0d1b442f6c96bb2bd44d7d25757c2ef649126a1d
Author: sethah <[email protected]>
Date:   2016-03-24T20:43:39Z

    add seed as kwarg in pyspark gbt

----


---
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]

Reply via email to