{
  "id": 353330,
  "title": "Submission Error \"Submission Scoring Error\"",
  "url": "/competitions/mayo-clinic-strip-ai/discussion/353330",
  "author_name": "Fatma Hussein",
  "post_date": "2022-09-17T22:12:24.518000",
  "votes": 0,
  "comment_count": 4,
  "views": 0,
  "content": "<p>I am trying to submit my notebook but I got \"Submission Scoring Error\" after about 8 hours from the submission time.<br>\nI followed the submission sample format and saved it in a csv as shown in the attached image.<br>\nI don't know what is the problem, any help?!<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Fb1e25efd809a2c51e81ce1f9a6409b37%2FCapture.PNG?generation=1663452695491263&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Ffb869f97b91b710a2140006c0c2b2ccf%2FWhatsApp%20Image%202022-09-17%20at%2011.56.25%20PM.jpeg?generation=1663452720607164&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": 1946221,
      "postDate": "2022-09-19T17:03:37.207Z",
      "content": "<p>At first I thought you my provide unnormalized probabilities. This is technically correct in this competition, but if one of your probabilities is negative you may encounter error like this (I have). <br>\nSo the only other thing that comes to my mind is: do you group probabilities? Something like this:</p>\n<p><code>output_df = output_df.groupby(\"patient_id\").mean().round(6)</code></p>",
      "rawMarkdown": "At first I thought you my provide unnormalized probabilities. This is technically correct in this competition, but if one of your probabilities is negative you may encounter error like this (I have). \nSo the only other thing that comes to my mind is: do you group probabilities? Something like this:\n\n`output_df = output_df.groupby(\"patient_id\").mean().round(6)`\n\n",
      "votes": 1
    },
    {
      "id": 1945023,
      "postDate": "2022-09-18T18:54:03.800Z",
      "content": "<p>Can you show how your submission.csv looks like before submitting?<br>\nI mean what do you get when running your notebook against test.csv</p>",
      "rawMarkdown": "Can you show how your submission.csv looks like before submitting?\nI mean what do you get when running your notebook against test.csv",
      "votes": 1
    },
    {
      "id": 1948090,
      "postDate": "2022-09-20T20:02:25.593Z",
      "content": "<p>Indeed, I was forgetting the group by part. Now my submission got accepted. Thank you!</p>",
      "rawMarkdown": "Indeed, I was forgetting the group by part. Now my submission got accepted. Thank you!"
    },
    {
      "id": 1945165,
      "postDate": "2022-09-18T23:33:54.070Z",
      "content": "<p>It looks exactly the same like the sample_submission.csv file but with different values for the probabilities.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F358019472733574d2e2ea537d3dbbd37%2FCapture2.PNG?generation=1663543545714300&amp;alt=media\" alt=\"\"></p>\n<p>For example:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F66839d7f42b61d4aa4c9255b612cb4dc%2FCapture3.PNG?generation=1663544007170218&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "It looks exactly the same like the sample_submission.csv file but with different values for the probabilities.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F358019472733574d2e2ea537d3dbbd37%2FCapture2.PNG?generation=1663543545714300&alt=media)\n\nFor example:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F66839d7f42b61d4aa4c9255b612cb4dc%2FCapture3.PNG?generation=1663544007170218&alt=media)"
    },
    {
      "id": 1943936,
      "postDate": "2022-09-17T22:12:24.517Z",
      "content": "<p>I am trying to submit my notebook but I got \"Submission Scoring Error\" after about 8 hours from the submission time.<br>\nI followed the submission sample format and saved it in a csv as shown in the attached image.<br>\nI don't know what is the problem, any help?!<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Fb1e25efd809a2c51e81ce1f9a6409b37%2FCapture.PNG?generation=1663452695491263&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Ffb869f97b91b710a2140006c0c2b2ccf%2FWhatsApp%20Image%202022-09-17%20at%2011.56.25%20PM.jpeg?generation=1663452720607164&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I am trying to submit my notebook but I got \"Submission Scoring Error\" after about 8 hours from the submission time.\nI followed the submission sample format and saved it in a csv as shown in the attached image.\nI don't know what is the problem, any help?!\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Fb1e25efd809a2c51e81ce1f9a6409b37%2FCapture.PNG?generation=1663452695491263&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Ffb869f97b91b710a2140006c0c2b2ccf%2FWhatsApp%20Image%202022-09-17%20at%2011.56.25%20PM.jpeg?generation=1663452720607164&alt=media)"
    }
  ],
  "comments": [
    {
      "id": 1946221,
      "author_name": "AIGeekProgrammer",
      "author_url": "",
      "post_date": "2022-09-19T17:03:37.207000",
      "content": "<p>At first I thought you my provide unnormalized probabilities. This is technically correct in this competition, but if one of your probabilities is negative you may encounter error like this (I have). <br>\nSo the only other thing that comes to my mind is: do you group probabilities? Something like this:</p>\n<p><code>output_df = output_df.groupby(\"patient_id\").mean().round(6)</code></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1945023,
      "author_name": "AIGeekProgrammer",
      "author_url": "",
      "post_date": "2022-09-18T18:54:03.800000",
      "content": "<p>Can you show how your submission.csv looks like before submitting?<br>\nI mean what do you get when running your notebook against test.csv</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1948090,
      "author_name": "Fatma Hussein",
      "author_url": "",
      "post_date": "2022-09-20T20:02:25.593000",
      "content": "<p>Indeed, I was forgetting the group by part. Now my submission got accepted. Thank you!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1945165,
      "author_name": "Fatma Hussein",
      "author_url": "",
      "post_date": "2022-09-18T23:33:54.070000",
      "content": "<p>It looks exactly the same like the sample_submission.csv file but with different values for the probabilities.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F358019472733574d2e2ea537d3dbbd37%2FCapture2.PNG?generation=1663543545714300&amp;alt=media\" alt=\"\"></p>\n<p>For example:<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F66839d7f42b61d4aa4c9255b612cb4dc%2FCapture3.PNG?generation=1663544007170218&amp;alt=media\" alt=\"\"></p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1946221": "At first I thought you my provide unnormalized probabilities. This is technically correct in this competition, but if one of your probabilities is negative you may encounter error like this (I have). \nSo the only other thing that comes to my mind is: do you group probabilities? Something like this:\n\n`output_df = output_df.groupby(\"patient_id\").mean().round(6)`\n\n",
    "1945023": "Can you show how your submission.csv looks like before submitting?\nI mean what do you get when running your notebook against test.csv",
    "1948090": "Indeed, I was forgetting the group by part. Now my submission got accepted. Thank you!",
    "1945165": "It looks exactly the same like the sample_submission.csv file but with different values for the probabilities.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F358019472733574d2e2ea537d3dbbd37%2FCapture2.PNG?generation=1663543545714300&alt=media)\n\nFor example:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2F66839d7f42b61d4aa4c9255b612cb4dc%2FCapture3.PNG?generation=1663544007170218&alt=media)",
    "1943936": "I am trying to submit my notebook but I got \"Submission Scoring Error\" after about 8 hours from the submission time.\nI followed the submission sample format and saved it in a csv as shown in the attached image.\nI don't know what is the problem, any help?!\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Fb1e25efd809a2c51e81ce1f9a6409b37%2FCapture.PNG?generation=1663452695491263&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3903881%2Ffb869f97b91b710a2140006c0c2b2ccf%2FWhatsApp%20Image%202022-09-17%20at%2011.56.25%20PM.jpeg?generation=1663452720607164&alt=media)"
  }
}