From e88476c8c6a74a92eb70b4bda8394936e0036729 Mon Sep 17 00:00:00 2001 From: Zheng RuiFeng Date: Tue, 26 Apr 2016 14:38:29 -0700 Subject: [SPARK-14514][DOC] Add python example for VectorSlicer ## What changes were proposed in this pull request? Add the missing python example for VectorSlicer ## How was this patch tested? manual tests Author: Zheng RuiFeng Closes #12282 from zhengruifeng/vecslicer_pe. --- docs/ml-features.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/ml-features.md') diff --git a/docs/ml-features.md b/docs/ml-features.md index 11d5acbb10..0b8f2d773c 100644 --- a/docs/ml-features.md +++ b/docs/ml-features.md @@ -1191,6 +1191,14 @@ for more details on the API. {% include_example java/org/apache/spark/examples/ml/JavaVectorSlicerExample.java %} + +
+ +Refer to the [VectorSlicer Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.VectorSlicer) +for more details on the API. + +{% include_example python/ml/vector_slicer_example.py %} +
## RFormula -- cgit v1.2.3