diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-05-11 10:01:43 +0200 |
---|---|---|
committer | Nick Pentreath <nickp@za.ibm.com> | 2016-05-11 10:01:43 +0200 |
commit | 8beae59144827d81491eed385dc2aa6aedd6a7b4 (patch) | |
tree | 1905c4caa10c9f432262272e120a948772a2846f /streaming | |
parent | cef73b563864d5f8aa1b26e31e3b9af6f0a08a5d (diff) | |
download | spark-8beae59144827d81491eed385dc2aa6aedd6a7b4.tar.gz spark-8beae59144827d81491eed385dc2aa6aedd6a7b4.tar.bz2 spark-8beae59144827d81491eed385dc2aa6aedd6a7b4.zip |
[SPARK-15149][EXAMPLE][DOC] update kmeans example
## What changes were proposed in this pull request?
Python example for ml.kmeans already exists, but not included in user guide.
1,small changes like: `example_on` `example_off`
2,add it to user guide
3,update examples to directly read datafile
## How was this patch tested?
manual tests
`./bin/spark-submit examples/src/main/python/ml/kmeans_example.py
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #12925 from zhengruifeng/km_pe.
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions