[ https://issues.apache.org/jira/browse/MAHOUT-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849684#action_12849684 ]
Sean Owen commented on MAHOUT-340: ---------------------------------- I'm not sure what your final implementation looks like, but be careful about moving to longs from ints. It's not a one-line change. If you're just parsing longs, then casting them down to ints to use as dimensions in a vector or matrix, it won't work correctly at all. You'll be truncating long IDs to ints, and then trying to interpret them as long IDs later, but they won't be valid IDs. Is that what you did? then I could imagine recommendations being all wrong. If you have long IDs, you will need the steps you see in the 'item' implementation. In particular you need the step that generates and saves the long <-> int mappings. > org.apache.mahout.cf.taste.hadoop.cooccurence can not support long as user_id > and item_id > ----------------------------------------------------------------------------------------- > > Key: MAHOUT-340 > URL: https://issues.apache.org/jira/browse/MAHOUT-340 > Project: Mahout > Issue Type: Improvement > Components: Collaborative Filtering > Affects Versions: 0.3 > Reporter: Hui Wen Han > Fix For: 0.4 > > > I have preferences data using long as user_id and item_id, > hadoop cooccurence arithmetic can not support it -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.