diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-05-06 10:47:13 -0700 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-05-06 10:47:13 -0700 |
commit | 76ad04d9a0a7d4dfb762318d9c7be0d7720f4e1a (patch) | |
tree | 4aa03e2e1a2fb45eaf60ddb744551215780f01a9 /docs | |
parent | fa928ff9a3c1de5d5aff9d14e6bc1bd03fcca087 (diff) | |
download | spark-76ad04d9a0a7d4dfb762318d9c7be0d7720f4e1a.tar.gz spark-76ad04d9a0a7d4dfb762318d9c7be0d7720f4e1a.tar.bz2 spark-76ad04d9a0a7d4dfb762318d9c7be0d7720f4e1a.zip |
[SPARK-14512] [DOC] Add python example for QuantileDiscretizer
## 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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ml-features.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ml-features.md b/docs/ml-features.md index 0b8f2d773c..237e93ae90 100644 --- a/docs/ml-features.md +++ b/docs/ml-features.md @@ -1118,6 +1118,15 @@ for more details on the API. {% include_example java/org/apache/spark/examples/ml/JavaQuantileDiscretizerExample.java %} </div> + +<div data-lang="python" markdown="1"> + +Refer to the [QuantileDiscretizer Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.QuantileDiscretizer) +for more details on the API. + +{% include_example python/ml/quantile_discretizer_example.py %} +</div> + </div> # Feature Selectors |