Skip to content

[SPARK-19590][pyspark][ML] Update the document for QuantileDiscretizer in pyspark - #16922

Closed
VinceShieh wants to merge 2 commits into
apache:masterfrom
VinceShieh:spark-19590
Closed

[SPARK-19590][pyspark][ML] Update the document for QuantileDiscretizer in pyspark#16922
VinceShieh wants to merge 2 commits into
apache:masterfrom
VinceShieh:spark-19590

Conversation

@VinceShieh

Copy link
Copy Markdown

What changes were proposed in this pull request?

This PR is to document the changes on QuantileDiscretizer in pyspark for PR:
#15428

How was this patch tested?

No test needed

Signed-off-by: VinceShieh vincent.xie@intel.com

@VinceShiehVinceShieh changed the title [SPARK-19590][pyspark][ML] update the document for QuantileDiscretize…[SPARK-19590][pyspark][ML] Update the document for QuantileDiscretizer in pysparkFeb 14, 2017
@SparkQA

Copy link
Copy Markdown

Test build #72850 has finished for PR 16922 at commit 25bdc0f.

  • This patch fails Python style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA

Copy link
Copy Markdown

Test build #72851 has finished for PR 16922 at commit 9ce7cb8.

  • This patch fails Python style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

…r in pyspark
This PR is to document the change on QuantileDiscretizer in pyspark for PR:
apache#15428
Signed-off-by: VinceShieh <vincent.xie@intel.com>
@SparkQA

Copy link
Copy Markdown

Test build #72852 has finished for PR 16922 at commit c5e46fb.

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

@holdenkholdenk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for following through and updating the Python documentation as well :) One minor question :)

Comment threadpython/pyspark/ml/feature.py Outdated
NaN handling: Note also that
QuantileDiscretizer will raise an error when it finds NaN values in the dataset, but the user
can also choose to either keep or remove NaN values within the dataset by setting
`handleInvalid`. If the user chooses to keep NaN values, they will be handled specially and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we maybe link this with a py attr like we did with numBuckets?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, sure. Thanks for pointing that out... ;)

Signed-off-by: VinceShieh <vincent.xie@intel.com>
@SparkQA

Copy link
Copy Markdown

Test build #72908 has finished for PR 16922 at commit 56e708f.

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

@holdenk

Copy link
Copy Markdown
Contributor

Thanks for doing the follow up Python work, merged to master :)

cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 16, 2017
…r in pyspark
## What changes were proposed in this pull request?
This PR is to document the changes on QuantileDiscretizer in pyspark for PR:
apache#15428
## How was this patch tested?
No test needed
Signed-off-by: VinceShieh <vincent.xieintel.com>
Author: VinceShieh <vincent.xie@intel.com>
Closesapache#16922 from VinceShieh/spark-19590.
Sign up for freeto 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

@VinceShieh@SparkQA@holdenk