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

Adds recall@k metric to rank eval API #52889

Merged
merged 2 commits into from
Feb 27, 2020
Merged

Adds recall@k metric to rank eval API #52889

merged 2 commits into from
Feb 27, 2020

Conversation

joshdevins
Copy link
Member

This change adds the recall@k metric and refactors precision@k to match
the new metric.

Recall@k is an important metric to use for learning to rank (LTR)
use-cases. Candidate generation or first ranking phase ranking functions
are often optimized for high recall, in order to generate as many
relevant candidates in the top-k as possible for a second phase of
ranking. Adding this metric allows tuning that base query for LTR.

See: #51676
Backports: #52577

This change adds the recall@k metric and refactors precision@k to match
the new metric.

Recall@k is an important metric to use for learning to rank (LTR)
use-cases. Candidate generation or first ranking phase ranking functions
are often optimized for high recall, in order to generate as many
relevant candidates in the top-k as possible for a second phase of
ranking. Adding this metric allows tuning that base query for LTR.

See: #51676
@joshdevins joshdevins self-assigned this Feb 27, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Ranking)

@joshdevins joshdevins added the WIP label Feb 27, 2020
Signature changes in backport to 7.x
@joshdevins joshdevins removed the WIP label Feb 27, 2020
@joshdevins joshdevins merged commit 68ba571 into elastic:7.x Feb 27, 2020
@joshdevins joshdevins deleted the backport-adds-recall-at-k-metric branch February 27, 2020 15:04
@joshdevins joshdevins changed the title Adds recall@k metric to rank eval API (#52577) Adds recall@k metric to rank eval API Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants