Skip to content
Snippets Groups Projects
Commit d4a637cd authored by zero323's avatar zero323 Committed by Joseph K. Bradley
Browse files

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

Author: zero323 <zero323@users.noreply.github.com>

Closes #17283 from zero323/SPARK-19940.
parent 5e96a57b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment