{
  "id": 407510,
  "title": "Have some difficulty getting the submission in",
  "url": "/competitions/tlvmc-parkinsons-freezing-gait-prediction/discussion/407510",
  "author_name": "",
  "post_date": "2023-05-06T19:23:07.725043200Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi,</p>\n<p>I'm having some issues getting my submission in. My notebook runs fine, but the submission keeps failing. I've run out of attempts for today but to help my debugging are there any specific formatting requirements, like a maximum number of decimal places?</p>\n<ul>\n<li>the id's are all the same as the sample_submission</li>\n<li>the column headers are the same</li>\n<li>all predictions are between 0 and 1</li>\n</ul>\n<p>I see people quite often read in the sample submission and replace the label columns with their predictions so I may try this next, is there a reason for doing this?</p>\n<p>Otherwise, I'm pip installing a package from a kaggle dataset so maybe the issue is with this, running out of ideas though!</p>\n<p>Any help would be much appreciated.<br>\nThanks</p>",
  "messages": [
    {
      "id": "2248371",
      "postDate": "05/06/2023 19:23:07",
      "content": "<p>Hi,</p>\n<p>I'm having some issues getting my submission in. My notebook runs fine, but the submission keeps failing. I've run out of attempts for today but to help my debugging are there any specific formatting requirements, like a maximum number of decimal places?</p>\n<ul>\n<li>the id's are all the same as the sample_submission</li>\n<li>the column headers are the same</li>\n<li>all predictions are between 0 and 1</li>\n</ul>\n<p>I see people quite often read in the sample submission and replace the label columns with their predictions so I may try this next, is there a reason for doing this?</p>\n<p>Otherwise, I'm pip installing a package from a kaggle dataset so maybe the issue is with this, running out of ideas though!</p>\n<p>Any help would be much appreciated.<br>\nThanks</p>",
      "rawMarkdown": "Hi,\n\nI'm having some issues getting my submission in. My notebook runs fine, but the submission keeps failing. I've run out of attempts for today but to help my debugging are there any specific formatting requirements, like a maximum number of decimal places?\n\n* the id's are all the same as the sample_submission\n* the column headers are the same\n* all predictions are between 0 and 1\n\nI see people quite often read in the sample submission and replace the label columns with their predictions so I may try this next, is there a reason for doing this?\n\nOtherwise, I'm pip installing a package from a kaggle dataset so maybe the issue is with this, running out of ideas though!\n\nAny help would be much appreciated.\nThanks",
      "votes": null
    },
    {
      "id": "2248436",
      "postDate": "05/06/2023 20:58:47",
      "content": "<p>Hey Johnny,  </p>\n<p>Earlier in the competition <a href=\"https://www.kaggle.com/competitions/tlvmc-parkinsons-freezing-gait-prediction/discussion/394211\" target=\"_blank\">there was an issue</a> with the number of decimal places tripping up the scoring process but I think that has been fixed.</p>\n<p>Two possibilities come to mind:<br>\n--Have you submitted with out the index column? </p>\n<pre><code>submitThisDF.to_csv(, index=) \n</code></pre>\n<p>--The files in the hidden test set are not the same as the two we can see, so we must read in all files in the test directory.</p>",
      "rawMarkdown": "Hey Johnny,  \n\nEarlier in the competition [there was an issue](https://www.kaggle.com/competitions/tlvmc-parkinsons-freezing-gait-prediction/discussion/394211) with the number of decimal places tripping up the scoring process but I think that has been fixed.\n\nTwo possibilities come to mind:\n--Have you submitted with out the index column? \n\n```python\n\nsubmitThisDF.to_csv('submission.csv', index=False) \n```\n\n--The files in the hidden test set are not the same as the two we can see, so we must read in all files in the test directory.",
      "votes": null
    },
    {
      "id": "2248824",
      "postDate": "05/07/2023 08:23:16",
      "content": "<p>Thanks Austin, yeah it's submitted with no index. I've now rounded by predictions to 4 decimal places and changed by reading from the test folder to ensure all subfolders and files are picked up. I also only ran submission after running the version and it seems to have worked! Thanks for the help.</p>",
      "rawMarkdown": "Thanks Austin, yeah it's submitted with no index. I've now rounded by predictions to 4 decimal places and changed by reading from the test folder to ensure all subfolders and files are picked up. I also only ran submission after running the version and it seems to have worked! Thanks for the help.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2248436,
      "author_name": "austinhinkel",
      "author_url": "",
      "post_date": "05/06/2023 20:58:47",
      "content": "<p>Hey Johnny,  </p>\n<p>Earlier in the competition <a href=\"https://www.kaggle.com/competitions/tlvmc-parkinsons-freezing-gait-prediction/discussion/394211\" target=\"_blank\">there was an issue</a> with the number of decimal places tripping up the scoring process but I think that has been fixed.</p>\n<p>Two possibilities come to mind:<br>\n--Have you submitted with out the index column? </p>\n<pre><code>submitThisDF.to_csv(, index=) \n</code></pre>\n<p>--The files in the hidden test set are not the same as the two we can see, so we must read in all files in the test directory.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2248824,
          "author_name": "johnnyhyland",
          "author_url": "",
          "post_date": "05/07/2023 08:23:16",
          "content": "<p>Thanks Austin, yeah it's submitted with no index. I've now rounded by predictions to 4 decimal places and changed by reading from the test folder to ensure all subfolders and files are picked up. I also only ran submission after running the version and it seems to have worked! Thanks for the help.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2248371": "Hi,\n\nI'm having some issues getting my submission in. My notebook runs fine, but the submission keeps failing. I've run out of attempts for today but to help my debugging are there any specific formatting requirements, like a maximum number of decimal places?\n\n* the id's are all the same as the sample_submission\n* the column headers are the same\n* all predictions are between 0 and 1\n\nI see people quite often read in the sample submission and replace the label columns with their predictions so I may try this next, is there a reason for doing this?\n\nOtherwise, I'm pip installing a package from a kaggle dataset so maybe the issue is with this, running out of ideas though!\n\nAny help would be much appreciated.\nThanks",
    "2248436": "Hey Johnny,  \n\nEarlier in the competition [there was an issue](https://www.kaggle.com/competitions/tlvmc-parkinsons-freezing-gait-prediction/discussion/394211) with the number of decimal places tripping up the scoring process but I think that has been fixed.\n\nTwo possibilities come to mind:\n--Have you submitted with out the index column? \n\n```python\n\nsubmitThisDF.to_csv('submission.csv', index=False) \n```\n\n--The files in the hidden test set are not the same as the two we can see, so we must read in all files in the test directory.",
    "2248824": "Thanks Austin, yeah it's submitted with no index. I've now rounded by predictions to 4 decimal places and changed by reading from the test folder to ensure all subfolders and files are picked up. I also only ran submission after running the version and it seems to have worked! Thanks for the help."
  },
  "source": "meta"
}