Uh oh!
There was an error while loading. Please reload this page.
[MLLIB] SPARK-5491 (ex SPARK-1473): Chi-square feature selection - #1484
[MLLIB] SPARK-5491 (ex SPARK-1473): Chi-square feature selection#1484avulanov wants to merge 16 commits into
Conversation
SparkQA
commented
Jul 18, 2014
QA tests have started for PR 1484. This patch merges cleanly. |
SparkQA
commented
Jul 18, 2014
QA results for PR 1484: |
SparkQA
commented
Jul 18, 2014
QA tests have started for PR 1484. This patch merges cleanly. |
SparkQA
commented
Jul 18, 2014
QA results for PR 1484: |
avulanov
commented
Aug 4, 2014
@mengxr Could you review or comment this? Thanks! |
mengxr
commented
Aug 4, 2014
Sure. We had some transformers implemented under and we can hide the implementation from public interfaces. Please let me know whether this sounds good to you. |
avulanov
commented
Aug 4, 2014
|
mengxr
commented
Aug 4, 2014
@avulanov I have the same concern about calling I want to add another candidate to what you proposed: We can discuss the class hierarchy later since they are not user-facing. A problem with all the candidates here is we cannot apply the same transformation on |
avulanov
commented
Aug 5, 2014
|
avulanov
commented
Aug 7, 2014
@mengxr Btw., discretization is needed for feature selection. Do you plan to merge this https://issues.apache.org/jira/browse/SPARK-1303 ? |
mengxr
commented
Aug 7, 2014
Btw, I will re-visit the discretization PR after v1.1 to make sure it doesn't have performance issues. |
avulanov
commented
Aug 7, 2014
|
mengxr
commented
Sep 26, 2014
@avulanov In 1.1, we have For the transformer name, |
avulanov
commented
Oct 14, 2014
@mengxr Sure! Thanks for suggestion. |
SparkQA
commented
Nov 12, 2014
Test build #23232 has started for PR 1484 at commit
|
avulanov
commented
Nov 12, 2014
@mengxr Just to clarify: I'll implement |
SparkQA
commented
Nov 12, 2014
Test build #23232 has finished for PR 1484 at commit
|
AmplabJenkins
commented
Nov 12, 2014
Test PASSed. |
mengxr
commented
Nov 12, 2014
@avulanov We have ChiSq tests implemented under "mllib.stat.Statistics": Could you please call the method there and select top features based on the test statistics? This would make us have a single place for ChiSq implementation. |
avulanov
commented
Nov 13, 2014
@mengxr |
mengxr
commented
Nov 13, 2014
No, |
avulanov
commented
Nov 13, 2014
Ok, thanks! Sorry, I didn't understand the API from the first sight :) |
SparkQA
commented
Nov 13, 2014
Test build #23329 has started for PR 1484 at commit
|
SparkQA
commented
Nov 13, 2014
Test build #23329 has finished for PR 1484 at commit
|
AmplabJenkins
commented
Nov 13, 2014
Test FAILed. |
avulanov
commented
Nov 13, 2014
@mengxr for some reason I cannot see the trace of the build, it seems that I need to login to Jenkins, but I don't have an account there |
mengxr
commented
Nov 13, 2014
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/23329/console I saw |
avulanov
commented
Dec 5, 2014
@mengxr Could you suggest why the test fails? |
SparkQA
commented
Jan 8, 2015
Test build #559 has started for PR 1484 at commit
|
mengxr
commented
Jan 31, 2015
test this please |
SparkQA
commented
Jan 31, 2015
Test build #26451 has started for PR 1484 at commit
|
SparkQA
commented
Jan 31, 2015
Test build #26451 has finished for PR 1484 at commit
|
AmplabJenkins
commented
Jan 31, 2015
Test PASSed. |
There was a problem hiding this comment.
organize imports (If you use idea intellij, there is a useful plugin: https://plugins.jetbrains.com/plugin/7350)
SparkQA
commented
Feb 2, 2015
Test build #26524 has started for PR 1484 at commit
|
avulanov
commented
Feb 2, 2015
@mengxr Thank you for your comments! Done! Do you have any plans to add feature discretization capabilities to MLlib? There are few links in the head of this thread. |
mengxr
commented
Feb 2, 2015
LGTM pending Jenkins ... |
SparkQA
commented
Feb 2, 2015
Test build #26524 has finished for PR 1484 at commit
|
AmplabJenkins
commented
Feb 2, 2015
Test PASSed. |
mengxr
commented
Feb 2, 2015
Yes, it would be nice to add feature discretization to MLlib. We had a PP, but as you've tried it doesn't scale well. I don't have concrete scalable algorithms in mind now. We can discuss more on the JIRA page. |
mengxr
commented
Feb 2, 2015
Merged into master. Thanks! |
…lling policy (apache#1484) ### What changes were proposed in this pull request? This PR aims to support two new executor rolling policies. - `PEAK_JVM_ONHEAP_MEMORY` policy chooses an executor with the biggest peak JVM on-heap memory. - `PEAK_JVM_OFFHEAP_MEMORY` policy chooses an executor with the biggest peak JVM off-heap memory. ### Why are the changes needed? Although peak memory is a kind of historic value, these two new policies add a capability to maintain the memory usage of Spark jobs minimally as much as possible. ### Does this PR introduce _any_ user-facing change? Yes, but this is a new feature. ### How was this patch tested? Pass the CIs. Closesapache#37418 from dongjoon-hyun/SPARK-39987. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 3df7124) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 84cd907) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> Co-authored-by: Dongjoon Hyun <dongjoon@apache.org>
The following is implemented:
Needs some optimization in matrix operations.
This request is a try to implement feature selection for MLLIB, the previous work by the issue author @izendejas was not finished (https://issues.apache.org/jira/browse/SPARK-1473). This request is also related to data discretization issues: https://issues.apache.org/jira/browse/SPARK-1303 and https://issues.apache.org/jira/browse/SPARK-1216 that weren't merged.