Skip to content

[SPARK-30776][ML][FOLLOWUP] FValue clean up#27922

Closed
zhengruifeng wants to merge 2 commits intoapache:masterfrom
zhengruifeng:test_cleanup
Closed

[SPARK-30776][ML][FOLLOWUP] FValue clean up#27922
zhengruifeng wants to merge 2 commits intoapache:masterfrom
zhengruifeng:test_cleanup

Conversation

@zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Mar 16, 2020

What changes were proposed in this pull request?

remove unused variables;

Why are the changes needed?

remove unused variables;

Does this PR introduce any user-facing change?

No

How was this patch tested?

existing testsuites

init

init
test("Test FValue selector: numTopFeatures") {
val selector = new FValueSelector()
.setOutputCol("filtered").setSelectorType("numTopFeatures").setNumTopFeatures(1)
val model = selector.fit(dataset)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

model here is never used, and a model will be fitted in following testSelector

@SparkQA
Copy link

SparkQA commented Mar 16, 2020

Test build #119835 has finished for PR 27922 at commit f3df900.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zhengruifeng
Copy link
Contributor Author

retest this please

@huaxingao
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Mar 16, 2020

Test build #119844 has finished for PR 27922 at commit f3df900.

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

@SparkQA
Copy link

SparkQA commented Mar 16, 2020

Test build #119850 has finished for PR 27922 at commit e41d3df.

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

@zhengruifeng
Copy link
Contributor Author

Merged to master, thanks all

@zhengruifeng zhengruifeng deleted the test_cleanup branch March 17, 2020 03:29
sjincho pushed a commit to sjincho/spark that referenced this pull request Apr 15, 2020
### What changes were proposed in this pull request?
remove unused variables;

### Why are the changes needed?
remove unused variables;

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

### How was this patch tested?
existing testsuites

Closes apache#27922 from zhengruifeng/test_cleanup.

Authored-by: zhengruifeng <ruifengz@foxmail.com>
Signed-off-by: zhengruifeng <ruifengz@foxmail.com>
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