Good catch, I will look at this more tonight but I am pretty certain that you are correct. I will commit a fix soon if applicable.
On Wed, Feb 10, 2010 at 9:27 PM, Guohua Hao <haoguo...@gmail.com> wrote: > Hello All, > > When I studied the code on the trunk, I was wondering that on line 130 in > the class org.apache.mahout.cf.taste.hadoop.item.RecommenderMapper, shall we > use the condition > > userVector.get(index) == 0.0 > > instead? > > My understanding is that only the item which is not rated by the user (i.e., > userVector.get(index) == 0.0) will be considered to add into the queue. > > Please correct me if I am wrong, > > Thanks, > Guohua >