-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-14512][DOC] Add python example for QuantileDiscretizer #12281
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
Conversation
|
Test build #55463 has finished for PR 12281 at commit
|
|
Looks good to me, confirmed the example runs as expected. |
|
cc @davies ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples have been updated to use SparkSession, see e.g. https://github.com/apache/spark/blob/master/examples/src/main/python/ml/binarizer_example.py.
Also, there is a PR to indent the builder pattern #12911 so you should follow that style (also refer #12809)
|
@zhengruifeng sorry for the delay. The core of the example looks good, it just now needs to be updated to use |
|
@MLnick Updated. Thanks for review this. |
|
Test build #57882 has finished for PR 12281 at commit
|
|
LGTM. Thanks! |
|
Merging this into master and 2.0, thanks! |
## What changes were proposed in this pull request? Add the missing python example for QuantileDiscretizer ## How was this patch tested? manual tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #12281 from zhengruifeng/discret_pe. (cherry picked from commit 76ad04d) Signed-off-by: Davies Liu <davies.liu@gmail.com>
What changes were proposed in this pull request?
Add the missing python example for QuantileDiscretizer
How was this patch tested?
manual tests