{
  "id": 388853,
  "title": "How to determine 'L' and/or 'R' as in preiction_id in sample subission?",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/388853",
  "author_name": "Pradeep Pujari",
  "post_date": "2023-02-19T20:01:57.515000",
  "votes": 0,
  "comment_count": 1,
  "views": 0,
  "content": "<p>In sample submission file, prediction_id column value has '_L' and '_R', from where I can find this?<br>\nprediction_id    cancer<br>\n0    10008_L 0.021168<br>\n1    10008_R 0.021168</p>",
  "messages": [
    {
      "id": 2151180,
      "postDate": "2023-02-19T22:18:08.140Z",
      "content": "<p>Do you mean:</p>\n<pre><code>test_meta[] = test_meta[].astype() +  + test_meta[].astype()\n</code></pre>\n<p>I.e., just generate them from the data in the CSV file.</p>",
      "rawMarkdown": "Do you mean:\n```python\ntest_meta['prediction_id'] = test_meta['patient_id'].astype(str) + \"_\" + test_meta['laterality'].astype(str)\n```\nI.e., just generate them from the data in the CSV file."
    },
    {
      "id": 2151079,
      "postDate": "2023-02-19T20:01:57.517Z",
      "content": "<p>In sample submission file, prediction_id column value has '_L' and '_R', from where I can find this?<br>\nprediction_id    cancer<br>\n0    10008_L 0.021168<br>\n1    10008_R 0.021168</p>",
      "rawMarkdown": "In sample submission file, prediction_id column value has '_L' and '_R', from where I can find this?\nprediction_id\tcancer\n0\t10008_L\t0.021168\n1\t10008_R\t0.021168"
    }
  ],
  "comments": [
    {
      "id": 2151180,
      "author_name": "Antti Isosalo",
      "author_url": "",
      "post_date": "2023-02-19T22:18:08.140000",
      "content": "<p>Do you mean:</p>\n<pre><code>test_meta[] = test_meta[].astype() +  + test_meta[].astype()\n</code></pre>\n<p>I.e., just generate them from the data in the CSV file.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2151180": "Do you mean:\n```python\ntest_meta['prediction_id'] = test_meta['patient_id'].astype(str) + \"_\" + test_meta['laterality'].astype(str)\n```\nI.e., just generate them from the data in the CSV file.",
    "2151079": "In sample submission file, prediction_id column value has '_L' and '_R', from where I can find this?\nprediction_id\tcancer\n0\t10008_L\t0.021168\n1\t10008_R\t0.021168"
  }
}