Skip to content

Conversation

@huaxingao
Copy link
Contributor

What changes were proposed in this pull request?

make FMClassifier/Regressor call super class method extractLabeledPoints

Why are the changes needed?

code reuse

Does this PR introduce any user-facing change?

No

How was this patch tested?

existing tests

@SparkQA
Copy link

SparkQA commented Jan 3, 2020

Test build #116103 has finished for PR 27093 at commit 6895c67.

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

s" FMClassifier currently only supports binary classification.")
(label, features)
}
val labeledPoint = extractLabeledPoints (dataset, numClasses)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: remove extra space before method call

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed. Thanks!

@SparkQA
Copy link

SparkQA commented Jan 5, 2020

Test build #116116 has finished for PR 27093 at commit b0c01c4.

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

@srowen srowen closed this in b3b2868 Jan 6, 2020
@srowen
Copy link
Member

srowen commented Jan 6, 2020

Merged to master

@huaxingao
Copy link
Contributor Author

Thank you Sean!

@huaxingao huaxingao deleted the spark-FM branch January 6, 2020 03:07
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.

3 participants