{
  "id": 469149,
  "title": "need help....",
  "url": "/competitions/hms-harmful-brain-activity-classification/discussion/469149",
  "author_name": "",
  "post_date": "2024-01-19T09:48:12.915946200Z",
  "votes": 6,
  "comment_count": 5,
  "views": 0,
  "content": "<p>who can help me that my note book always run error as below , I think the format of submission.csv is correct …<br>\n error :<br>\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips</p>\n<p><a href=\"https://www.kaggle.com/code/liuyanfeng/hms-prediction-baseline-tf/notebook\" target=\"_blank\">https://www.kaggle.com/code/liuyanfeng/hms-prediction-baseline-tf/notebook</a></p>",
  "messages": [
    {
      "id": "2609192",
      "postDate": "01/19/2024 09:48:12",
      "content": "<p>who can help me that my note book always run error as below , I think the format of submission.csv is correct …<br>\n error :<br>\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips</p>\n<p><a href=\"https://www.kaggle.com/code/liuyanfeng/hms-prediction-baseline-tf/notebook\" target=\"_blank\">https://www.kaggle.com/code/liuyanfeng/hms-prediction-baseline-tf/notebook</a></p>",
      "rawMarkdown": "who can help me that my note book always run error as below , I think the format of submission.csv is correct ...\n error :\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips\n\nhttps://www.kaggle.com/code/liuyanfeng/hms-prediction-baseline-tf/notebook",
      "votes": null
    },
    {
      "id": "2609360",
      "postDate": "01/19/2024 12:20:20",
      "content": "<p>As a possibility. If the probability is output without problems, the total value may not be 1.</p>\n<blockquote>\n  <p>『Your total predicted probabilities for each row must sum to one or your submission will fail.』<br>\n  <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/overview/evaluation\" target=\"_blank\">https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/overview/evaluation</a></p>\n</blockquote>",
      "rawMarkdown": "As a possibility. If the probability is output without problems, the total value may not be 1.\n\n> 『Your total predicted probabilities for each row must sum to one or your submission will fail.』\nhttps://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/overview/evaluation",
      "votes": null
    },
    {
      "id": "2612865",
      "postDate": "01/21/2024 17:10:28",
      "content": "<p>hello i am facing the same issue….my output is correct</p>",
      "rawMarkdown": "hello i am facing the same issue....my output is correct",
      "votes": null
    },
    {
      "id": "2613281",
      "postDate": "01/22/2024 01:31:08",
      "content": "<p>It may be that the visible row of \"sample_submission.csv\" has a total of 1, <br>\nbut the invisible row after submission does not have a total of 1.</p>\n<p>As a simple snippet of dataframe,<br>\nYou can give a function to make the sum of the rows equal to 1, so this may be a hint to the solution.</p>\n<pre><code>pred_df.apply(lambda : /.sum() axis)\n</code></pre>\n<ul>\n<li>here for the image Notebook<ul>\n<li><a href=\"https://www.kaggle.com/code/hideyukizushi/hms-totalvalue1/notebook\" target=\"_blank\">https://www.kaggle.com/code/hideyukizushi/hms-totalvalue1/notebook</a></li>\n<li>※Please note that this example does not include the \"egg_id\" column and is a snippet.</li></ul></li>\n</ul>",
      "rawMarkdown": "It may be that the visible row of \"sample_submission.csv\" has a total of 1, \nbut the invisible row after submission does not have a total of 1.\n\nAs a simple snippet of dataframe,\nYou can give a function to make the sum of the rows equal to 1, so this may be a hint to the solution.\n\n```\npred_df.apply(lambda x: x/x.sum(), axis=1)\n```\n\n\n* here for the image Notebook\n     * https://www.kaggle.com/code/hideyukizushi/hms-totalvalue1/notebook\n     * ※Please note that this example does not include the \"egg_id\" column and is a snippet.",
      "votes": null
    },
    {
      "id": "2614135",
      "postDate": "01/22/2024 13:07:53",
      "content": "<p>i tried your hint but got the same error even though my file is in correct format!!!! am i missing something??</p>",
      "rawMarkdown": "i tried your hint but got the same error even though my file is in correct format!!!! am i missing something??",
      "votes": null
    },
    {
      "id": "2635672",
      "postDate": "02/04/2024 14:52:52",
      "content": "<p>Your notebook is not there any more. this may help if you still facing the same issue <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373\" target=\"_blank\">https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373</a></p>",
      "rawMarkdown": "Your notebook is not there any more. this may help if you still facing the same issue https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2609360,
      "author_name": "hideyukizushi",
      "author_url": "",
      "post_date": "01/19/2024 12:20:20",
      "content": "<p>As a possibility. If the probability is output without problems, the total value may not be 1.</p>\n<blockquote>\n  <p>『Your total predicted probabilities for each row must sum to one or your submission will fail.』<br>\n  <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/overview/evaluation\" target=\"_blank\">https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/overview/evaluation</a></p>\n</blockquote>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2612865,
      "author_name": "senku04",
      "author_url": "",
      "post_date": "01/21/2024 17:10:28",
      "content": "<p>hello i am facing the same issue….my output is correct</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2613281,
      "author_name": "hideyukizushi",
      "author_url": "",
      "post_date": "01/22/2024 01:31:08",
      "content": "<p>It may be that the visible row of \"sample_submission.csv\" has a total of 1, <br>\nbut the invisible row after submission does not have a total of 1.</p>\n<p>As a simple snippet of dataframe,<br>\nYou can give a function to make the sum of the rows equal to 1, so this may be a hint to the solution.</p>\n<pre><code>pred_df.apply(lambda : /.sum() axis)\n</code></pre>\n<ul>\n<li>here for the image Notebook<ul>\n<li><a href=\"https://www.kaggle.com/code/hideyukizushi/hms-totalvalue1/notebook\" target=\"_blank\">https://www.kaggle.com/code/hideyukizushi/hms-totalvalue1/notebook</a></li>\n<li>※Please note that this example does not include the \"egg_id\" column and is a snippet.</li></ul></li>\n</ul>",
      "votes": null,
      "replies": [
        {
          "id": 2614135,
          "author_name": "senku04",
          "author_url": "",
          "post_date": "01/22/2024 13:07:53",
          "content": "<p>i tried your hint but got the same error even though my file is in correct format!!!! am i missing something??</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2635672,
      "author_name": "eouedraogo4",
      "author_url": "",
      "post_date": "02/04/2024 14:52:52",
      "content": "<p>Your notebook is not there any more. this may help if you still facing the same issue <a href=\"https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373\" target=\"_blank\">https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2609192": "who can help me that my note book always run error as below , I think the format of submission.csv is correct ...\n error :\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips\n\nhttps://www.kaggle.com/code/liuyanfeng/hms-prediction-baseline-tf/notebook",
    "2609360": "As a possibility. If the probability is output without problems, the total value may not be 1.\n\n> 『Your total predicted probabilities for each row must sum to one or your submission will fail.』\nhttps://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/overview/evaluation",
    "2612865": "hello i am facing the same issue....my output is correct",
    "2613281": "It may be that the visible row of \"sample_submission.csv\" has a total of 1, \nbut the invisible row after submission does not have a total of 1.\n\nAs a simple snippet of dataframe,\nYou can give a function to make the sum of the rows equal to 1, so this may be a hint to the solution.\n\n```\npred_df.apply(lambda x: x/x.sum(), axis=1)\n```\n\n\n* here for the image Notebook\n     * https://www.kaggle.com/code/hideyukizushi/hms-totalvalue1/notebook\n     * ※Please note that this example does not include the \"egg_id\" column and is a snippet.",
    "2614135": "i tried your hint but got the same error even though my file is in correct format!!!! am i missing something??",
    "2635672": "Your notebook is not there any more. this may help if you still facing the same issue https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/473373"
  },
  "source": "meta"
}