zed/crates/semantic_index
Kirill Bulatov 4b15a2bd63 Rebase fixes
2023-10-11 12:56:29 +03:00
..
eval add recall and precision to semantic index 2023-09-18 18:25:02 -04:00
examples Rebase fixes 2023-10-11 12:56:29 +03:00
src Leverage embeddings query to collapse syntax nodes if not selected (#3067) 2023-10-03 12:02:47 +03:00
Cargo.toml Upgrade SeaORM to latest version, also upgrade sqlite bindings, rustqlite, and remove SeaQuery 2023-10-03 12:16:53 -07:00
README.md add eval values for tree-sitter 2023-09-12 20:36:06 -04: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: