aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-features.md
diff options
context:
space:
mode:
authorZheng RuiFeng <ruifengz@foxmail.com>2016-05-06 10:47:13 -0700
committerDavies Liu <davies.liu@gmail.com>2016-05-06 10:47:13 -0700
commit76ad04d9a0a7d4dfb762318d9c7be0d7720f4e1a (patch)
tree4aa03e2e1a2fb45eaf60ddb744551215780f01a9 /docs/ml-features.md
parentfa928ff9a3c1de5d5aff9d14e6bc1bd03fcca087 (diff)
downloadspark-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/ml-features.md')
-rw-r--r--docs/ml-features.md9
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