Skip to content
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

[SPARK-30819][SPARKR][ML] Add FMRegressor wrapper to SparkR #27571

Closed
wants to merge 1 commit into from

Conversation

zero323
Copy link
Member

@zero323 zero323 commented Feb 13, 2020

What changes were proposed in this pull request?

This pull request adds SparkR wrapper for FMRegressor:

  • Supporting org.apache.spark.ml.r.FMRegressorWrapper.
  • FMRegressionModel S4 class.
  • Corresponding spark.fmRegressor, predict, summary and write.ml generics.
  • Corresponding docs and tests.

Why are the changes needed?

Feature parity.

Does this PR introduce any user-facing change?

No (new API).

How was this patch tested?

New unit tests.

@SparkQA
Copy link

SparkQA commented Feb 13, 2020

Test build #118381 has finished for PR 27571 at commit 55f6761.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class FMRegressorWrapperWriter(instance: FMRegressorWrapper) extends MLWriter
  • class FMRegressorWrapperReader extends MLReader[FMRegressorWrapper]

@SparkQA
Copy link

SparkQA commented Feb 14, 2020

Test build #118382 has finished for PR 27571 at commit 9639e14.

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

@zero323
Copy link
Member Author

zero323 commented Feb 14, 2020

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Feb 14, 2020

Test build #118424 has finished for PR 27571 at commit 9639e14.

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

@SparkQA
Copy link

SparkQA commented Feb 14, 2020

Test build #118444 has finished for PR 27571 at commit 26aae37.

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

@SparkQA
Copy link

SparkQA commented Feb 16, 2020

Test build #118484 has finished for PR 27571 at commit 6093e03.

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

R/pkg/R/mllib_regression.R Show resolved Hide resolved
R/pkg/R/mllib_regression.R Outdated Show resolved Hide resolved
R/pkg/R/mllib_regression.R Show resolved Hide resolved
R/pkg/R/mllib_regression.R Show resolved Hide resolved
R/pkg/R/mllib_regression.R Show resolved Hide resolved
examples/src/main/r/ml/fmRegressor.R Outdated Show resolved Hide resolved
examples/src/main/r/ml/fmRegressor.R Outdated Show resolved Hide resolved
examples/src/main/r/ml/fmRegressor.R Show resolved Hide resolved
@zero323
Copy link
Member Author

zero323 commented Feb 16, 2020

Thanks for the reviews @huaxingao!

@SparkQA
Copy link

SparkQA commented Feb 16, 2020

Test build #118499 has finished for PR 27571 at commit c0127e0.

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

@SparkQA
Copy link

SparkQA commented Feb 23, 2020

Test build #118823 has finished for PR 27571 at commit 19e6126.

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

@SparkQA
Copy link

SparkQA commented Feb 23, 2020

Test build #118831 has finished for PR 27571 at commit 1228f63.

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

@SparkQA
Copy link

SparkQA commented Mar 3, 2020

Test build #119240 has finished for PR 27571 at commit 4c5b2a5.

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

@zero323
Copy link
Member Author

zero323 commented Mar 3, 2020

Retest this please.

@SparkQA
Copy link

SparkQA commented Mar 3, 2020

Test build #119254 has finished for PR 27571 at commit 4c5b2a5.

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

@zero323 zero323 closed this Mar 4, 2020
@zero323 zero323 reopened this Mar 4, 2020
@SparkQA
Copy link

SparkQA commented Mar 4, 2020

Test build #119331 has finished for PR 27571 at commit 22b9ae5.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zero323
Copy link
Member Author

zero323 commented Mar 4, 2020

Retest this please.

@SparkQA
Copy link

SparkQA commented Mar 4, 2020

Test build #119341 has finished for PR 27571 at commit 22b9ae5.

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

@SparkQA
Copy link

SparkQA commented Mar 8, 2020

Test build #119524 has finished for PR 27571 at commit 0adb2cf.

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

@SparkQA
Copy link

SparkQA commented Mar 8, 2020

Test build #119540 has finished for PR 27571 at commit e5f617d.

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

@SparkQA
Copy link

SparkQA commented Mar 8, 2020

Test build #119544 has finished for PR 27571 at commit 82b99c1.

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

@srowen
Copy link
Member

srowen commented Apr 7, 2020

@zero323 I imagine this one is good to go too but now has a merge conflict, b/c FMClassifier was merged

@SparkQA
Copy link

SparkQA commented Apr 7, 2020

Test build #120920 has finished for PR 27571 at commit 7875539.

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

@SparkQA
Copy link

SparkQA commented Apr 7, 2020

Test build #120925 has finished for PR 27571 at commit 7875539.

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

@huaxingao
Copy link
Contributor

LGTM except a few minor comments.

@SparkQA
Copy link

SparkQA commented Apr 9, 2020

Test build #121001 has finished for PR 27571 at commit cb7ec6a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class FMRegressorWrapperWriter(instance: FMRegressorWrapper) extends MLWriter
  • class FMRegressorWrapperReader extends MLReader[FMRegressorWrapper]

@SparkQA
Copy link

SparkQA commented Apr 9, 2020

Test build #121002 has finished for PR 27571 at commit 2d1f8b1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class FMRegressorWrapperWriter(instance: FMRegressorWrapper) extends MLWriter
  • class FMRegressorWrapperReader extends MLReader[FMRegressorWrapper]

@srowen
Copy link
Member

srowen commented Apr 10, 2020

merged to master

@srowen srowen closed this in 697fe91 Apr 10, 2020
@zero323
Copy link
Member Author

zero323 commented Apr 10, 2020

Thanks @huaxingao @srowen!

@zero323 zero323 deleted the SPARK-30819 branch April 10, 2020 01:51
sjincho pushed a commit to sjincho/spark that referenced this pull request Apr 15, 2020
### What changes were proposed in this pull request?

This pull request adds SparkR wrapper for `FMRegressor`:

- Supporting ` org.apache.spark.ml.r.FMRegressorWrapper`.
- `FMRegressionModel` S4 class.
- Corresponding `spark.fmRegressor`, `predict`, `summary` and `write.ml` generics.
- Corresponding docs and tests.

### Why are the changes needed?

Feature parity.

### Does this PR introduce any user-facing change?

No (new API).

### How was this patch tested?

New unit tests.

Closes apache#27571 from zero323/SPARK-30819.

Authored-by: zero323 <mszymkiewicz@gmail.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants