{
  "id": 468498,
  "title": "what is the use of label_id in the dataset?",
  "url": "/competitions/hms-harmful-brain-activity-classification/discussion/468498",
  "author_name": "",
  "post_date": "2024-01-16T20:35:08.961724900Z",
  "votes": 3,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Hi team<br>\nI try to figure out the importance of label_id. I didn't get any way to use this.  Is this a dummy variable or any relationship is there between patient_id, eeg_id and spectrogram_id? <br>\nPlease answer </p>",
  "messages": [
    {
      "id": "2605091",
      "postDate": "01/16/2024 20:35:08",
      "content": "<p>Hi team<br>\nI try to figure out the importance of label_id. I didn't get any way to use this.  Is this a dummy variable or any relationship is there between patient_id, eeg_id and spectrogram_id? <br>\nPlease answer </p>",
      "rawMarkdown": "Hi team\nI try to figure out the importance of label_id. I didn't get any way to use this.  Is this a dummy variable or any relationship is there between patient_id, eeg_id and spectrogram_id? \nPlease answer",
      "votes": null
    },
    {
      "id": "2605098",
      "postDate": "01/16/2024 20:39:55",
      "content": "<pre><code> pandas  pd\ntrain = pd.read_csv()\ntrain.shape[]\n ==&gt; total sub-sequences\n\ntrain[].nunique()\n ==&gt; total label_ids\n</code></pre>\n<p>Mostly its related to middle 10secs sub-sequence unique id =&gt; label id.</p>",
      "rawMarkdown": "```python\nimport pandas as pd\ntrain = pd.read_csv(\"/kaggle/input/hms-harmful-brain-activity-classification/train.csv\")\ntrain.shape[0]\n106800 ==> total sub-sequences\n\ntrain['label_id'].nunique()\n106800 ==> total label_ids\n```\nMostly its related to middle 10secs sub-sequence unique id => label id.",
      "votes": null
    },
    {
      "id": "2605116",
      "postDate": "01/16/2024 20:55:28",
      "content": "<p><a href=\"https://www.kaggle.com/seshurajup\" target=\"_blank\">@seshurajup</a> <br>\nGlad you answered this question, but the code shows the unique IDs. but does not show any relationship, or I miss something. plz clarify this </p>",
      "rawMarkdown": "seshurajup \nGlad you answered this question, but the code shows the unique IDs. but does not show any relationship, or I miss something. plz clarify this",
      "votes": null
    },
    {
      "id": "2605124",
      "postDate": "01/16/2024 21:03:52",
      "content": "<p>from this discussion <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/468010\" target=\"_blank\">Understanding Competition Data and EfficientNetB2 Starter - LB 0.57</a></p>\n<p><img src=\"https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Jan-2024/brain5.png\"><br>\nevery eeg sequenced have multiple sub-sequences, </p>\n<ul>\n<li>we already have unique id for sub-sequence</li>\n<li>unique for each sub-sequence's 10secs window is the label id - <strong>An ID for this set of labels.</strong></li>\n<li>its my assumption as 10secs is used or labels</li>\n</ul>",
      "rawMarkdown": "from this discussion [Understanding Competition Data and EfficientNetB2 Starter - LB 0.57](https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/468010)\n\n![](https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Jan-2024/brain5.png)\nevery eeg sequenced have multiple sub-sequences, \n- we already have unique id for sub-sequence\n- unique for each sub-sequence's 10secs window is the label id - **An ID for this set of labels.**\n- its my assumption as 10secs is used or labels",
      "votes": null
    },
    {
      "id": "2605145",
      "postDate": "01/16/2024 21:51:55",
      "content": "<p>Thank you <a href=\"https://www.kaggle.com/seshurajup\" target=\"_blank\">@seshurajup</a> sharing this post. Got it :)</p>",
      "rawMarkdown": "Thank you @seshurajup sharing this post. Got it :)",
      "votes": null
    },
    {
      "id": "2607459",
      "postDate": "01/18/2024 08:42:17",
      "content": "<p>how does it encoded and why 10 secs？</p>",
      "rawMarkdown": "how does it encoded and why 10 secs？",
      "votes": null
    },
    {
      "id": "2607862",
      "postDate": "01/18/2024 13:36:52",
      "content": "<p><a href=\"https://www.kaggle.com/suanbaicai\" target=\"_blank\">@suanbaicai</a> go through Discussion - Understanding Competition Data and EfficientNetB2 Starter - LB 0.57</p>",
      "rawMarkdown": "suanbaicai go through Discussion - Understanding Competition Data and EfficientNetB2 Starter - LB 0.57",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2605098,
      "author_name": "seshurajup",
      "author_url": "",
      "post_date": "01/16/2024 20:39:55",
      "content": "<pre><code> pandas  pd\ntrain = pd.read_csv()\ntrain.shape[]\n ==&gt; total sub-sequences\n\ntrain[].nunique()\n ==&gt; total label_ids\n</code></pre>\n<p>Mostly its related to middle 10secs sub-sequence unique id =&gt; label id.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2605116,
          "author_name": "santusrk",
          "author_url": "",
          "post_date": "01/16/2024 20:55:28",
          "content": "<p><a href=\"https://www.kaggle.com/seshurajup\" target=\"_blank\">@seshurajup</a> <br>\nGlad you answered this question, but the code shows the unique IDs. but does not show any relationship, or I miss something. plz clarify this </p>",
          "votes": null,
          "replies": [
            {
              "id": 2605124,
              "author_name": "seshurajup",
              "author_url": "",
              "post_date": "01/16/2024 21:03:52",
              "content": "<p>from this discussion <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/468010\" target=\"_blank\">Understanding Competition Data and EfficientNetB2 Starter - LB 0.57</a></p>\n<p><img src=\"https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Jan-2024/brain5.png\"><br>\nevery eeg sequenced have multiple sub-sequences, </p>\n<ul>\n<li>we already have unique id for sub-sequence</li>\n<li>unique for each sub-sequence's 10secs window is the label id - <strong>An ID for this set of labels.</strong></li>\n<li>its my assumption as 10secs is used or labels</li>\n</ul>",
              "votes": null,
              "replies": [
                {
                  "id": 2605145,
                  "author_name": "santusrk",
                  "author_url": "",
                  "post_date": "01/16/2024 21:51:55",
                  "content": "<p>Thank you <a href=\"https://www.kaggle.com/seshurajup\" target=\"_blank\">@seshurajup</a> sharing this post. Got it :)</p>",
                  "votes": null,
                  "replies": []
                },
                {
                  "id": 2607459,
                  "author_name": "suanbaicai",
                  "author_url": "",
                  "post_date": "01/18/2024 08:42:17",
                  "content": "<p>how does it encoded and why 10 secs？</p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 2607862,
                      "author_name": "seshurajup",
                      "author_url": "",
                      "post_date": "01/18/2024 13:36:52",
                      "content": "<p><a href=\"https://www.kaggle.com/suanbaicai\" target=\"_blank\">@suanbaicai</a> go through Discussion - Understanding Competition Data and EfficientNetB2 Starter - LB 0.57</p>",
                      "votes": null,
                      "replies": []
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2605091": "Hi team\nI try to figure out the importance of label_id. I didn't get any way to use this.  Is this a dummy variable or any relationship is there between patient_id, eeg_id and spectrogram_id? \nPlease answer",
    "2605098": "```python\nimport pandas as pd\ntrain = pd.read_csv(\"/kaggle/input/hms-harmful-brain-activity-classification/train.csv\")\ntrain.shape[0]\n106800 ==> total sub-sequences\n\ntrain['label_id'].nunique()\n106800 ==> total label_ids\n```\nMostly its related to middle 10secs sub-sequence unique id => label id.",
    "2605116": "seshurajup \nGlad you answered this question, but the code shows the unique IDs. but does not show any relationship, or I miss something. plz clarify this",
    "2605124": "from this discussion [Understanding Competition Data and EfficientNetB2 Starter - LB 0.57](https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/468010)\n\n![](https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Jan-2024/brain5.png)\nevery eeg sequenced have multiple sub-sequences, \n- we already have unique id for sub-sequence\n- unique for each sub-sequence's 10secs window is the label id - **An ID for this set of labels.**\n- its my assumption as 10secs is used or labels",
    "2605145": "Thank you @seshurajup sharing this post. Got it :)",
    "2607459": "how does it encoded and why 10 secs？",
    "2607862": "suanbaicai go through Discussion - Understanding Competition Data and EfficientNetB2 Starter - LB 0.57"
  },
  "source": "meta"
}