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

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

Having decimal values is normal. Negative values are bizarre though. The 
co-occurrence matrix and user vector should have nonnegative values, so I can't 
see how it gets a negative element from multiplications and additions. I don't 
see any obvious problems with the logic.

I wonder if you can debug, look at the cooccurrence matrix and/or user vectors? 
make sure neither has negative values?

I'm trying to imagine wild scenarios, like overflowing an int in the 
cooccurrence matrix? but you don't have billions of users...

> 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: screenshot-1.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