{
  "id": 117235,
  "title": "Tricks to boost from 0.66 to 0.49",
  "url": "/competitions/rsna-intracranial-hemorrhage-detection/discussion/117235",
  "author_name": "spongebob",
  "post_date": "2019-11-14T03:34:09.678000",
  "votes": 19,
  "comment_count": 10,
  "views": 0,
  "content": "<p>trick1: If you sort by [patient ID, 'imageposition2'] you will find the lable is continue\ntrick2: patientID have an overlap in stage1 (not work at stage2)</p>\n\n<p>You can take this into feature enginnering. \nFor example, patientID with lable encoder, agg groupy, count encoding and lable encoding.\nYou can extract some time series feature like lag, diff, next/last, etc..</p>\n\n<p>All you need is a LightGBM/XGboost/Catboost or do some postprocessing.\nI perform a stacking with these features. It works well. </p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F983147%2Fd33b7efc54601e16ab18433c245b8c11%2Fleak.png?generation=1573702109414798&amp;alt=media\" alt=\"\"></p>\n\n<p>PS: I think seutao's sequence model is the best solution. All roads lead to Rome.</p>",
  "messages": [
    {
      "id": 672647,
      "postDate": "2019-11-14T03:34:09.680Z",
      "content": "<p>trick1: If you sort by [patient ID, 'imageposition2'] you will find the lable is continue\ntrick2: patientID have an overlap in stage1 (not work at stage2)</p>\n\n<p>You can take this into feature enginnering. \nFor example, patientID with lable encoder, agg groupy, count encoding and lable encoding.\nYou can extract some time series feature like lag, diff, next/last, etc..</p>\n\n<p>All you need is a LightGBM/XGboost/Catboost or do some postprocessing.\nI perform a stacking with these features. It works well. </p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F983147%2Fd33b7efc54601e16ab18433c245b8c11%2Fleak.png?generation=1573702109414798&amp;alt=media\" alt=\"\"></p>\n\n<p>PS: I think seutao's sequence model is the best solution. All roads lead to Rome.</p>",
      "rawMarkdown": "trick1: If you sort by [patient ID, 'imageposition2'] you will find the lable is continue\ntrick2: patientID have an overlap in stage1 (not work at stage2)\n\nYou can take this into feature enginnering. \nFor example, patientID with lable encoder, agg groupy, count encoding and lable encoding.\nYou can extract some time series feature like lag, diff, next/last, etc..\n\nAll you need is a LightGBM/XGboost/Catboost or do some postprocessing.\nI perform a stacking with these features. It works well. \n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F983147%2Fd33b7efc54601e16ab18433c245b8c11%2Fleak.png?generation=1573702109414798&amp;alt=media)\n\nPS: I think seutao's sequence model is the best solution. All roads lead to Rome.",
      "votes": 19
    },
    {
      "id": 672751,
      "postDate": "2019-11-14T05:50:32.280Z",
      "content": "<p>One patient might has multil series, so group by study_id make sense.</p>",
      "rawMarkdown": "One patient might has multil series, so group by study_id make sense.",
      "votes": 3,
      "replies": [
        {
          "id": 675581,
          "postDate": "2019-11-18T09:02:35.397Z",
          "content": "<p><a href=\"/lanjunyelan\">@lanjunyelan</a> \nCould u please help understand below things, i m struggling to understand the purpose of order by Z axis and group by Various fields like StudyInstanceUID in terms of what useful information does it provides.</p>\n\n<p>1) When we do order by ImagePostition2   ,In what way it helps the classification model.\n2) Is sequencing useful for single slice trained classification model using just windowing.\n3) Single PatientID is found under different studyID and seriesInstanceUID and has got different Target,what does it implies\n4) In what way we use group by StudyInstance UID on sorted Z axis data</p>",
          "rawMarkdown": "@lanjunyelan \nCould u please help understand below things, i m struggling to understand the purpose of order by Z axis and group by Various fields like StudyInstanceUID in terms of what useful information does it provides.\n\n1) When we do order by ImagePostition2   ,In what way it helps the classification model.\n2) Is sequencing useful for single slice trained classification model using just windowing.\n3) Single PatientID is found under different studyID and seriesInstanceUID and has got different Target,what does it implies\n4) In what way we use group by StudyInstance UID on sorted Z axis data"
        },
        {
          "id": 678174,
          "postDate": "2019-11-21T03:55:13.250Z",
          "content": "<p>I'm sorry for replying late. There are some domain knowledge in this competition.\n1. Input of the model is the combination of three continuous images from the same SeriesInstanceUID. There are more information in three continuous images than single image\n2. Yes, There are continuous label in series.\n3. I guess one patient might have multil CTs.\n4. pandas groupby and sort</p>",
          "rawMarkdown": "I'm sorry for replying late. There are some domain knowledge in this competition.\n1. Input of the model is the combination of three continuous images from the same SeriesInstanceUID. There are more information in three continuous images than single image\n2. Yes, There are continuous label in series.\n3. I guess one patient might have multil CTs.\n4. pandas groupby and sort"
        }
      ]
    },
    {
      "id": 672650,
      "postDate": "2019-11-14T03:38:48.213Z",
      "content": "<p>wow, great!</p>",
      "rawMarkdown": "wow, great!",
      "votes": 1,
      "replies": [
        {
          "id": 672651,
          "postDate": "2019-11-14T03:39:36.257Z",
          "content": "<p>Thanks, 阿水老师.</p>",
          "rawMarkdown": "Thanks, 阿水老师.",
          "votes": 1
        }
      ]
    },
    {
      "id": 673039,
      "postDate": "2019-11-14T12:42:17.413Z",
      "content": "<p>Indeed, this is more or less our post-processing as well (more details at <a href=\"https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117232#latest-673036\">https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117232#latest-673036</a>)</p>",
      "rawMarkdown": "Indeed, this is more or less our post-processing as well (more details at https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117232#latest-673036)"
    },
    {
      "id": 672893,
      "postDate": "2019-11-14T08:55:21.183Z",
      "content": "<p>Alas, I was so focused on modeling I only started working on this idea during stage2, out of curiosity... Good to see that some people had this kind of idea too and that it worked. Thanks for sharing your ideas though, I didn't think of the lag for example ! </p>",
      "rawMarkdown": "Alas, I was so focused on modeling I only started working on this idea during stage2, out of curiosity... Good to see that some people had this kind of idea too and that it worked. Thanks for sharing your ideas though, I didn't think of the lag for example ! "
    },
    {
      "id": 672783,
      "postDate": "2019-11-14T06:38:23.137Z",
      "content": "<p><a href=\"/baomengjiao\">@baomengjiao</a>  👍</p>",
      "rawMarkdown": "@baomengjiao  👍"
    },
    {
      "id": 672655,
      "postDate": "2019-11-14T03:43:32.083Z",
      "content": "<p>great</p>",
      "rawMarkdown": "great"
    },
    {
      "id": 673567,
      "postDate": "2019-11-15T07:01:27.087Z",
      "content": "<p>thanks for sharing</p>",
      "rawMarkdown": "thanks for sharing"
    }
  ],
  "comments": [
    {
      "id": 672751,
      "author_name": "yelan",
      "author_url": "",
      "post_date": "2019-11-14T05:50:32.280000",
      "content": "<p>One patient might has multil series, so group by study_id make sense.</p>",
      "votes": 3,
      "replies": [
        {
          "id": 675581,
          "author_name": "Jaideep",
          "author_url": "",
          "post_date": "2019-11-18T09:02:35.397000",
          "content": "<p><a href=\"/lanjunyelan\">@lanjunyelan</a> \nCould u please help understand below things, i m struggling to understand the purpose of order by Z axis and group by Various fields like StudyInstanceUID in terms of what useful information does it provides.</p>\n\n<p>1) When we do order by ImagePostition2   ,In what way it helps the classification model.\n2) Is sequencing useful for single slice trained classification model using just windowing.\n3) Single PatientID is found under different studyID and seriesInstanceUID and has got different Target,what does it implies\n4) In what way we use group by StudyInstance UID on sorted Z axis data</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 678174,
          "author_name": "yelan",
          "author_url": "",
          "post_date": "2019-11-21T03:55:13.250000",
          "content": "<p>I'm sorry for replying late. There are some domain knowledge in this competition.\n1. Input of the model is the combination of three continuous images from the same SeriesInstanceUID. There are more information in three continuous images than single image\n2. Yes, There are continuous label in series.\n3. I guess one patient might have multil CTs.\n4. pandas groupby and sort</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 672650,
      "author_name": "Finlay",
      "author_url": "",
      "post_date": "2019-11-14T03:38:48.213000",
      "content": "<p>wow, great!</p>",
      "votes": 1,
      "replies": [
        {
          "id": 672651,
          "author_name": "spongebob",
          "author_url": "",
          "post_date": "2019-11-14T03:39:36.257000",
          "content": "<p>Thanks, 阿水老师.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 673039,
      "author_name": "tarobxl",
      "author_url": "",
      "post_date": "2019-11-14T12:42:17.413000",
      "content": "<p>Indeed, this is more or less our post-processing as well (more details at <a href=\"https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117232#latest-673036\">https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117232#latest-673036</a>)</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 672893,
      "author_name": "Benjamin Dubreu",
      "author_url": "",
      "post_date": "2019-11-14T08:55:21.183000",
      "content": "<p>Alas, I was so focused on modeling I only started working on this idea during stage2, out of curiosity... Good to see that some people had this kind of idea too and that it worked. Thanks for sharing your ideas though, I didn't think of the lag for example ! </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 672783,
      "author_name": "YaGana Sheriff-Hussaini",
      "author_url": "",
      "post_date": "2019-11-14T06:38:23.137000",
      "content": "<p><a href=\"/baomengjiao\">@baomengjiao</a>  👍</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 672655,
      "author_name": "Zuping Wu",
      "author_url": "",
      "post_date": "2019-11-14T03:43:32.083000",
      "content": "<p>great</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 673567,
      "author_name": "yangDDD",
      "author_url": "",
      "post_date": "2019-11-15T07:01:27.087000",
      "content": "<p>thanks for sharing</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "672647": "trick1: If you sort by [patient ID, 'imageposition2'] you will find the lable is continue\ntrick2: patientID have an overlap in stage1 (not work at stage2)\n\nYou can take this into feature enginnering. \nFor example, patientID with lable encoder, agg groupy, count encoding and lable encoding.\nYou can extract some time series feature like lag, diff, next/last, etc..\n\nAll you need is a LightGBM/XGboost/Catboost or do some postprocessing.\nI perform a stacking with these features. It works well. \n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F983147%2Fd33b7efc54601e16ab18433c245b8c11%2Fleak.png?generation=1573702109414798&amp;alt=media)\n\nPS: I think seutao's sequence model is the best solution. All roads lead to Rome.",
    "672751": "One patient might has multil series, so group by study_id make sense.",
    "672650": "wow, great!",
    "673039": "Indeed, this is more or less our post-processing as well (more details at https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/discussion/117232#latest-673036)",
    "672893": "Alas, I was so focused on modeling I only started working on this idea during stage2, out of curiosity... Good to see that some people had this kind of idea too and that it worked. Thanks for sharing your ideas though, I didn't think of the lag for example ! ",
    "672783": "@baomengjiao  👍",
    "672655": "great",
    "673567": "thanks for sharing"
  }
}