Skip to content

Conversation

@sethah
Copy link
Contributor

@sethah sethah commented Mar 24, 2016

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.

@SparkQA
Copy link

SparkQA commented Mar 24, 2016

Test build #54084 has finished for PR 11944 at commit 0d1b442.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Mar 25, 2016
## 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.

Author: sethah <[email protected]>

Closes #11944 from sethah/SPARK-14107.

(cherry picked from commit 5850977)
Signed-off-by: Xiangrui Meng <[email protected]>
@mengxr
Copy link
Contributor

mengxr commented Mar 25, 2016

LGTM. Merged into master and branch-1.6. Thanks!

@asfgit asfgit closed this in 5850977 Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants