diff options
author | Nick Pentreath <nickp@za.ibm.com> | 2016-05-24 10:02:10 +0200 |
---|---|---|
committer | Nick Pentreath <nickp@za.ibm.com> | 2016-05-24 10:02:10 +0200 |
commit | 6075f5b4d8e98483d26c31576f58e2229024b4f4 (patch) | |
tree | b49308cd5da2fb5ab3ffe80546887016b6a794cd /dev/deps/spark-deps-hadoop-2.3 | |
parent | d642b273544bb77ef7f584326aa2d214649ac61b (diff) | |
download | spark-6075f5b4d8e98483d26c31576f58e2229024b4f4.tar.gz spark-6075f5b4d8e98483d26c31576f58e2229024b4f4.tar.bz2 spark-6075f5b4d8e98483d26c31576f58e2229024b4f4.zip |
[SPARK-15442][ML][PYSPARK] Add 'relativeError' param to PySpark QuantileDiscretizer
This PR adds the `relativeError` param to PySpark's `QuantileDiscretizer` to match Scala.
Also cleaned up a duplication of `numBuckets` where the param is both a class and instance attribute (I removed the instance attr to match the style of params throughout `ml`).
Finally, cleaned up the docs for `QuantileDiscretizer` to reflect that it now uses `approxQuantile`.
## How was this patch tested?
A little doctest and built API docs locally to check HTML doc generation.
Author: Nick Pentreath <nickp@za.ibm.com>
Closes #13228 from MLnick/SPARK-15442-py-relerror-param.
Diffstat (limited to 'dev/deps/spark-deps-hadoop-2.3')
0 files changed, 0 insertions, 0 deletions