mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ziad kamel <ziad.kame...@gmail.com>
Subject Re: What equation do NDCG used ?
Date Wed, 04 Apr 2012 21:19:42 GMT
DCG should check the order and the formula seems not , just check if
it contains the item

 if (relevantItemIDs.contains(item.getItemID())) {
          cumulativeGain += discount;
        }

Second thing is that it have a relevance number "rel" which the
formula don't use.




On Wed, Apr 4, 2012 at 3:54 PM, Sean Owen <srowen@gmail.com> wrote:
> It's the same formula, what do you think is different?
>
> On Wed, Apr 4, 2012 at 9:35 PM, ziad kamel <ziad.kamel25@gmail.com> wrote:
>> Hi , I checked the code for NDCG and it seems not same as
>> http://en.wikipedia.org/wiki/Discounted_cumulative_gain
>> How that formula was derived ?
>>
>> Thanks

Mime
View raw message