GitHub user jackylk opened a pull request:

    https://github.com/apache/spark/pull/4340

    [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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jackylk/spark SPARK-5520-WIP

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4340.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4340
    
----
commit 7783351736bd3a6d766ab44a9c2a19e6d5411d74
Author: Jacky Li <jacky.li...@huawei.com>
Date:   2015-02-03T16:54:41Z

    add generic support in FPGrowth

commit 793f85c131eade9b58a94655f318f1a00a7f2d9f
Author: Jacky Li <jacky.li...@huawei.com>
Date:   2015-02-03T17:01:12Z

    add Java test case

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to