diff options
author | Jacky Li <jacky.likun@huawei.com> | 2015-02-03 17:02:42 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-02-03 17:02:42 -0800 |
commit | e380d2d46c92b319eafe30974ac7c1509081fca4 (patch) | |
tree | 687991ded2c9e13324585d8160397fc89ca75478 /graphx | |
parent | 068c0e2ee05ee8b133c2dc26b8fa094ab2712d45 (diff) | |
download | spark-e380d2d46c92b319eafe30974ac7c1509081fca4.tar.gz spark-e380d2d46c92b319eafe30974ac7c1509081fca4.tar.bz2 spark-e380d2d46c92b319eafe30974ac7c1509081fca4.zip |
[SPARK-5520][MLlib] Make FP-Growth implementation take generic item types (WIP)
Make FPGrowth.run API take generic item types:
`def run[Item: ClassTag, Basket <: Iterable[Item]](data: RDD[Basket]): FPGrowthModel[Item]`
so that user can invoke it by run[String, Seq[String]], run[Int, Seq[Int]], run[Int, List[Int]], etc.
Scala part is done, while java part is still in progress
Author: Jacky Li <jacky.likun@huawei.com>
Author: Jacky Li <jackylk@users.noreply.github.com>
Author: Xiangrui Meng <meng@databricks.com>
Closes #4340 from jackylk/SPARK-5520-WIP and squashes the following commits:
f5acf84 [Jacky Li] Merge pull request #2 from mengxr/SPARK-5520
63073d0 [Xiangrui Meng] update to make generic FPGrowth Java-friendly
737d8bb [Jacky Li] fix scalastyle
793f85c [Jacky Li] add Java test case
7783351 [Jacky Li] add generic support in FPGrowth
Diffstat (limited to 'graphx')
0 files changed, 0 insertions, 0 deletions