ndcg | R Documentation |
This function calculates NDCG from the vectors of observed and predicted values and the chosen proportion k of top observations (rank).
ndcg(y, y_hat, k = 0.2)
y |
true values |
y_hat |
predicted values |
k |
relevant proportion of rank (top) |
a real value in [0,1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.