{
  "id": 349835,
  "title": "How to check HuBMAP score only?",
  "url": "/competitions/hubmap-organ-segmentation/discussion/349835",
  "author_name": "Swikwislkdjc",
  "post_date": "2022-09-03T01:23:01.671000",
  "votes": 0,
  "comment_count": 4,
  "views": 0,
  "content": "<p>How to check HuBMAP score only? Anyone can share the code? I remember I read it in the discussion somewhere but couldn't find it…</p>\n<p>—————-<br>\nFrom hengck23<br>\n`#data_source =['Hubmap', 'HPA']<br>\ndata_source =['HPA']</p>\n<p>`#organ = ['kidney', 'prostate', 'largeintestine', 'spleen', 'lung']<br>\norgan = ['prostate', ]</p>\n<pre><code>for i,d in test_df.iterrows():\n    id = d['id']\n    if (d['data_source'] in data_source) and (d['organ'] in organ):\n           rle =    ... run you model and compute rle  # this gives your prediction score\n    else:\n            rle = ''  # this gives zero score `\n</code></pre>",
  "messages": [
    {
      "id": 1924592,
      "postDate": "2022-09-03T07:44:06.400Z",
      "content": "<p>Assign empty string of rle to HPA samples. hengck23 taught the method <a href=\"https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/332941#:~:text=How%20did%20you%20manage%20to%20calculate%20the%20LB%20score%20on%20HPA%20and%20Hubmap%3F\" target=\"_blank\">here</a><br>\nPS I don't know why copy link to highlight doesn't work. You can certainly check it in detail there.</p>",
      "rawMarkdown": "Assign empty string of rle to HPA samples. hengck23 taught the method [here](https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/332941#:~:text=How%20did%20you%20manage%20to%20calculate%20the%20LB%20score%20on%20HPA%20and%20Hubmap%3F)\nPS I don't know why copy link to highlight doesn't work. You can certainly check it in detail there.",
      "votes": 1,
      "replies": [
        {
          "id": 1924851,
          "postDate": "2022-09-03T13:15:36.333Z",
          "content": "<p>Thanks!           </p>",
          "rawMarkdown": "Thanks!           "
        }
      ]
    },
    {
      "id": 1924342,
      "postDate": "2022-09-03T01:23:01.673Z",
      "content": "<p>How to check HuBMAP score only? Anyone can share the code? I remember I read it in the discussion somewhere but couldn't find it…</p>\n<p>—————-<br>\nFrom hengck23<br>\n`#data_source =['Hubmap', 'HPA']<br>\ndata_source =['HPA']</p>\n<p>`#organ = ['kidney', 'prostate', 'largeintestine', 'spleen', 'lung']<br>\norgan = ['prostate', ]</p>\n<pre><code>for i,d in test_df.iterrows():\n    id = d['id']\n    if (d['data_source'] in data_source) and (d['organ'] in organ):\n           rle =    ... run you model and compute rle  # this gives your prediction score\n    else:\n            rle = ''  # this gives zero score `\n</code></pre>",
      "rawMarkdown": "How to check HuBMAP score only? Anyone can share the code? I remember I read it in the discussion somewhere but couldn't find it...\n\n\n—————-\nFrom hengck23\n`#data_source =['Hubmap', 'HPA']\ndata_source =['HPA']\n\n`#organ = ['kidney', 'prostate', 'largeintestine', 'spleen', 'lung']\norgan = ['prostate', ]\n\n    for i,d in test_df.iterrows():\n        id = d['id']\n        if (d['data_source'] in data_source) and (d['organ'] in organ):\n               rle =    ... run you model and compute rle  # this gives your prediction score\n        else:\n                rle = ''  # this gives zero score `"
    },
    {
      "id": 1926977,
      "postDate": "2022-09-05T09:47:11.897Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    },
    {
      "id": 1924589,
      "postDate": "2022-09-03T07:36:28.023Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1924592,
      "author_name": "Cheul",
      "author_url": "",
      "post_date": "2022-09-03T07:44:06.400000",
      "content": "<p>Assign empty string of rle to HPA samples. hengck23 taught the method <a href=\"https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/332941#:~:text=How%20did%20you%20manage%20to%20calculate%20the%20LB%20score%20on%20HPA%20and%20Hubmap%3F\" target=\"_blank\">here</a><br>\nPS I don't know why copy link to highlight doesn't work. You can certainly check it in detail there.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1924851,
          "author_name": "Swikwislkdjc",
          "author_url": "",
          "post_date": "2022-09-03T13:15:36.333000",
          "content": "<p>Thanks!           </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1926977,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-09-05T09:47:11.897000",
      "content": "",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1924589,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-09-03T07:36:28.023000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1924592": "Assign empty string of rle to HPA samples. hengck23 taught the method [here](https://www.kaggle.com/competitions/hubmap-organ-segmentation/discussion/332941#:~:text=How%20did%20you%20manage%20to%20calculate%20the%20LB%20score%20on%20HPA%20and%20Hubmap%3F)\nPS I don't know why copy link to highlight doesn't work. You can certainly check it in detail there.",
    "1924342": "How to check HuBMAP score only? Anyone can share the code? I remember I read it in the discussion somewhere but couldn't find it...\n\n\n—————-\nFrom hengck23\n`#data_source =['Hubmap', 'HPA']\ndata_source =['HPA']\n\n`#organ = ['kidney', 'prostate', 'largeintestine', 'spleen', 'lung']\norgan = ['prostate', ]\n\n    for i,d in test_df.iterrows():\n        id = d['id']\n        if (d['data_source'] in data_source) and (d['organ'] in organ):\n               rle =    ... run you model and compute rle  # this gives your prediction score\n        else:\n                rle = ''  # this gives zero score `",
    "1926977": "",
    "1924589": ""
  }
}