forked from apache/mahout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved names for arguments of Multi-normal. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1409688 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,8 +121,11 @@ public static double logLikelihoodRatio(long k11, long k12, long k21, long k22) | |
* @return The root log-likelihood ratio | ||
* | ||
* <p/> | ||
* See discussion of raw vs. root LLR at | ||
* http://www.lucidimagination.com/search/document/6dc8709e65a7ced1/llr_scoring_question | ||
* There is some more discussion here: | ||
* http://mail-archives.apache.org/mod_mbox/mahout-user/201001.mbox/%[email protected]%3E | ||
* | ||
* And see the response to Wataru's comment here: | ||
* http://tdunning.blogspot.com/2008/03/surprise-and-coincidence.html | ||
*/ | ||
public static double rootLogLikelihoodRatio(long k11, long k12, long k21, long k22) { | ||
double llr = logLikelihoodRatio(k11, k12, k21, k22); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters