-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-14772][PYTHON][ML] Fixed Params.copy method to match Scala implementation #16772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-14772][PYTHON][ML] Fixed Params.copy method to match Scala implementation #16772
Conversation
|
Ping @holdenk @jkbradley , please take a look when you get a chance - thanks! |
|
Let me try and take a look tomorrow - I'm in transit today. |
|
Test build #72263 has finished for PR 16772 at commit
|
|
Test build #72270 has finished for PR 16772 at commit
|
c25c127 to
ce59d74
Compare
|
Test build #72271 has finished for PR 16772 at commit
|
|
ping @holdenk - mind taking a look? |
|
LGTM @BryanCutler would you mind sending a backport PR against branch-2.1 to run Jenkins tests? Thank you! |
|
well...will merge after new tests |
|
jenkins test this please |
|
Test build #3581 has finished for PR 16772 at commit
|
|
OK merging now. @BryanCutler do let me know if you don't have time to send a backport--thanks! |
|
Test build #73383 has finished for PR 16772 at commit
|
|
Thanks @jkbradley! I'll do a backport later tonight
On Feb 23, 2017 6:09 PM, "asfgit" <[email protected]> wrote:
Closed #16772 <#16772> via 2f69e3f
<2f69e3f>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16772 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AEUwdTNi511olIIv6OnLjBdjru4DCVyoks5rfjvAgaJpZM4L0hqD>
.
|
…lementation ## What changes were proposed in this pull request? Fixed the PySpark Params.copy method to behave like the Scala implementation. The main issue was that it did not account for the _defaultParamMap and merged it into the explicitly created param map. ## How was this patch tested? Added new unit test to verify the copy method behaves correctly for copying uid, explicitly created params, and default params. Author: Bryan Cutler <[email protected]> Closes apache#16772 from BryanCutler/pyspark-ml-param_copy-Scala_sync-SPARK-14772.
What changes were proposed in this pull request?
Fixed the PySpark Params.copy method to behave like the Scala implementation. The main issue was that it did not account for the _defaultParamMap and merged it into the explicitly created param map.
How was this patch tested?
Added new unit test to verify the copy method behaves correctly for copying uid, explicitly created params, and default params.