GitHub user zero323 opened a pull request:

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

    [SPARK-19940][ML][MINOR] FPGrowthModel.transform should skip duplicated 
items

    ## What changes were proposed in this pull request?
    
    This commit moved `distinct` in its intended place to avoid duplicated 
predictions and adds unit test covering the issue.
    
    ## How was this patch tested?
    
    Unit tests.

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

    $ git pull https://github.com/zero323/spark SPARK-19940

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

    https://github.com/apache/spark/pull/17283.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 #17283
    
----
commit 61830931e6c5f2dd6e774781d737b42329a0a52f
Author: zero323 <zero...@users.noreply.github.com>
Date:   2017-03-13T22:50:56Z

    Put distinct in the right place

----


---
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