Uh oh!
There was an error while loading. Please reload this page.
[SPARK-8674] [MLlib] Implementation of a 2 sample Kolmogorov Smirnov Test - #7075
[SPARK-8674] [MLlib] Implementation of a 2 sample Kolmogorov Smirnov Test#7075josepablocam wants to merge 8 commits into
Conversation
srowen
commented
Jul 7, 2015
So this isn't to be merged in its current form? Put |
sryza
commented
Jul 13, 2015
Hey @josepablocam can you rebase this on current master? |
josepablocam
commented
Jul 13, 2015
@sryza yes, will do. |
…k relevant from 1-sample test
5c9da55 to
e0686a7Comparemengxr
commented
Jul 30, 2015
@sryza Do you want to make another pass? Please sign off if you think this is ready:) |
There was a problem hiding this comment.
Would it be clearer to write true and false instead of isSample1 and !isSample1? I don't have a strong opinion.
Can the map functions be like .map((_, isSample1)) for tidiness or does that syntax not work here?
Finally I wonder if .union is clearer than ++ here? I don't have a strong opinion either, just am somehow used to method invocations on RDDs and ++-like syntax for Scala collections.
sryza
commented
Jul 31, 2015
@mengxr@josepablocam oops thought it was still a WIP for some reason. Just took a pass. It looks mostly done - I just had a bunch of nits and a test request. |
josepablocam
commented
Jul 31, 2015
Mmm. I seem to be having some issues building and testing on my laptop. It keeps failing when building Catalyst. I'll try this first thing in the morning at work and push if it passes tests. |
There was a problem hiding this comment.
.sortByKey? I think the mapPartitions doesn't need braces, just parens, but that's tiny.
…to account for aliasing of commons' KS test
There was a problem hiding this comment.
Nit: I'd make the above one "Sample follows the theoretical distribution" or make the bottom one "Both samples follow same distribution".
There was a problem hiding this comment.
fixed. Modified the first. Thanks
…ical functions are package private and can be tested more directly
sryza
commented
Aug 4, 2015
jenkins, test this please |
sryza
commented
Aug 4, 2015
This LGTM pending jenkins |
mengxr
commented
Aug 5, 2015
test this please |
SparkQA
commented
Aug 5, 2015
Test build #39872 has finished for PR 7075 at commit
|
josepablocam
commented
Aug 5, 2015
ugh, did not reword the tests in pyspark after we slightly cleaned up the grammar in the 2 sample test. I will make the ks 2 sample test hypothesis statement match the grammar in the first. Sorry about this! |
… unit test failure by reversing prior grammar change
sryza
commented
Aug 17, 2015
@mengxr is it too late to get this in to 1.5? @josepablocam are you able to resolve merge conflicts? |
josepablocam
commented
Aug 17, 2015
@sryza fixed merge conflicts |
SparkQA
commented
May 17, 2016
Test build #58715 has finished for PR 7075 at commit
|
SparkQA
commented
Nov 29, 2016
Test build #69329 has finished for PR 7075 at commit
|
HyukjinKwon
commented
Jun 19, 2017
@josepablocam, it looks the conflicts were not resolved cleanly. Would you resolve them? |
josepablocam
commented
Jun 19, 2017
via email
I'm not involved in this anymore. If you're interested in making those
fixes, feel free. Thanks. …On Jun 19, 2017 5:44 AM, "Hyukjin Kwon" ***@***.***> wrote:
@josepablocam <https://github.com/josepablocam>, it looks the conflicts
were not resolved cleanly. Would you resolve them?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AE3GlO5eHVTNq47py-_XuJbhLTFkn89Eks5sFe6tgaJpZM4FNtLA>
.
|
gatorsmile
commented
Jun 27, 2017
We are closing it due to inactivity. please do reopen if you want to push it forward. Thanks! |
## What changes were proposed in this pull request? This PR proposes to close stale PRs, mostly the same instances with apache#18017 I believe the author in apache#14807 removed his account. Closesapache#7075Closesapache#8927Closesapache#9202Closesapache#9366Closesapache#10861Closesapache#11420Closesapache#12356Closesapache#13028Closesapache#13506Closesapache#14191Closesapache#14198Closesapache#14330Closesapache#14807Closesapache#15839Closesapache#16225Closesapache#16685Closesapache#16692Closesapache#16995Closesapache#17181Closesapache#17211Closesapache#17235Closesapache#17237Closesapache#17248Closesapache#17341Closesapache#17708Closesapache#17716Closesapache#17721Closesapache#17937 Added: Closesapache#14739Closesapache#17139Closesapache#17445Closesapache#18042Closesapache#18359 Added: Closesapache#16450Closesapache#16525Closesapache#17738 Added: Closesapache#16458Closesapache#16508Closesapache#17714 Added: Closesapache#17830Closesapache#14742 ## How was this patch tested? N/A Author: hyukjinkwon <gurwls223@gmail.com> Closesapache#18417 from HyukjinKwon/close-stale-pr.
The current patch implements a 2-sample, 2-sided Kolmogorov Smirnov test. Similarly to the 1-sample implementation, we seek to reduce the shuffles necessary for computation. The user can provide 2 RDD[Double] and the Statistics.ksTest function allows them to test the null hypothesis that both samples came from the same probability distribution.
This patch includes the 1-sample test (so that reviewers can see the broader context of the change), however, that portion (and relevant tests) are being reviewed at https://issues.apache.org/jira/browse/SPARK-8598.