Skip to content

Using deep metric learning for imbalanced dataset #637

Closed Answered by KevinMusgrave
learnfromgroundup asked this question in Q&A
Discussion options

You must be logged in to vote

It's low because if there are say 1500 relevant items, and 1497 of them aren't retrieved, it gets penalized for that regardless of the value of k:

(from https://nlp.stanford.edu/IR-book/pdf/08eval.pdf)

Try setting k=None so that it finds all nearest neighbors instead of just the closest k.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by learnfromgroundup
Comment options

You must be logged in to vote
1 reply
@KevinMusgrave
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants