Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do we select value of K for calculating NDCG score? #5

Open
Eku0194 opened this issue Jul 16, 2021 · 1 comment
Open

how do we select value of K for calculating NDCG score? #5

Eku0194 opened this issue Jul 16, 2021 · 1 comment

Comments

@Eku0194
Copy link

Eku0194 commented Jul 16, 2021

Hello,

I am not sure If I fully understand how to select the value of k for getting accurate results. Can you please guide me on which factors should be considered by deciding the k value.

Thank you!

@geraldzakwan
Copy link

geraldzakwan commented Mar 28, 2022

k is basically the number of top search results you care about, no choice is right or wrong. It really depends on your use case.

In web search (like Google), you might want to use k=10 since generally users are willing to scroll a bit to find the right information.

While in e-commerce (like Amazon), you might want to use smaller k, say k=5, since users don't scroll as much and pay attention mostly to just a few products at the top (I suggest you to learn about positional bias).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants