ggfm.evaluationΒΆ

ggfm.data.ndcg_at_k

Compute the Normalized Discounted Cumulative Gain (NDCG) at rank k.

ggfm.data.mean_reciprocal_rank

Compute the Mean Reciprocal Rank (MRR) for a list of relevance scores.