Skip to content

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.

2 participants