diff options
author | Burak <brkyvz@gmail.com> | 2014-08-01 22:32:12 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-08-01 22:32:12 -0700 |
commit | fda475987f3b8b37d563033b0e45706ce433824a (patch) | |
tree | 9dcf73fdbb7e7deb47419efbac387c3fc7ca27ff /python/pyspark/tests.py | |
parent | e25ec06171e3ba95920cbfe9df3cd3d990f1a3a3 (diff) | |
download | spark-fda475987f3b8b37d563033b0e45706ce433824a.tar.gz spark-fda475987f3b8b37d563033b0e45706ce433824a.tar.bz2 spark-fda475987f3b8b37d563033b0e45706ce433824a.zip |
[SPARK-2801][MLlib]: DistributionGenerator renamed to RandomDataGenerator. RandomRDD is now of generic type
The RandomRDDGenerators used to only output RDD[Double].
Now RandomRDDGenerators.randomRDD can be used to generate a random RDD[T] via a class that extends RandomDataGenerator, by supplying a type T and overriding the nextValue() function as they wish.
Author: Burak <brkyvz@gmail.com>
Closes #1732 from brkyvz/SPARK-2801 and squashes the following commits:
c94a694 [Burak] [SPARK-2801][MLlib] Missing ClassTags added
22d96fe [Burak] [SPARK-2801][MLlib]: DistributionGenerator renamed to RandomDataGenerator, generic types added for RandomRDD instead of Double
Diffstat (limited to 'python/pyspark/tests.py')
0 files changed, 0 insertions, 0 deletions