Skip to content

[SPARK-6761][SQL][ML] Fixes to API and documentation of approximate quantiles#11325

Closed
thunterdb wants to merge 3 commits intoapache:masterfrom
thunterdb:spark-6761c
Closed

[SPARK-6761][SQL][ML] Fixes to API and documentation of approximate quantiles#11325
thunterdb wants to merge 3 commits intoapache:masterfrom
thunterdb:spark-6761c

Conversation

@thunterdb
Copy link
Contributor

What changes were proposed in this pull request?

This PR addresses the remaining comments from @mengxr in #6042

  • fixes to the API
  • more tests
  • cleanups and more documentation in the implementation

How was the this patch tested?

This test passes the comprehensive test suite of the approximate quantiles, and adds more tests for the public API.

@mengxr
Copy link
Contributor

mengxr commented Feb 23, 2016

test this please

* Note on the target error:
*
* The result of this algorithm has the following deterministic bound:
* if the DataFrame has N elements and if we request the quantile `phi` up to error `epsi`,
Copy link
Contributor

Choose a reason for hiding this comment

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

"the quantile corresponding to probability phi"

@SparkQA
Copy link

SparkQA commented Feb 23, 2016

Test build #51778 has finished for PR 11325 at commit 9243278.

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

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