diff options
author | Xiangrui Meng <meng@databricks.com> | 2014-02-26 23:22:30 -0800 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-02-26 23:22:30 -0800 |
commit | 5a3ad107c01dbc09cd144376ca808125ee821093 (patch) | |
tree | b178e8444a595c6a71b5fa7c41f37ba9440f1a81 /docs | |
parent | 71f69d66ce50991e99408791ade25a670598d32a (diff) | |
download | spark-5a3ad107c01dbc09cd144376ca808125ee821093.tar.gz spark-5a3ad107c01dbc09cd144376ca808125ee821093.tar.bz2 spark-5a3ad107c01dbc09cd144376ca808125ee821093.zip |
SPARK-1129: use a predefined seed when seed is zero in XORShiftRandom
If the seed is zero, XORShift generates all zeros, which would create unexpected result.
JIRA: https://spark-project.atlassian.net/browse/SPARK-1129
Author: Xiangrui Meng <meng@databricks.com>
Closes #645 from mengxr/xor and squashes the following commits:
1b086ab [Xiangrui Meng] use MurmurHash3 to set seed in XORShiftRandom
45c6f16 [Xiangrui Meng] minor style change
51f4050 [Xiangrui Meng] use a predefined seed when seed is zero in XORShiftRandom
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions