Skip to content

[SPARK-19899][ML] Replace featuresCol with itemsCol in ml.fpm.FPGrowth #17321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

zero323
Copy link
Member

@zero323 zero323 commented Mar 16, 2017

What changes were proposed in this pull request?

Replaces featuresCol Param with itemsCol. See SPARK-19899.

How was this patch tested?

Manual tests. Existing unit tests.

@SparkQA
Copy link

SparkQA commented Mar 16, 2017

Test build #74684 has finished for PR 17321 at commit 77bf12d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

* Default: "items"
* @group param
*/
@Since("2.2.0")
Copy link
Contributor

@MLnick MLnick Mar 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We normally don't annotate in traits since later things may be overridden by concrete implementers. Although I do see a few places where it is done...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FPGrowthParams has been annotated before so I decided to make it consistent. I can remove annotation here, but then we should probably follow through and remove the rest.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's OK to have it here. Only FPGrowth and FPGrowthModel will ever inherit from FPGrowthParams.

@jkbradley
Copy link
Member

LGTM
Thanks for the PR!
Merging with master

@asfgit asfgit closed this in bec6b16 Mar 20, 2017
@zero323
Copy link
Member Author

zero323 commented Mar 21, 2017

Thanks @jkbradley

@zero323 zero323 deleted the SPARK-19899 branch April 6, 2017 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants