{
  "id": 363962,
  "title": "Recall@20 Explained",
  "url": "/competitions/otto-recommender-system/discussion/363962",
  "author_name": "moth",
  "post_date": "2022-11-03T20:57:23.596000",
  "votes": 21,
  "comment_count": 0,
  "views": 0,
  "content": "<h1>Recall definitions</h1>\n<p>Recall is a common evaluation metric used in Information Retrieval. Many different definitions of recall can be found in the internet such as:<br>\n$$ Recall = \\frac{True Positives}{True Positives + False Negatives} $$</p>\n<ul>\n<li><strong>Recall:</strong> The proportion of relevant items that are retrieved.</li>\n<li><strong>Recall:</strong> The probability that a relevant item will be retrieved.</li>\n</ul>\n<h1>Recall @ 20</h1>\n<ul>\n<li><strong>R@K:</strong> ratio of relevant items that are in the top-K recommendations.</li>\n</ul>\n<p>To illustrate with an example let's look at <a href=\"https://ils.unc.edu/courses/2013_spring/inls509_001/lectures/10-EvaluationMetrics.pdf\" target=\"_blank\">Jaime Arguello's</a> example:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3197853%2F51ef579456f375f64add00911a892c32%2FScreen%20Shot%202022-11-03%20at%2017.52.28.png?generation=1667508765486628&amp;alt=media\" alt=\"\"></p>\n<p>It's simple to understand:</p>\n<ol>\n<li>Set a K threshold (in our case 20) of items that will be retrieved.</li>\n<li>How many of the retrieved items are relevant. <strong>Relevant is defined by the ground truth.</strong></li>\n</ol>",
  "messages": [
    {
      "id": 2016221,
      "postDate": "2022-11-03T20:57:23.597Z",
      "content": "<h1>Recall definitions</h1>\n<p>Recall is a common evaluation metric used in Information Retrieval. Many different definitions of recall can be found in the internet such as:<br>\n$$ Recall = \\frac{True Positives}{True Positives + False Negatives} $$</p>\n<ul>\n<li><strong>Recall:</strong> The proportion of relevant items that are retrieved.</li>\n<li><strong>Recall:</strong> The probability that a relevant item will be retrieved.</li>\n</ul>\n<h1>Recall @ 20</h1>\n<ul>\n<li><strong>R@K:</strong> ratio of relevant items that are in the top-K recommendations.</li>\n</ul>\n<p>To illustrate with an example let's look at <a href=\"https://ils.unc.edu/courses/2013_spring/inls509_001/lectures/10-EvaluationMetrics.pdf\" target=\"_blank\">Jaime Arguello's</a> example:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3197853%2F51ef579456f375f64add00911a892c32%2FScreen%20Shot%202022-11-03%20at%2017.52.28.png?generation=1667508765486628&amp;alt=media\" alt=\"\"></p>\n<p>It's simple to understand:</p>\n<ol>\n<li>Set a K threshold (in our case 20) of items that will be retrieved.</li>\n<li>How many of the retrieved items are relevant. <strong>Relevant is defined by the ground truth.</strong></li>\n</ol>",
      "rawMarkdown": "# Recall definitions\n\nRecall is a common evaluation metric used in Information Retrieval. Many different definitions of recall can be found in the internet such as:\n$$ Recall = \\frac{True Positives}{True Positives + False Negatives} $$\n\n- **Recall:** The proportion of relevant items that are retrieved.\n- **Recall:** The probability that a relevant item will be retrieved.\n\n# Recall @ 20\n\n- **R@K:** ratio of relevant items that are in the top-K recommendations.\n\nTo illustrate with an example let's look at [Jaime Arguello's](https://ils.unc.edu/courses/2013_spring/inls509_001/lectures/10-EvaluationMetrics.pdf) example:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3197853%2F51ef579456f375f64add00911a892c32%2FScreen%20Shot%202022-11-03%20at%2017.52.28.png?generation=1667508765486628&alt=media)\n\nIt's simple to understand:\n1. Set a K threshold (in our case 20) of items that will be retrieved.\n2. How many of the retrieved items are relevant. **Relevant is defined by the ground truth.**",
      "votes": 21
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2016221": "# Recall definitions\n\nRecall is a common evaluation metric used in Information Retrieval. Many different definitions of recall can be found in the internet such as:\n$$ Recall = \\frac{True Positives}{True Positives + False Negatives} $$\n\n- **Recall:** The proportion of relevant items that are retrieved.\n- **Recall:** The probability that a relevant item will be retrieved.\n\n# Recall @ 20\n\n- **R@K:** ratio of relevant items that are in the top-K recommendations.\n\nTo illustrate with an example let's look at [Jaime Arguello's](https://ils.unc.edu/courses/2013_spring/inls509_001/lectures/10-EvaluationMetrics.pdf) example:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3197853%2F51ef579456f375f64add00911a892c32%2FScreen%20Shot%202022-11-03%20at%2017.52.28.png?generation=1667508765486628&alt=media)\n\nIt's simple to understand:\n1. Set a K threshold (in our case 20) of items that will be retrieved.\n2. How many of the retrieved items are relevant. **Relevant is defined by the ground truth.**"
  }
}