Uh oh!
There was an error while loading. Please reload this page.
[SPARK-14272][ML] Add Loglikelihood in GaussianMixtureSummary - #12064
[SPARK-14272][ML] Add Loglikelihood in GaussianMixtureSummary#12064zhengruifeng wants to merge 20 commits into
Conversation
SparkQA
commented
Mar 30, 2016
Test build #54522 has finished for PR 12064 at commit
|
SparkQA
commented
Oct 11, 2016
Test build #66739 has finished for PR 12064 at commit
|
SparkQA
commented
Oct 11, 2016
Test build #66743 has finished for PR 12064 at commit
|
SparkQA
commented
Oct 12, 2016
Test build #66788 has finished for PR 12064 at commit
|
SparkQA
commented
Oct 12, 2016
Test build #66806 has finished for PR 12064 at commit
|
SparkQA
commented
Dec 8, 2016
Test build #69845 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 10, 2017
Test build #71113 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 10, 2017
Test build #71114 has started for PR 12064 at commit |
zhengruifeng
commented
Jan 10, 2017
Jenkins, retest this please |
SparkQA
commented
Jan 10, 2017
Test build #71119 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 10, 2017
Test build #71121 has finished for PR 12064 at commit
|
zhengruifeng
commented
Jan 11, 2017
ping @yanboliang |
There was a problem hiding this comment.
I have a question here, should we provide the final logLikelihood of the model in its summary as well? Since lots of users will use it to evaluate the current model, that they don't need to take another pass on data.
This will expose a public API, cc @jkbradley@sethah@srowen@MLnick to discuss the API.
There was a problem hiding this comment.
+1 for putting it in the summary. If you want to evaluate a new dataset, then let's add an evaluate() method which returns a summary.
There was a problem hiding this comment.
I think we don't need to bother a separate test, you can add check for logLikelihood on the existing test(multivariate data and check againt R mvnormalmixEM) which is equivalent to what you wrote but with more reasonable dataset.
SparkQA
commented
Jan 12, 2017
Test build #71243 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 12, 2017
Test build #71245 has finished for PR 12064 at commit
|
zhengruifeng
commented
Jan 13, 2017
@yanboliang Updated! Thanks for reviewing! |
SparkQA
commented
Jan 16, 2017
Test build #71432 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 16, 2017
Test build #71436 has finished for PR 12064 at commit
|
zhengruifeng
commented
Jan 16, 2017
ping @yanboliang |
| @property | ||
| @since("2.2.0") | ||
| def logLikelihood(self): |
SparkQA
commented
Jan 17, 2017
Test build #71498 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 17, 2017
Test build #71500 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 18, 2017
Test build #71550 has finished for PR 12064 at commit
|
zhengruifeng
commented
Jan 18, 2017
jenkins, retest this please |
SparkQA
commented
Jan 18, 2017
Test build #71566 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 18, 2017
Test build #71573 has started for PR 12064 at commit |
zhengruifeng
commented
Jan 18, 2017
jenkins, retest this please |
SparkQA
commented
Jan 18, 2017
Test build #71585 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 18, 2017
Test build #71598 has finished for PR 12064 at commit
|
SparkQA
commented
Jan 19, 2017
Test build #71641 has started for PR 12064 at commit |
yanboliang
commented
Jan 19, 2017
Jenkins, retest this please. |
SparkQA
commented
Jan 19, 2017
Test build #71646 has finished for PR 12064 at commit
|
yanboliang
commented
Jan 19, 2017
LGTM, merged into master. Thanks! |
## What changes were proposed in this pull request? add loglikelihood in GMM.summary ## How was this patch tested? added tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Author: Ruifeng Zheng <ruifengz@foxmail.com> Closesapache#12064 from zhengruifeng/gmm_metric.
## What changes were proposed in this pull request? add loglikelihood in GMM.summary ## How was this patch tested? added tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Author: Ruifeng Zheng <ruifengz@foxmail.com> Closesapache#12064 from zhengruifeng/gmm_metric.
What changes were proposed in this pull request?
add loglikelihood in GMM.summary
How was this patch tested?
added tests