[ 
https://issues.apache.org/jira/browse/MAHOUT-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854445#action_12854445
 ] 

Sean Owen commented on MAHOUT-358:
----------------------------------

1) Your input file shows negative user and item IDs, good, so that is as 
expected.  The HTML log file you posted also does not show negative values. 
This is all good.

2) I can't quite see why this would happen --  you see how the code adds, then 
removes, one item each time when the queue is full. However I just made one 
change to the Comparator which *could* be related. You might try the new code 
to see if it addresses this.

3) Same, I am wondering if the comparator is the problem here.

4 + 5) I agree, and while this is very strange, it seems all your evidence 
points to this. Can you try my latest code? It still uses a custom writable, 
but, it uses the exact same to-string routine that the working example does.

If this does not somehow address the issues, I'll give up and use Text. This 
shouldn't be necesary, and is incorrect from an API perspective, but something 
working is better than nothing.

> the pref value  field of output of 
> org.apache.mahout.cf.taste.hadoop.item.RecommenderJob has negative
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-358
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-358
>             Project: Mahout
>          Issue Type: Test
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>         Attachments: 20100407_steer_item_out_part-00000, 
> 2010_input_steer_item_in_prefs-1.dat, 
> attempt_201004011623_0070_m_000000_0.htm, screenshot-1.jpg, screenshot-2.jpg
>
>
> In my test the input pref values all is positive.
> the output score value has negative value ,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to