Sam, this looks like a bug, could you open a ticket in our issue tracker at
https://issues.apache.org/jira/browse/MAHOUT ?

That would be great,
Sebastian

2013/8/6 sam wu <[email protected]>

> 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
>

Reply via email to