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

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

I think the cause must have been related to the PriorityQueue. 
GenericRecommendedItem implemented Comparable. The problem may have been that 
it wasn't quite consistent with equals() since it was determined only on value, 
not item ID. I switched to a Comparator to implement ordering. I'm still 
surprised if that was the difference...

I also tried in a few places using a brand new local Writable object to read 
values instead of reusing one. I figured maybe I mistook when that was safe to 
do.

> 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
>            Assignee: Sean Owen
>             Fix For: 0.4
>
>         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, 
> screenshot-3.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