linkedin/datafu — pull request #95 by jhartman (2014-07-08 01:42:06+00:00)
Title: Adding a new UDF called Ndcg to support calculating Ndcg.

A couple of different configuration options are available for calculating ndcg. You can specify positional values per range, use a standard logarithmic discounting function, or use a custom function.