You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by sam wu <sw...@gmail.com> on 2013/08/07 00:52:23 UTC
GenericItemBasedRecommender.estimate(id) mehod
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
Re: GenericItemBasedRecommender.estimate(id) mehod
Posted by Sebastian Schelter <ss...@apache.org>.
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 <sw...@gmail.com>
> 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
>