aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorTimothy Hunter <timhunter@databricks.com>2016-02-23 15:31:17 -0800
committerXiangrui Meng <meng@databricks.com>2016-02-23 15:31:17 -0800
commit15e30155631d52e35ab8522584027ab350e5acb3 (patch)
treef7678f8ba2c87de7900806fdb8531b474b3f0a2d /R
parent9cdd867da978629ea2f61f94e3c346fa0bfecf0e (diff)
downloadspark-15e30155631d52e35ab8522584027ab350e5acb3.tar.gz
spark-15e30155631d52e35ab8522584027ab350e5acb3.tar.bz2
spark-15e30155631d52e35ab8522584027ab350e5acb3.zip
[SPARK-6761][SQL][ML] Fixes to API and documentation of approximate quantiles
## What changes were proposed in this pull request? This continues thunterdb 's work on `approxQuantile` API. It changes the signature of `approxQuantile` from `(col: String, quantile: Double, epsilon: Double): Double` to `(col: String, probabilities: Array[Double], relativeError: Double): Array[Double]` and update API doc. It also improves the error message in tests and simplifies the merge algorithm for summaries. ## How was the this patch tested? Use the same unit tests as before. Closes #11325 Author: Timothy Hunter <timhunter@databricks.com> Author: Xiangrui Meng <meng@databricks.com> Closes #11332 from mengxr/SPARK-6761.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions