{
  "id": 467657,
  "title": "Submission Issue",
  "url": "/competitions/hms-harmful-brain-activity-classification/discussion/467657",
  "author_name": "Double Cringe",
  "post_date": "2024-01-13T13:08:57.924000",
  "votes": 3,
  "comment_count": 6,
  "views": 0,
  "content": "<p>I have problem with making submission. Every time when I try to submit a see the incorrect format error. But my  submission corresponds the submission requirements<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11550654%2F1fcbe9441bdef08db11eae254eb962c7%2FCapture.PNG?generation=1705151178549386&amp;alt=media\"></p>\n<p>Pls give advice for submit to competition</p>",
  "messages": [
    {
      "id": 2600209,
      "postDate": "2024-01-13T13:08:57.923Z",
      "content": "<p>I have problem with making submission. Every time when I try to submit a see the incorrect format error. But my  submission corresponds the submission requirements<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11550654%2F1fcbe9441bdef08db11eae254eb962c7%2FCapture.PNG?generation=1705151178549386&amp;alt=media\"></p>\n<p>Pls give advice for submit to competition</p>",
      "rawMarkdown": "I have problem with making submission. Every time when I try to submit a see the incorrect format error. But my  submission corresponds the submission requirements\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11550654%2F1fcbe9441bdef08db11eae254eb962c7%2FCapture.PNG?generation=1705151178549386&alt=media)\n\nPls give advice for submit to competition",
      "votes": 3
    },
    {
      "id": 2600490,
      "postDate": "2024-01-13T17:15:16.827Z",
      "content": "<p><a href=\"https://www.kaggle.com/yannchikk\" target=\"_blank\">@yannchikk</a> i didn't find any issue in your details about sub, test once with train sequences to see is your code generating sum = 1</p>\n<p><a href=\"https://www.kaggle.com/code/seshurajup/eda-train-csv\" target=\"_blank\">Notebook - Train Eda </a><br>\nBelow logic always works for me from above notebook.</p>\n<pre><code>gap =  - ([(v,)  _, v  mean_vote_ratio.items()])\n(gap)\nmean_vote_ratio[] += gap\n</code></pre>",
      "rawMarkdown": "@yannchikk i didn't find any issue in your details about sub, test once with train sequences to see is your code generating sum = 1\n\n[Notebook - Train Eda ](https://www.kaggle.com/code/seshurajup/eda-train-csv)\nBelow logic always works for me from above notebook.\n\n```python\ngap = 1 - sum([round(v,6) for _, v in mean_vote_ratio.items()])\nprint(gap)\nmean_vote_ratio['other_vote'] += gap\n```",
      "votes": 1
    },
    {
      "id": 2600215,
      "postDate": "2024-01-13T13:12:44.730Z",
      "content": "<p>your postprocess have a problem on to_csv line(submission file is needed index).<br>\n(i told wrong thing, so you should forget it. submission file is not needed index…)</p>",
      "rawMarkdown": "your postprocess have a problem on to_csv line(submission file is needed index).\n(i told wrong thing, so you should forget it. submission file is not needed index...)",
      "votes": 1,
      "replies": [
        {
          "id": 2600576,
          "postDate": "2024-01-13T18:17:04.510Z",
          "content": "<p>my submission has been throwing out a scoring error, but i'm not sure why. i didn't see an index on the sample_submission file - does it actually need an index in the submission? does it say there anywhere?</p>\n<p>when i run the code manually i get a normal looking output, but something is happening during submission (i'm not very familiar with code submission notebooks though).</p>\n<p><code>eeg_id,seizure_vote,lpd_vote,gpd_vote,lrda_vote,grda_vote,other_vote\n3911565312,0.09,0.16,0.09857142857142857,0.23,0.19142857142857142,0.23\n</code></p>",
          "rawMarkdown": "my submission has been throwing out a scoring error, but i'm not sure why. i didn't see an index on the sample_submission file - does it actually need an index in the submission? does it say there anywhere?\n\nwhen i run the code manually i get a normal looking output, but something is happening during submission (i'm not very familiar with code submission notebooks though).\n\n`eeg_id,seizure_vote,lpd_vote,gpd_vote,lrda_vote,grda_vote,other_vote\n3911565312,0.09,0.16,0.09857142857142857,0.23,0.19142857142857142,0.23\n`",
          "replies": [
            {
              "id": 2601272,
              "postDate": "2024-01-14T09:52:45.520Z",
              "content": "<p>My submission ran successfully, and the sample EEG-ID is 3911565283.</p>",
              "rawMarkdown": "My submission ran successfully, and the sample EEG-ID is 3911565283."
            }
          ]
        }
      ]
    },
    {
      "id": 2635665,
      "postDate": "2024-02-04T14:47:22.603Z",
      "content": "<p>The competition uses hidden test data as well to score the submissions. So, the issue maybe that your code is not handling test data of different shapes and values very well.</p>\n<p>Check the following <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373\" target=\"_blank\">discussion</a></p>",
      "rawMarkdown": "The competition uses hidden test data as well to score the submissions. So, the issue maybe that your code is not handling test data of different shapes and values very well.\n\nCheck the following [discussion](https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373)"
    },
    {
      "id": 2685974,
      "postDate": "2024-03-07T14:53:06.957Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2600490,
      "author_name": "SeshuRaju 🧘‍♂️",
      "author_url": "",
      "post_date": "2024-01-13T17:15:16.827000",
      "content": "<p><a href=\"https://www.kaggle.com/yannchikk\" target=\"_blank\">@yannchikk</a> i didn't find any issue in your details about sub, test once with train sequences to see is your code generating sum = 1</p>\n<p><a href=\"https://www.kaggle.com/code/seshurajup/eda-train-csv\" target=\"_blank\">Notebook - Train Eda </a><br>\nBelow logic always works for me from above notebook.</p>\n<pre><code>gap =  - ([(v,)  _, v  mean_vote_ratio.items()])\n(gap)\nmean_vote_ratio[] += gap\n</code></pre>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2600215,
      "author_name": "nakagawaren0805",
      "author_url": "",
      "post_date": "2024-01-13T13:12:44.730000",
      "content": "<p>your postprocess have a problem on to_csv line(submission file is needed index).<br>\n(i told wrong thing, so you should forget it. submission file is not needed index…)</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2600576,
          "author_name": "pollodelmar",
          "author_url": "",
          "post_date": "2024-01-13T18:17:04.510000",
          "content": "<p>my submission has been throwing out a scoring error, but i'm not sure why. i didn't see an index on the sample_submission file - does it actually need an index in the submission? does it say there anywhere?</p>\n<p>when i run the code manually i get a normal looking output, but something is happening during submission (i'm not very familiar with code submission notebooks though).</p>\n<p><code>eeg_id,seizure_vote,lpd_vote,gpd_vote,lrda_vote,grda_vote,other_vote\n3911565312,0.09,0.16,0.09857142857142857,0.23,0.19142857142857142,0.23\n</code></p>",
          "votes": 0,
          "replies": [
            {
              "id": 2601272,
              "author_name": "nakagawaren0805",
              "author_url": "",
              "post_date": "2024-01-14T09:52:45.520000",
              "content": "<p>My submission ran successfully, and the sample EEG-ID is 3911565283.</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2635665,
      "author_name": "Ez",
      "author_url": "",
      "post_date": "2024-02-04T14:47:22.603000",
      "content": "<p>The competition uses hidden test data as well to score the submissions. So, the issue maybe that your code is not handling test data of different shapes and values very well.</p>\n<p>Check the following <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373\" target=\"_blank\">discussion</a></p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2685974,
      "author_name": "",
      "author_url": "",
      "post_date": "2024-03-07T14:53:06.957000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2600209": "I have problem with making submission. Every time when I try to submit a see the incorrect format error. But my  submission corresponds the submission requirements\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11550654%2F1fcbe9441bdef08db11eae254eb962c7%2FCapture.PNG?generation=1705151178549386&alt=media)\n\nPls give advice for submit to competition",
    "2600490": "@yannchikk i didn't find any issue in your details about sub, test once with train sequences to see is your code generating sum = 1\n\n[Notebook - Train Eda ](https://www.kaggle.com/code/seshurajup/eda-train-csv)\nBelow logic always works for me from above notebook.\n\n```python\ngap = 1 - sum([round(v,6) for _, v in mean_vote_ratio.items()])\nprint(gap)\nmean_vote_ratio['other_vote'] += gap\n```",
    "2600215": "your postprocess have a problem on to_csv line(submission file is needed index).\n(i told wrong thing, so you should forget it. submission file is not needed index...)",
    "2635665": "The competition uses hidden test data as well to score the submissions. So, the issue maybe that your code is not handling test data of different shapes and values very well.\n\nCheck the following [discussion](https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373)",
    "2685974": ""
  }
}