diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2015-01-09 13:00:15 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-01-09 13:00:15 -0800 |
commit | 7e8e62aec11c43c983055adc475b96006412199a (patch) | |
tree | e6d84d6bcea44178f01d9e810a236e49632dcbc4 /docs | |
parent | 454fe129ee97b859bf079db8b9158e115a219ad5 (diff) | |
download | spark-7e8e62aec11c43c983055adc475b96006412199a.tar.gz spark-7e8e62aec11c43c983055adc475b96006412199a.tar.bz2 spark-7e8e62aec11c43c983055adc475b96006412199a.zip |
[SPARK-5015] [mllib] Random seed for GMM + make test suite deterministic
Issues:
* From JIRA: GaussianMixtureEM uses randomness but does not take a random seed. It should take one as a parameter.
* This also makes the test suite flaky since initialization can fail due to stochasticity.
Fix:
* Add random seed
* Use it in test suite
CC: mengxr tgaloppo
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #3981 from jkbradley/gmm-seed and squashes the following commits:
f0df4fd [Joseph K. Bradley] Added seed parameter to GMM. Updated test suite to use seed to prevent flakiness
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions