aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-features.md
diff options
context:
space:
mode:
authorZheng RuiFeng <ruifengz@foxmail.com>2016-04-18 17:14:22 -0700
committerJoseph K. Bradley <joseph@databricks.com>2016-04-18 17:14:22 -0700
commit9bfb35da1ec40af005cd9e4dac61a5c70f3e3d17 (patch)
treef33541388873dbcacf3fab73bfc330e4be2d7b69 /docs/ml-features.md
parent602734084c05a79c18446a3c2c051740dba143b3 (diff)
downloadspark-9bfb35da1ec40af005cd9e4dac61a5c70f3e3d17.tar.gz
spark-9bfb35da1ec40af005cd9e4dac61a5c70f3e3d17.tar.bz2
spark-9bfb35da1ec40af005cd9e4dac61a5c70f3e3d17.zip
[SPARK-14515][DOC] Add python example for ChiSqSelector
## What changes were proposed in this pull request? Add the missing python example for ChiSqSelector ## How was this patch tested? manual tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #12283 from zhengruifeng/chi2_pe.
Diffstat (limited to 'docs/ml-features.md')
-rw-r--r--docs/ml-features.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ml-features.md b/docs/ml-features.md
index 70812eb5e2..876d21f495 100644
--- a/docs/ml-features.md
+++ b/docs/ml-features.md
@@ -1303,4 +1303,12 @@ for more details on the API.
{% include_example java/org/apache/spark/examples/ml/JavaChiSqSelectorExample.java %}
</div>
+
+<div data-lang="python" markdown="1">
+
+Refer to the [ChiSqSelector Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.ChiSqSelector)
+for more details on the API.
+
+{% include_example python/ml/chisq_selector_example.py %}
+</div>
</div>