{
  "id": 192975,
  "title": "No output file found!",
  "url": "/competitions/riiid-test-answer-prediction/discussion/192975",
  "author_name": "Toddgm",
  "post_date": "2020-10-24T15:04:36.842000",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I have tried many times submitting, it ran all right, and i have disconnect the internet of notebook, but when i submit, there is No output file found for each submission. <br>\nAnyone had same problem and how to solve it?<br>\nhere is my prediction code</p>\n<pre><code>iter_test = env.iter_test()\nfor (test, sample_prediction_df) in iter_test: \n    test = processing_test(test)  # function to process test data\n    test['answered_correctly'] = model.predict(test.drop('group_num', axis=1))\n    test.set_index('group_num',inplace=True)\n\n    env.predict(test.loc[test['content_type_id'] == 0, ['row_id', 'answered_correctly']])\n</code></pre>\n<p>i have tried it with sample test file and it works fine, the final submission file is in right format(index is  'group_num' and columns are 'row_id', 'answered_correctly')</p>",
  "messages": [
    {
      "id": 1059378,
      "postDate": "2020-10-25T02:53:38.247Z",
      "content": "<p>Did you click [<strong>Save Version</strong>], and then [<strong>Save &amp; Run All (Commit)</strong>]? After it finishes I can find the submission file.</p>",
      "rawMarkdown": "Did you click [**Save Version**], and then [**Save & Run All (Commit)**]? After it finishes I can find the submission file.",
      "votes": 1,
      "replies": [
        {
          "id": 1059389,
          "postDate": "2020-10-25T03:17:39.823Z",
          "rawMarkdown": "",
          "isDeleted": true
        }
      ]
    },
    {
      "id": 1059053,
      "postDate": "2020-10-24T15:04:36.843Z",
      "content": "<p>I have tried many times submitting, it ran all right, and i have disconnect the internet of notebook, but when i submit, there is No output file found for each submission. <br>\nAnyone had same problem and how to solve it?<br>\nhere is my prediction code</p>\n<pre><code>iter_test = env.iter_test()\nfor (test, sample_prediction_df) in iter_test: \n    test = processing_test(test)  # function to process test data\n    test['answered_correctly'] = model.predict(test.drop('group_num', axis=1))\n    test.set_index('group_num',inplace=True)\n\n    env.predict(test.loc[test['content_type_id'] == 0, ['row_id', 'answered_correctly']])\n</code></pre>\n<p>i have tried it with sample test file and it works fine, the final submission file is in right format(index is  'group_num' and columns are 'row_id', 'answered_correctly')</p>",
      "rawMarkdown": "I have tried many times submitting, it ran all right, and i have disconnect the internet of notebook, but when i submit, there is No output file found for each submission. \nAnyone had same problem and how to solve it?\nhere is my prediction code\n\n```\niter_test = env.iter_test()\nfor (test, sample_prediction_df) in iter_test: \n    test = processing_test(test)  # function to process test data\n    test['answered_correctly'] = model.predict(test.drop('group_num', axis=1))\n    test.set_index('group_num',inplace=True)\n\n    env.predict(test.loc[test['content_type_id'] == 0, ['row_id', 'answered_correctly']])\n```\ni have tried it with sample test file and it works fine, the final submission file is in right format(index is  'group_num' and columns are 'row_id', 'answered_correctly')",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 1059378,
      "author_name": "curious1",
      "author_url": "",
      "post_date": "2020-10-25T02:53:38.247000",
      "content": "<p>Did you click [<strong>Save Version</strong>], and then [<strong>Save &amp; Run All (Commit)</strong>]? After it finishes I can find the submission file.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1059389,
          "author_name": "",
          "author_url": "",
          "post_date": "2020-10-25T03:17:39.823000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1059378": "Did you click [**Save Version**], and then [**Save & Run All (Commit)**]? After it finishes I can find the submission file.",
    "1059053": "I have tried many times submitting, it ran all right, and i have disconnect the internet of notebook, but when i submit, there is No output file found for each submission. \nAnyone had same problem and how to solve it?\nhere is my prediction code\n\n```\niter_test = env.iter_test()\nfor (test, sample_prediction_df) in iter_test: \n    test = processing_test(test)  # function to process test data\n    test['answered_correctly'] = model.predict(test.drop('group_num', axis=1))\n    test.set_index('group_num',inplace=True)\n\n    env.predict(test.loc[test['content_type_id'] == 0, ['row_id', 'answered_correctly']])\n```\ni have tried it with sample test file and it works fine, the final submission file is in right format(index is  'group_num' and columns are 'row_id', 'answered_correctly')"
  }
}