diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-04-13 13:56:23 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2016-04-13 13:56:23 -0700 |
commit | fcdd69260ec75c180f4d727ff2625ca9bf0bdad7 (patch) | |
tree | 4a45353bb6e72388c0c310231bd6ad2765768404 /docs/ml-features.md | |
parent | a91aaf5a8cca18811c0cccc20f4e77f36231b344 (diff) | |
download | spark-fcdd69260ec75c180f4d727ff2625ca9bf0bdad7.tar.gz spark-fcdd69260ec75c180f4d727ff2625ca9bf0bdad7.tar.bz2 spark-fcdd69260ec75c180f4d727ff2625ca9bf0bdad7.zip |
[SPARK-14509][DOC] Add python CountVectorizerExample
## What changes were proposed in this pull request?
Add python CountVectorizerExample
## How was this patch tested?
manual tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #11917 from zhengruifeng/cv_pe.
Diffstat (limited to 'docs/ml-features.md')
-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 5cc27d3565..70812eb5e2 100644 --- a/docs/ml-features.md +++ b/docs/ml-features.md @@ -149,6 +149,15 @@ for more details on the API. {% include_example java/org/apache/spark/examples/ml/JavaCountVectorizerExample.java %} </div> + +<div data-lang="python" markdown="1"> + +Refer to the [CountVectorizer Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.CountVectorizer) +and the [CountVectorizerModel Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.CountVectorizerModel) +for more details on the API. + +{% include_example python/ml/count_vectorizer_example.py %} +</div> </div> # Feature Transformers |