You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/05/16 15:41:03 UTC
[jira] [Commented] (MAHOUT-1015) Precondition check in
IRStatisticsImpl broken
[ https://issues.apache.org/jira/browse/MAHOUT-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276735#comment-13276735 ]
Hudson commented on MAHOUT-1015:
--------------------------------
Integrated in Mahout-Quality #1486 (See [https://builds.apache.org/job/Mahout-Quality/1486/])
MAHOUT-1015 fix precondition check (Revision 1339109)
Result = SUCCESS
srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339109
Files :
* /mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/eval/IRStatisticsImpl.java
> Precondition check in IRStatisticsImpl broken
> ---------------------------------------------
>
> Key: MAHOUT-1015
> URL: https://issues.apache.org/jira/browse/MAHOUT-1015
> Project: Mahout
> Issue Type: Bug
> Components: Collaborative Filtering
> Affects Versions: 1.0
> Reporter: Robert Jäschke
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 0.7
>
>
> The precondition check in the constructor of org.apache.mahout.cf.taste.impl.eval.IRStatisticsImpl includes Copy&Paste errors:
> Preconditions.checkArgument(fallOut >= 0.0 && fallOut <= 1.0, "Illegal fallOut: " + fallOut);
> Preconditions.checkArgument(fallOut >= 0.0 && fallOut <= 1.0, "Illegal nDCG: " + ndcg);
> Preconditions.checkArgument(reach >= 0.0 && reach <= 1.0, "Illegal reach: " + ndcg);
> The second line shows a message for nDCG but checks the fallOut, the third line checks the reach but prints out the nDCG.
> This error is also in the current version from the SVN (http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/eval/IRStatisticsImpl.java?revision=1213930&view=markup)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira