diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2015-05-19 10:57:47 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-05-19 10:57:54 -0700 |
commit | cd3093e705b184df1291cd8f03331a9618993693 (patch) | |
tree | c872ab98da643177be34a2a05a9a68047d0b7fbe /repl | |
parent | 24cb323e767a342496cf24e0d06398b5af38ac80 (diff) | |
download | spark-cd3093e705b184df1291cd8f03331a9618993693.tar.gz spark-cd3093e705b184df1291cd8f03331a9618993693.tar.bz2 spark-cd3093e705b184df1291cd8f03331a9618993693.zip |
[SPARK-7678] [ML] Fix default random seed in HasSeed
Changed shared param HasSeed to have default based on hashCode of class name, instead of random number.
Also, removed fixed random seeds from Word2Vec and ALS.
CC: mengxr
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #6251 from jkbradley/scala-fixed-seed and squashes the following commits:
0e37184 [Joseph K. Bradley] Fixed Word2VecSuite, ALSSuite in spark.ml to use original fixed random seeds
678ec3a [Joseph K. Bradley] Removed fixed random seeds from Word2Vec and ALS. Changed shared param HasSeed to have default based on hashCode of class name, instead of random number.
(cherry picked from commit 7b16e9f2118fbfbb1c0ba957161fe500c9aff82a)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'repl')
0 files changed, 0 insertions, 0 deletions