-
Specifically, I would like to compute NDGC separately for different groups (in my case gender: male vs female). Please let me know if this is possible, or if there is a way to implement this? |
Beta Was this translation helpful? Give feedback.
Answered by
Wicknight
Feb 20, 2023
Replies: 1 comment 2 replies
-
Hello @bhuebner3 , I think this is feasible, and here is my solution :
The return value here is NDCG result for each user. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bhuebner3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @bhuebner3 , I think this is feasible, and here is my solution :
metric_info
function in this file, just as follows: