{
  "id": 81308,
  "title": "How to make submission ???",
  "url": "/competitions/LANL-Earthquake-Prediction/discussion/81308",
  "author_name": "",
  "post_date": "2019-02-20T16:39:31.234863100Z",
  "votes": 1,
  "comment_count": 3,
  "views": 0,
  "content": "<p>after building my model i am having difficulity on understanding on how to make submission files on multiple test case data</p>",
  "messages": [
    {
      "id": "475345",
      "postDate": "02/20/2019 16:39:31",
      "content": "<p>after building my model i am having difficulity on understanding on how to make submission files on multiple test case data</p>",
      "rawMarkdown": "after building my model i am having difficulity on understanding on how to make submission files on multiple test case data",
      "votes": null
    },
    {
      "id": "475999",
      "postDate": "02/21/2019 13:38:21",
      "content": "<p>If you want to save your CSV file in Kaggle:</p>\n\n<ol>\n<li>Write this line of code (if your dataframe name is df):</li>\n<li>df.to_csv('mycsvfile.csv',index=False)</li>\n<li>Hit commit and run at the right hand corner of the kernel.</li>\n<li>Wait till the kernel runs from top to bottom.</li>\n<li>Checkout the 'Output' Tab from the Version tab. Or go to the snapshot of your kernel and checkout the 'Output'          tab. Your csv file will be there!</li>\n</ol>",
      "rawMarkdown": "If you want to save your CSV file in Kaggle:\n\n1.    Write this line of code (if your dataframe name is df):\n2.    df.to_csv('mycsvfile.csv',index=False)\n3.    Hit commit and run at the right hand corner of the kernel.\n4.   Wait till the kernel runs from top to bottom.\n5.    Checkout the 'Output' Tab from the Version tab. Or go to the snapshot of your kernel and checkout the 'Output'          tab. Your csv file will be there!",
      "votes": null
    },
    {
      "id": "476214",
      "postDate": "02/21/2019 19:40:12",
      "content": "<p>How far are you getting?</p>\n\n<p>On a high level,  you need to submit a CSV file that has two columns:</p>\n\n<ul>\n<li>The first column, first entry = 'seg_id'</li>\n<li>The second column, first entry = 'time_to_failure'</li>\n</ul>\n\n<p>The remaining entries in the first column need to be the IDs from the sample submission / name of the test files without .csv extension. The second column needs to contain your predicted values for each test sample as real numbers. </p>\n\n<p>Depending on how you are creating your test predictions, pandas can be used to create a csv file from a dataframe, as Shobhit pointed out in their post. </p>",
      "rawMarkdown": "How far are you getting?\n\nOn a high level,  you need to submit a CSV file that has two columns:\n\n- The first column, first entry = 'seg_id'\n- The second column, first entry = 'time_to_failure'\n\nThe remaining entries in the first column need to be the IDs from the sample submission / name of the test files without .csv extension. The second column needs to contain your predicted values for each test sample as real numbers. \n\nDepending on how you are creating your test predictions, pandas can be used to create a csv file from a dataframe, as Shobhit pointed out in their post.",
      "votes": null
    },
    {
      "id": "476928",
      "postDate": "02/23/2019 13:28:30",
      "content": "<p>Note that if you're on the edit/commit page of your kernel, you have to get to the overview page to be able to follow Shobhit's instructions.  Click on the blue '«' on the top right of the page to do so.</p>",
      "rawMarkdown": "Note that if you're on the edit/commit page of your kernel, you have to get to the overview page to be able to follow Shobhit's instructions.  Click on the blue '«' on the top right of the page to do so.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 475999,
      "author_name": "shobhit18th",
      "author_url": "",
      "post_date": "02/21/2019 13:38:21",
      "content": "<p>If you want to save your CSV file in Kaggle:</p>\n\n<ol>\n<li>Write this line of code (if your dataframe name is df):</li>\n<li>df.to_csv('mycsvfile.csv',index=False)</li>\n<li>Hit commit and run at the right hand corner of the kernel.</li>\n<li>Wait till the kernel runs from top to bottom.</li>\n<li>Checkout the 'Output' Tab from the Version tab. Or go to the snapshot of your kernel and checkout the 'Output'          tab. Your csv file will be there!</li>\n</ol>",
      "votes": null,
      "replies": [
        {
          "id": 476928,
          "author_name": "gguillard",
          "author_url": "",
          "post_date": "02/23/2019 13:28:30",
          "content": "<p>Note that if you're on the edit/commit page of your kernel, you have to get to the overview page to be able to follow Shobhit's instructions.  Click on the blue '«' on the top right of the page to do so.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 476214,
      "author_name": "",
      "author_url": "",
      "post_date": "02/21/2019 19:40:12",
      "content": "<p>How far are you getting?</p>\n\n<p>On a high level,  you need to submit a CSV file that has two columns:</p>\n\n<ul>\n<li>The first column, first entry = 'seg_id'</li>\n<li>The second column, first entry = 'time_to_failure'</li>\n</ul>\n\n<p>The remaining entries in the first column need to be the IDs from the sample submission / name of the test files without .csv extension. The second column needs to contain your predicted values for each test sample as real numbers. </p>\n\n<p>Depending on how you are creating your test predictions, pandas can be used to create a csv file from a dataframe, as Shobhit pointed out in their post. </p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "475345": "after building my model i am having difficulity on understanding on how to make submission files on multiple test case data",
    "475999": "If you want to save your CSV file in Kaggle:\n\n1.    Write this line of code (if your dataframe name is df):\n2.    df.to_csv('mycsvfile.csv',index=False)\n3.    Hit commit and run at the right hand corner of the kernel.\n4.   Wait till the kernel runs from top to bottom.\n5.    Checkout the 'Output' Tab from the Version tab. Or go to the snapshot of your kernel and checkout the 'Output'          tab. Your csv file will be there!",
    "476214": "How far are you getting?\n\nOn a high level,  you need to submit a CSV file that has two columns:\n\n- The first column, first entry = 'seg_id'\n- The second column, first entry = 'time_to_failure'\n\nThe remaining entries in the first column need to be the IDs from the sample submission / name of the test files without .csv extension. The second column needs to contain your predicted values for each test sample as real numbers. \n\nDepending on how you are creating your test predictions, pandas can be used to create a csv file from a dataframe, as Shobhit pointed out in their post.",
    "476928": "Note that if you're on the edit/commit page of your kernel, you have to get to the overview page to be able to follow Shobhit's instructions.  Click on the blue '«' on the top right of the page to do so."
  },
  "source": "meta"
}