{
  "id": 435417,
  "title": "What are high grade solid organ injuries?",
  "url": "/competitions/rsna-2023-abdominal-trauma-detection/discussion/435417",
  "author_name": "MD Mushfirat Mohaimin",
  "post_date": "2023-08-29T09:44:54.836000",
  "votes": 1,
  "comment_count": 5,
  "views": 0,
  "content": "<p>From the evaluation section:</p>\n<blockquote>\n  <p>The sample weights are as follows:</p>\n  <ul>\n  <li>1 for all healthy labels.</li>\n  <li>2 for low grade solid organ injuries (liver, spleen, kidney).</li>\n  <li>4 for high grade solid organ injuries.</li>\n  <li>2 for bowel injuries.</li>\n  <li>6 for extravasation.</li>\n  <li>6 for the auto-generated any_injury label.</li>\n  </ul>\n</blockquote>\n<p>What is meant by \"high grade solid organ injuries\" here?</p>",
  "messages": [
    {
      "id": 2414250,
      "postDate": "2023-08-29T13:54:13.487Z",
      "content": "<p>it means:</p>\n<pre><code>    truth_df.loc[:, ]=truth_df[ ]* + truth_df[ ]* + truth_df[ ]*\n    truth_df.loc[:,]=truth_df[]* + truth_df[]* + truth_df[]*\n    truth_df.loc[:,]=truth_df[]* + truth_df[]* + truth_df[]*\n    truth_df.loc[:, ]=truth_df[ ]* + truth_df[ ]*\n    truth_df.loc[:, ]=truth_df[ ]* + truth_df[ ]*\n    truth_df.loc[:, ]=truth_df[ ]*\n\n    # weight for == is zero or one ????\n</code></pre>\n<p>in the sample metric code:<br>\n<a href=\"https://www.kaggle.com/code/metric/rsna-trauma-metric/notebook\" target=\"_blank\">https://www.kaggle.com/code/metric/rsna-trauma-metric/notebook</a></p>\n<pre><code>solution is computed as above\n\n        label_group_losses(\n            sklearn(\n                y_true=solution,\n                y_pred=submission,\n                sample_weight=solution\n            )\n        )\n</code></pre>\n<p>the only thing i am unsure of is 'any_injury_weight'  as stated in the comment above. whether non injury is zero or one?</p>",
      "rawMarkdown": "it means:\n\n```\n\ttruth_df.loc[:,'liver_weight' ]=truth_df['liver_healthy' ]*1 + truth_df['liver_low' ]*2 + truth_df['liver_high' ]*4\n\ttruth_df.loc[:,'spleen_weight']=truth_df['spleen_healthy']*1 + truth_df['spleen_low']*2 + truth_df['spleen_high']*4\n\ttruth_df.loc[:,'kidney_weight']=truth_df['kidney_healthy']*1 + truth_df['kidney_low']*2 + truth_df['kidney_high']*4\n\ttruth_df.loc[:,'bowel_weight' ]=truth_df['bowel_healthy' ]*1 + truth_df['bowel_injury' ]*6\n\ttruth_df.loc[:,'extravasation_weight' ]=truth_df['extravasation_healthy' ]*1 + truth_df['extravasation_injury' ]*6\n\ttruth_df.loc[:,'any_injury_weight' ]=truth_df['any_injury' ]*6\n\n\t# weight for 'any_injury'==0 is zero or one ????\n\n```\n\nin the sample metric code:\nhttps://www.kaggle.com/code/metric/rsna-trauma-metric/notebook\n\n```\nsolution[f'{category}_weight'].values is computed as above\n\n\t\tlabel_group_losses.append(\n\t\t\tsklearn.metrics.log_loss(\n\t\t\t\ty_true=solution[col_group].values,\n\t\t\t\ty_pred=submission[col_group].values,\n\t\t\t\tsample_weight=solution[f'{category}_weight'].values\n\t\t\t)\n\t\t)\n\n```\nthe only thing i am unsure of is 'any\\_injury\\_weight'  as stated in the comment above. whether non injury is zero or one?",
      "votes": 1,
      "replies": [
        {
          "id": 2414445,
          "postDate": "2023-08-29T16:25:24.453Z",
          "content": "<p>any_injury == 1, weight is 6,<br>\nany_injury == 0, weight is 1</p>",
          "rawMarkdown": "any_injury == 1, weight is 6,\nany_injury == 0, weight is 1"
        }
      ]
    },
    {
      "id": 2414143,
      "postDate": "2023-08-29T12:21:22.187Z",
      "content": "<p>Injuries graded as AAST I - III are grouped together as low grade while AAST IV and V are considered high grade injuries.</p>\n<p><a href=\"https://www.aast.org/resources-detail/injury-scoring-scale\" target=\"_blank\">https://www.aast.org/resources-detail/injury-scoring-scale</a></p>",
      "rawMarkdown": "Injuries graded as AAST I - III are grouped together as low grade while AAST IV and V are considered high grade injuries.\n\nhttps://www.aast.org/resources-detail/injury-scoring-scale",
      "votes": 1
    },
    {
      "id": 2414040,
      "postDate": "2023-08-29T10:44:23.997Z",
      "content": "<p>high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each<br>\nlow grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each</p>",
      "rawMarkdown": "high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each\nlow grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each",
      "votes": 1,
      "replies": [
        {
          "id": 2415421,
          "postDate": "2023-08-30T10:11:17.947Z",
          "content": "<blockquote>\n  <p>high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each<br>\n  low grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each<br>\n  Ty for explaining!</p>\n</blockquote>",
          "rawMarkdown": "> high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each\n> low grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each\nTy for explaining!\n"
        }
      ]
    },
    {
      "id": 2413998,
      "postDate": "2023-08-29T09:44:54.837Z",
      "content": "<p>From the evaluation section:</p>\n<blockquote>\n  <p>The sample weights are as follows:</p>\n  <ul>\n  <li>1 for all healthy labels.</li>\n  <li>2 for low grade solid organ injuries (liver, spleen, kidney).</li>\n  <li>4 for high grade solid organ injuries.</li>\n  <li>2 for bowel injuries.</li>\n  <li>6 for extravasation.</li>\n  <li>6 for the auto-generated any_injury label.</li>\n  </ul>\n</blockquote>\n<p>What is meant by \"high grade solid organ injuries\" here?</p>",
      "rawMarkdown": "From the evaluation section:\n> The sample weights are as follows:\n- 1 for all healthy labels.\n- 2 for low grade solid organ injuries (liver, spleen, kidney).\n- 4 for high grade solid organ injuries.\n- 2 for bowel injuries.\n- 6 for extravasation.\n- 6 for the auto-generated any_injury label.\n\nWhat is meant by \"high grade solid organ injuries\" here?",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 2414250,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2023-08-29T13:54:13.487000",
      "content": "<p>it means:</p>\n<pre><code>    truth_df.loc[:, ]=truth_df[ ]* + truth_df[ ]* + truth_df[ ]*\n    truth_df.loc[:,]=truth_df[]* + truth_df[]* + truth_df[]*\n    truth_df.loc[:,]=truth_df[]* + truth_df[]* + truth_df[]*\n    truth_df.loc[:, ]=truth_df[ ]* + truth_df[ ]*\n    truth_df.loc[:, ]=truth_df[ ]* + truth_df[ ]*\n    truth_df.loc[:, ]=truth_df[ ]*\n\n    # weight for == is zero or one ????\n</code></pre>\n<p>in the sample metric code:<br>\n<a href=\"https://www.kaggle.com/code/metric/rsna-trauma-metric/notebook\" target=\"_blank\">https://www.kaggle.com/code/metric/rsna-trauma-metric/notebook</a></p>\n<pre><code>solution is computed as above\n\n        label_group_losses(\n            sklearn(\n                y_true=solution,\n                y_pred=submission,\n                sample_weight=solution\n            )\n        )\n</code></pre>\n<p>the only thing i am unsure of is 'any_injury_weight'  as stated in the comment above. whether non injury is zero or one?</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2414445,
          "author_name": "Priya Nagda",
          "author_url": "",
          "post_date": "2023-08-29T16:25:24.453000",
          "content": "<p>any_injury == 1, weight is 6,<br>\nany_injury == 0, weight is 1</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2414143,
      "author_name": "Errol Colak",
      "author_url": "",
      "post_date": "2023-08-29T12:21:22.187000",
      "content": "<p>Injuries graded as AAST I - III are grouped together as low grade while AAST IV and V are considered high grade injuries.</p>\n<p><a href=\"https://www.aast.org/resources-detail/injury-scoring-scale\" target=\"_blank\">https://www.aast.org/resources-detail/injury-scoring-scale</a></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2414040,
      "author_name": "Priya Nagda",
      "author_url": "",
      "post_date": "2023-08-29T10:44:23.997000",
      "content": "<p>high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each<br>\nlow grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2415421,
          "author_name": "Bot_developer11",
          "author_url": "",
          "post_date": "2023-08-30T10:11:17.947000",
          "content": "<blockquote>\n  <p>high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each<br>\n  low grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each<br>\n  Ty for explaining!</p>\n</blockquote>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2414250": "it means:\n\n```\n\ttruth_df.loc[:,'liver_weight' ]=truth_df['liver_healthy' ]*1 + truth_df['liver_low' ]*2 + truth_df['liver_high' ]*4\n\ttruth_df.loc[:,'spleen_weight']=truth_df['spleen_healthy']*1 + truth_df['spleen_low']*2 + truth_df['spleen_high']*4\n\ttruth_df.loc[:,'kidney_weight']=truth_df['kidney_healthy']*1 + truth_df['kidney_low']*2 + truth_df['kidney_high']*4\n\ttruth_df.loc[:,'bowel_weight' ]=truth_df['bowel_healthy' ]*1 + truth_df['bowel_injury' ]*6\n\ttruth_df.loc[:,'extravasation_weight' ]=truth_df['extravasation_healthy' ]*1 + truth_df['extravasation_injury' ]*6\n\ttruth_df.loc[:,'any_injury_weight' ]=truth_df['any_injury' ]*6\n\n\t# weight for 'any_injury'==0 is zero or one ????\n\n```\n\nin the sample metric code:\nhttps://www.kaggle.com/code/metric/rsna-trauma-metric/notebook\n\n```\nsolution[f'{category}_weight'].values is computed as above\n\n\t\tlabel_group_losses.append(\n\t\t\tsklearn.metrics.log_loss(\n\t\t\t\ty_true=solution[col_group].values,\n\t\t\t\ty_pred=submission[col_group].values,\n\t\t\t\tsample_weight=solution[f'{category}_weight'].values\n\t\t\t)\n\t\t)\n\n```\nthe only thing i am unsure of is 'any\\_injury\\_weight'  as stated in the comment above. whether non injury is zero or one?",
    "2414143": "Injuries graded as AAST I - III are grouped together as low grade while AAST IV and V are considered high grade injuries.\n\nhttps://www.aast.org/resources-detail/injury-scoring-scale",
    "2414040": "high grade solid organ injuries: kidney_high, liver_high, spleen_high, weight of 4 for each\nlow grade solid organ injuries: kidney_low, liver_low, spleen_low, weight of 2 for each",
    "2413998": "From the evaluation section:\n> The sample weights are as follows:\n- 1 for all healthy labels.\n- 2 for low grade solid organ injuries (liver, spleen, kidney).\n- 4 for high grade solid organ injuries.\n- 2 for bowel injuries.\n- 6 for extravasation.\n- 6 for the auto-generated any_injury label.\n\nWhat is meant by \"high grade solid organ injuries\" here?"
  }
}