ndcg ( scores -- ndcg )
Statistics

Prev:dcg ( scores -- dcg )


Vocabulary
math.statistics

Inputs
scoresa sequence


Outputs
ndcga number


Word description
Calculates the normalized discounted cumulative gain from a list of scores. The ndcg is the discounted cumulative gain divided by the theoretical maximum dcg for the given list.

See https://en.wikipedia.org/wiki/Discounted_cumulative_gain

See also
dcg

Definition