{
  "id": 52777,
  "title": "How to submit from kernel",
  "url": "/competitions/talkingdata-adtracking-fraud-detection/discussion/52777",
  "author_name": "",
  "post_date": "2018-03-23T01:46:03.065468900Z",
  "votes": 2,
  "comment_count": 19,
  "views": 0,
  "content": "<p>Hi, I'm not using kernels usually, but I'm trying now.  I don't see how I can submit the output of my kernel.  If I have to download the output, and upload it again, then I'm better off running anaconda locally.  I hope I am missing something.  Can someone help?  Thanks.</p>",
  "messages": [
    {
      "id": "301601",
      "postDate": "03/23/2018 01:46:03",
      "content": "<p>Hi, I'm not using kernels usually, but I'm trying now.  I don't see how I can submit the output of my kernel.  If I have to download the output, and upload it again, then I'm better off running anaconda locally.  I hope I am missing something.  Can someone help?  Thanks.</p>",
      "rawMarkdown": "Hi, I'm not using kernels usually, but I'm trying now.  I don't see how I can submit the output of my kernel.  If I have to download the output, and upload it again, then I'm better off running anaconda locally.  I hope I am missing something.  Can someone help?  Thanks.",
      "votes": null
    },
    {
      "id": "301630",
      "postDate": "03/23/2018 02:30:42",
      "content": "<p>You can do it from the platform. Of course write your kernel with a df.to_csv() or similar. Then run/publish your kernel. Once it's done you should see a tab for Output and there you should see a button for submitting the file.</p>\n\n<p>By the way, thanks for your contributions to Kaggle discussion!</p>",
      "rawMarkdown": "You can do it from the platform. Of course write your kernel with a df.to_csv() or similar. Then run/publish your kernel. Once it's done you should see a tab for Output and there you should see a button for submitting the file.\n\nBy the way, thanks for your contributions to Kaggle discussion!",
      "votes": null
    },
    {
      "id": "301684",
      "postDate": "03/23/2018 05:11:50",
      "content": "<p>Click on  <code>view snapshot</code>  and then switch to <code>output</code> tab where we have the option <code>submit to competition</code> . </p>\n\n<p>By default, kernels are private. </p>",
      "rawMarkdown": "Click on  `view snapshot`  and then switch to `output` tab where we have the option `submit to competition` . \n\n By default, kernels are private.",
      "votes": null
    },
    {
      "id": "301712",
      "postDate": "03/23/2018 06:20:14",
      "content": "<p>this maybe offensive, why don't you google \"how to submit from kaggle\" , <a href=\"https://www.kaggle.com/dansbecker/submitting-from-a-kernel\">https://www.kaggle.com/dansbecker/submitting-from-a-kernel</a></p>",
      "rawMarkdown": "this maybe offensive, why don't you google \"how to submit from kaggle\" , https://www.kaggle.com/dansbecker/submitting-from-a-kernel",
      "votes": null
    },
    {
      "id": "301856",
      "postDate": "03/23/2018 11:37:50",
      "content": "<p>Thanks.  I'm not offended as this is an answer I like to do very often here.</p>\n\n<p>Issue is I don't have a submit button in the output page.  I should have said it in my question, sorry.  And given I read somewhere that single click button was no longer there I was wondering.</p>\n\n<p>Seems I hit some issue because my kernel is no longer there anyway.  I'll contact site admin.</p>",
      "rawMarkdown": "Thanks.  I'm not offended as this is an answer I like to do very often here.\n\nIssue is I don't have a submit button in the output page.  I should have said it in my question, sorry.  And given I read somewhere that single click button was no longer there I was wondering.\n\nSeems I hit some issue because my kernel is no longer there anyway.  I'll contact site admin.",
      "votes": null
    },
    {
      "id": "301857",
      "postDate": "03/23/2018 11:38:12",
      "content": "<p>Thanks.  I don't have a submit button, see above comment.</p>",
      "rawMarkdown": "Thanks.  I don't have a submit button, see above comment.",
      "votes": null
    },
    {
      "id": "301858",
      "postDate": "03/23/2018 11:38:33",
      "content": "<p>Thanks.  I don't have a submit button, see above.</p>",
      "rawMarkdown": "Thanks.  I don't have a submit button, see above.",
      "votes": null
    },
    {
      "id": "301861",
      "postDate": "03/23/2018 11:47:36",
      "content": "<p>@CPMP do you still have the issue ?</p>",
      "rawMarkdown": "CPMP do you still have the issue ?",
      "votes": null
    },
    {
      "id": "301869",
      "postDate": "03/23/2018 12:02:55",
      "content": "<p>@Olivier, yes, and my kernel has disappeared altogether.  I'll stick to anaconda local for now...</p>",
      "rawMarkdown": "Olivier, yes, and my kernel has disappeared altogether.  I'll stick to anaconda local for now...",
      "votes": null
    },
    {
      "id": "301872",
      "postDate": "03/23/2018 12:08:01",
      "content": "<p>I'm sad this happened but I guess you've got better hardware than kaggle kernels anyway... </p>",
      "rawMarkdown": "I'm sad this happened but I guess you've got better hardware than kaggle kernels anyway...",
      "votes": null
    },
    {
      "id": "301882",
      "postDate": "03/23/2018 12:13:58",
      "content": "<p>Yes, but uploading submission takes too much time from local.</p>",
      "rawMarkdown": "Yes, but uploading submission takes too much time from local.",
      "votes": null
    },
    {
      "id": "301885",
      "postDate": "03/23/2018 12:18:44",
      "content": "<p>That's surely a silly solution but why don't you just fork a public script, run it and see how it goes (maybe you've just done that). If that works you may just go on forking your new script and change it at your will.</p>",
      "rawMarkdown": "That's surely a silly solution but why don't you just fork a public script, run it and see how it goes (maybe you've just done that). If that works you may just go on forking your new script and change it at your will.",
      "votes": null
    },
    {
      "id": "301893",
      "postDate": "03/23/2018 12:29:36",
      "content": "<p>That's what I did ;)  Anyway, given runs are long, I won't waste much time on trying again.</p>",
      "rawMarkdown": "That's what I did ;)  Anyway, given runs are long, I won't waste much time on trying again.",
      "votes": null
    },
    {
      "id": "301896",
      "postDate": "03/23/2018 12:38:47",
      "content": "<p>Thanks to @aamaia, I now know what happened: I forked a kernel, but the original kernel was removed or made private.</p>",
      "rawMarkdown": "Thanks to @aamaia, I now know what happened: I forked a kernel, but the original kernel was removed or made private.",
      "votes": null
    },
    {
      "id": "302288",
      "postDate": "03/23/2018 21:30:49",
      "content": "<p>I experienced a login issue last night. I opened a private kernel once but got 404. So, I refreshed the kaggle page, I got logout mysteriously and kept failing to login. I asked a friend to login his account, he encountered the same issue as well. I think this was the issue.</p>",
      "rawMarkdown": "I experienced a login issue last night. I opened a private kernel once but got 404. So, I refreshed the kaggle page, I got logout mysteriously and kept failing to login. I asked a friend to login his account, he encountered the same issue as well. I think this was the issue.",
      "votes": null
    },
    {
      "id": "302320",
      "postDate": "03/23/2018 22:40:58",
      "content": "<p>I can see my kernel in the kernels tab of my profile, but I don't see it in this competition kernel tab.  This may explain why i cannot submit.  I reported the issue to Kaggle team.</p>",
      "rawMarkdown": "I can see my kernel in the kernels tab of my profile, but I don't see it in this competition kernel tab.  This may explain why i cannot submit.  I reported the issue to Kaggle team.",
      "votes": null
    },
    {
      "id": "302523",
      "postDate": "03/24/2018 08:31:30",
      "content": "<p>@CPMP please check if you have the competition dataset added to your datasources. If you don't then you cannot link the kernel with the competition. Tell me if it works</p>",
      "rawMarkdown": "CPMP please check if you have the competition dataset added to your datasources. If you don't then you cannot link the kernel with the competition. Tell me if it works",
      "votes": null
    },
    {
      "id": "302539",
      "postDate": "03/24/2018 09:05:08",
      "content": "<p>You are right, the kernel is not linked to the competition anymore, which is the issue I reported to Kaggle team.  I won't touch it until they have finish investigating what went wrong.  But thanks for the tip, I appreciate someone trying to help me!</p>",
      "rawMarkdown": "You are right, the kernel is not linked to the competition anymore, which is the issue I reported to Kaggle team.  I won't touch it until they have finish investigating what went wrong.  But thanks for the tip, I appreciate someone trying to help me!",
      "votes": null
    },
    {
      "id": "579814",
      "postDate": "07/19/2019 08:57:08",
      "content": "<p>Not very smart answer. I googled it , the documentation is not correct ! Better not answer if you didn't  googled it yourself and check the validation of the results.</p>",
      "rawMarkdown": "Not very smart answer. I googled it , the documentation is not correct ! Better not answer if you didn't  googled it yourself and check the validation of the results.",
      "votes": null
    },
    {
      "id": "584251",
      "postDate": "07/25/2019 16:06:04",
      "content": "<p>I hope it helps.</p>\n\n<p>Submitting results from within Kaggle Kernel from command line regardless of kernel type or file name\n<a href=\"https://www.kaggle.com/questions-and-answers/101395\">https://www.kaggle.com/questions-and-answers/101395</a></p>",
      "rawMarkdown": "I hope it helps.\n\nSubmitting results from within Kaggle Kernel from command line regardless of kernel type or file name\nhttps://www.kaggle.com/questions-and-answers/101395",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 301630,
      "author_name": "jpmiller",
      "author_url": "",
      "post_date": "03/23/2018 02:30:42",
      "content": "<p>You can do it from the platform. Of course write your kernel with a df.to_csv() or similar. Then run/publish your kernel. Once it's done you should see a tab for Output and there you should see a button for submitting the file.</p>\n\n<p>By the way, thanks for your contributions to Kaggle discussion!</p>",
      "votes": null,
      "replies": [
        {
          "id": 301858,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/23/2018 11:38:33",
          "content": "<p>Thanks.  I don't have a submit button, see above.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 301861,
          "author_name": "ogrellier",
          "author_url": "",
          "post_date": "03/23/2018 11:47:36",
          "content": "<p>@CPMP do you still have the issue ?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 301869,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/23/2018 12:02:55",
          "content": "<p>@Olivier, yes, and my kernel has disappeared altogether.  I'll stick to anaconda local for now...</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 301872,
          "author_name": "ogrellier",
          "author_url": "",
          "post_date": "03/23/2018 12:08:01",
          "content": "<p>I'm sad this happened but I guess you've got better hardware than kaggle kernels anyway... </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 301882,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/23/2018 12:13:58",
          "content": "<p>Yes, but uploading submission takes too much time from local.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 301885,
          "author_name": "ogrellier",
          "author_url": "",
          "post_date": "03/23/2018 12:18:44",
          "content": "<p>That's surely a silly solution but why don't you just fork a public script, run it and see how it goes (maybe you've just done that). If that works you may just go on forking your new script and change it at your will.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 301893,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/23/2018 12:29:36",
          "content": "<p>That's what I did ;)  Anyway, given runs are long, I won't waste much time on trying again.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 301684,
      "author_name": "pranav84",
      "author_url": "",
      "post_date": "03/23/2018 05:11:50",
      "content": "<p>Click on  <code>view snapshot</code>  and then switch to <code>output</code> tab where we have the option <code>submit to competition</code> . </p>\n\n<p>By default, kernels are private. </p>",
      "votes": null,
      "replies": [
        {
          "id": 301857,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/23/2018 11:38:12",
          "content": "<p>Thanks.  I don't have a submit button, see above comment.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 301712,
      "author_name": "konohayui",
      "author_url": "",
      "post_date": "03/23/2018 06:20:14",
      "content": "<p>this maybe offensive, why don't you google \"how to submit from kaggle\" , <a href=\"https://www.kaggle.com/dansbecker/submitting-from-a-kernel\">https://www.kaggle.com/dansbecker/submitting-from-a-kernel</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 301856,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/23/2018 11:37:50",
          "content": "<p>Thanks.  I'm not offended as this is an answer I like to do very often here.</p>\n\n<p>Issue is I don't have a submit button in the output page.  I should have said it in my question, sorry.  And given I read somewhere that single click button was no longer there I was wondering.</p>\n\n<p>Seems I hit some issue because my kernel is no longer there anyway.  I'll contact site admin.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 302288,
          "author_name": "konohayui",
          "author_url": "",
          "post_date": "03/23/2018 21:30:49",
          "content": "<p>I experienced a login issue last night. I opened a private kernel once but got 404. So, I refreshed the kaggle page, I got logout mysteriously and kept failing to login. I asked a friend to login his account, he encountered the same issue as well. I think this was the issue.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 579814,
          "author_name": "ripcurl",
          "author_url": "",
          "post_date": "07/19/2019 08:57:08",
          "content": "<p>Not very smart answer. I googled it , the documentation is not correct ! Better not answer if you didn't  googled it yourself and check the validation of the results.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 301896,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "03/23/2018 12:38:47",
      "content": "<p>Thanks to @aamaia, I now know what happened: I forked a kernel, but the original kernel was removed or made private.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 302320,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "03/23/2018 22:40:58",
      "content": "<p>I can see my kernel in the kernels tab of my profile, but I don't see it in this competition kernel tab.  This may explain why i cannot submit.  I reported the issue to Kaggle team.</p>",
      "votes": null,
      "replies": [
        {
          "id": 302523,
          "author_name": "agavranis",
          "author_url": "",
          "post_date": "03/24/2018 08:31:30",
          "content": "<p>@CPMP please check if you have the competition dataset added to your datasources. If you don't then you cannot link the kernel with the competition. Tell me if it works</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 302539,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "03/24/2018 09:05:08",
          "content": "<p>You are right, the kernel is not linked to the competition anymore, which is the issue I reported to Kaggle team.  I won't touch it until they have finish investigating what went wrong.  But thanks for the tip, I appreciate someone trying to help me!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 584251,
      "author_name": "mrruben",
      "author_url": "",
      "post_date": "07/25/2019 16:06:04",
      "content": "<p>I hope it helps.</p>\n\n<p>Submitting results from within Kaggle Kernel from command line regardless of kernel type or file name\n<a href=\"https://www.kaggle.com/questions-and-answers/101395\">https://www.kaggle.com/questions-and-answers/101395</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "301601": "Hi, I'm not using kernels usually, but I'm trying now.  I don't see how I can submit the output of my kernel.  If I have to download the output, and upload it again, then I'm better off running anaconda locally.  I hope I am missing something.  Can someone help?  Thanks.",
    "301630": "You can do it from the platform. Of course write your kernel with a df.to_csv() or similar. Then run/publish your kernel. Once it's done you should see a tab for Output and there you should see a button for submitting the file.\n\nBy the way, thanks for your contributions to Kaggle discussion!",
    "301684": "Click on  `view snapshot`  and then switch to `output` tab where we have the option `submit to competition` . \n\n By default, kernels are private.",
    "301712": "this maybe offensive, why don't you google \"how to submit from kaggle\" , https://www.kaggle.com/dansbecker/submitting-from-a-kernel",
    "301856": "Thanks.  I'm not offended as this is an answer I like to do very often here.\n\nIssue is I don't have a submit button in the output page.  I should have said it in my question, sorry.  And given I read somewhere that single click button was no longer there I was wondering.\n\nSeems I hit some issue because my kernel is no longer there anyway.  I'll contact site admin.",
    "301857": "Thanks.  I don't have a submit button, see above comment.",
    "301858": "Thanks.  I don't have a submit button, see above.",
    "301861": "CPMP do you still have the issue ?",
    "301869": "Olivier, yes, and my kernel has disappeared altogether.  I'll stick to anaconda local for now...",
    "301872": "I'm sad this happened but I guess you've got better hardware than kaggle kernels anyway...",
    "301882": "Yes, but uploading submission takes too much time from local.",
    "301885": "That's surely a silly solution but why don't you just fork a public script, run it and see how it goes (maybe you've just done that). If that works you may just go on forking your new script and change it at your will.",
    "301893": "That's what I did ;)  Anyway, given runs are long, I won't waste much time on trying again.",
    "301896": "Thanks to @aamaia, I now know what happened: I forked a kernel, but the original kernel was removed or made private.",
    "302288": "I experienced a login issue last night. I opened a private kernel once but got 404. So, I refreshed the kaggle page, I got logout mysteriously and kept failing to login. I asked a friend to login his account, he encountered the same issue as well. I think this was the issue.",
    "302320": "I can see my kernel in the kernels tab of my profile, but I don't see it in this competition kernel tab.  This may explain why i cannot submit.  I reported the issue to Kaggle team.",
    "302523": "CPMP please check if you have the competition dataset added to your datasources. If you don't then you cannot link the kernel with the competition. Tell me if it works",
    "302539": "You are right, the kernel is not linked to the competition anymore, which is the issue I reported to Kaggle team.  I won't touch it until they have finish investigating what went wrong.  But thanks for the tip, I appreciate someone trying to help me!",
    "579814": "Not very smart answer. I googled it , the documentation is not correct ! Better not answer if you didn't  googled it yourself and check the validation of the results.",
    "584251": "I hope it helps.\n\nSubmitting results from within Kaggle Kernel from command line regardless of kernel type or file name\nhttps://www.kaggle.com/questions-and-answers/101395"
  },
  "source": "meta"
}