diff options
author | Yanbo Liang <ybliang8@gmail.com> | 2016-04-13 13:23:10 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2016-04-13 13:23:10 -0700 |
commit | a91aaf5a8cca18811c0cccc20f4e77f36231b344 (patch) | |
tree | 52ba43674f88ad8f5eb17021e0b15fe75696d4c2 /docs/ml-features.md | |
parent | 0d17593b32c12c3e39575430aa85cf20e56fae6a (diff) | |
download | spark-a91aaf5a8cca18811c0cccc20f4e77f36231b344.tar.gz spark-a91aaf5a8cca18811c0cccc20f4e77f36231b344.tar.bz2 spark-a91aaf5a8cca18811c0cccc20f4e77f36231b344.zip |
[SPARK-14375][ML] Unit test for spark.ml KMeansSummary
## What changes were proposed in this pull request?
* Modify ```KMeansSummary.clusterSizes``` method to make it robust to empty clusters.
* Add unit test for spark.ml ```KMeansSummary```.
* Add Since tag.
## How was this patch tested?
unit tests.
cc jkbradley
Author: Yanbo Liang <ybliang8@gmail.com>
Closes #12254 from yanboliang/spark-14375.
Diffstat (limited to 'docs/ml-features.md')
0 files changed, 0 insertions, 0 deletions