SPARK-5020 [MLlib] GaussianMixtureModel.predictMembership() should take an RDD only#3854
SPARK-5020 [MLlib] GaussianMixtureModel.predictMembership() should take an RDD only#3854tgaloppo wants to merge 2 commits intoapache:masterfrom
Conversation
|
Can one of the admins verify this patch? |
|
My repo seems to have some lingering commit tags. |
|
I should have been clearer; I meant for predictMembership to be public. I thought perhaps the implementation would become of a private method, but I realize now it is fine leaving the code within predictMembership alone. Once the private modifier is removed, I think this will be good to go. |
|
About the commit tags, I'm not quite sure how to remove them. Does rebasing fix it? If not, then you could checkout master again and copy the few changes in (and then do a force push to your PR branch). |
|
@jkbradley No, private modifier was a gaffe on my part. This is corrected. I think I have corrected the lingering commits... rebase did not work for me, but a hard reset seems to have done the trick. |
|
Test build #558 has started for PR 3854 at commit
|
|
@jkbradley I am not crazy about the name predictMembership() ... to me it implies the hard assignment; a simple change like predictMemberships() might be more clear, or predictSoft(), or (thinking from a slightly different direction) allocate(). Any of those should be robust enough to reuse for soft k-means or LDA (or other such partial assignment algorithms). |
|
It may be hard for users to tell the difference between |
|
+1 for predictSoft |
|
Test build #558 has finished for PR 3854 at commit
|
|
streaming failure |
|
Ok, I will rename the method to predictSoft() Not sure what to make of the streaming failure ?? |
|
add to whitelist |
|
test this please |
|
Test build #24971 has started for PR 3854 at commit
|
|
@tgaloppo The streaming failure is unrelated; it's an unreliable test (which is being fixed). Nothing for you to do. |
|
Test build #24971 has finished for PR 3854 at commit
|
|
Test PASSed. |
|
LGTM. Merged into master. Thanks! |
Removed unnecessary parameters to predictMembership()
CC: @jkbradley