zed/crates/semantic_index2
Antonio Scandurra 09db455db2 Port semantic_index to gpui2
Co-Authored-By: Julia Risley <julia@zed.dev>
2023-12-05 15:38:36 +01:00
..
eval Port semantic_index to gpui2 2023-12-05 15:38:36 +01:00
src Port semantic_index to gpui2 2023-12-05 15:38:36 +01:00
Cargo.toml Port semantic_index to gpui2 2023-12-05 15:38:36 +01:00
README.md Port semantic_index to gpui2 2023-12-05 15:38:36 +01:00

Semantic Index

Evaluation

Metrics

nDCG@k:

  • "The value of NDCG is determined by comparing the relevance of the items returned by the search engine to the relevance of the item that a hypothetical "ideal" search engine would return.
  • "The relevance of result is represented by a score (also known as a 'grade') that is assigned to the search query. The scores of these results are then discounted based on their position in the search results -- did they get recommended first or last?"

MRR@k:

  • "Mean reciprocal rank quantifies the rank of the first relevant item found in teh recommendation list."

MAP@k:

  • "Mean average precision averages the precision@k metric at each relevant item position in the recommendation list.

Resources: