I found GenericItemBasedRecommender.estimate(id) method confusing (line 347-349) Mahout 0.9 snapshot --------
if (excludeItemIfNotSimilarToAll || !Double.isNaN(estimate)) { -- line 347
average.addDatum(estimate);
}
-----
line 347 seems logic confusing,
if excludeItemIfNotSimilarToAll == true, -> always add data into average,
doesn't matter what the data is , Nan ???
Sam
