{
  "id": 243225,
  "title": "Evaluation Metric Function (Mean Average Precision/Recall)",
  "url": "/competitions/siim-covid19-detection/discussion/243225",
  "author_name": "Farhan Hai Khan",
  "post_date": "2021-06-01T16:42:15.590000",
  "votes": 2,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Would be grateful if someone could provide a function that takes in the prediction and ground truth and provides a metric/score as to how well a model has performed:</p>\n<p>Something like :</p>\n<pre><code>def eval_metric(predictedString,groundTruthString):\n    ... Some code here...\n    return score\n</code></pre>\n<p>Is there already a function like this?</p>\n<p>P.S. - I'm a newbie at Object Detection, so any leads would be really helpful!</p>",
  "messages": [
    {
      "id": 1331709,
      "postDate": "2021-06-01T16:42:15.590Z",
      "content": "<p>Would be grateful if someone could provide a function that takes in the prediction and ground truth and provides a metric/score as to how well a model has performed:</p>\n<p>Something like :</p>\n<pre><code>def eval_metric(predictedString,groundTruthString):\n    ... Some code here...\n    return score\n</code></pre>\n<p>Is there already a function like this?</p>\n<p>P.S. - I'm a newbie at Object Detection, so any leads would be really helpful!</p>",
      "rawMarkdown": "Would be grateful if someone could provide a function that takes in the prediction and ground truth and provides a metric/score as to how well a model has performed:\n\nSomething like :\n```\ndef eval_metric(predictedString,groundTruthString):\n    ... Some code here...\n    return score\n```\n\nIs there already a function like this?\n\nP.S. - I'm a newbie at Object Detection, so any leads would be really helpful!",
      "votes": 2
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1331709": "Would be grateful if someone could provide a function that takes in the prediction and ground truth and provides a metric/score as to how well a model has performed:\n\nSomething like :\n```\ndef eval_metric(predictedString,groundTruthString):\n    ... Some code here...\n    return score\n```\n\nIs there already a function like this?\n\nP.S. - I'm a newbie at Object Detection, so any leads would be really helpful!"
  }
}