diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-05-11 09:56:36 +0200 |
---|---|---|
committer | Nick Pentreath <nickp@za.ibm.com> | 2016-05-11 09:56:36 +0200 |
commit | cef73b563864d5f8aa1b26e31e3b9af6f0a08a5d (patch) | |
tree | 425fd9da8e73e5a31fbb0e46be206692c23f64f0 /data/mllib/sample_kmeans_data.txt | |
parent | ad1a8466e9c10fbe8b455dba17b16973f92ebc15 (diff) | |
download | spark-cef73b563864d5f8aa1b26e31e3b9af6f0a08a5d.tar.gz spark-cef73b563864d5f8aa1b26e31e3b9af6f0a08a5d.tar.bz2 spark-cef73b563864d5f8aa1b26e31e3b9af6f0a08a5d.zip |
[SPARK-14340][EXAMPLE][DOC] Update Examples and User Guide for ml.BisectingKMeans
## What changes were proposed in this pull request?
1, add BisectingKMeans to ml-clustering.md
2, add the missing Scala BisectingKMeansExample
3, create a new datafile `data/mllib/sample_kmeans_data.txt`
## How was this patch tested?
manual tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #11844 from zhengruifeng/doc_bkm.
Diffstat (limited to 'data/mllib/sample_kmeans_data.txt')
-rw-r--r-- | data/mllib/sample_kmeans_data.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/mllib/sample_kmeans_data.txt b/data/mllib/sample_kmeans_data.txt new file mode 100644 index 0000000000..50013776b1 --- /dev/null +++ b/data/mllib/sample_kmeans_data.txt @@ -0,0 +1,6 @@ +0 1:0.0 2:0.0 3:0.0 +1 1:0.1 2:0.1 3:0.1 +2 1:0.2 2:0.2 3:0.2 +3 1:9.0 2:9.0 3:9.0 +4 1:9.1 2:9.1 3:9.1 +5 1:9.2 2:9.2 3:9.2 |