{
  "id": 48237,
  "title": "Trying to understand the submission csv",
  "url": "/competitions/data-science-bowl-2018/discussion/48237",
  "author_name": "",
  "post_date": "2018-01-25T01:20:23.813828200Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I don't understand the stage1_sample_submission.csv file. I get that the first column is the filename, but what does the 1,1 mean in the encoded pixels? I figured we needed to provide the mask for the entire image, but maybe I'm just overthinking the expected output.</p>\n\n<p>Can anyone shed some light?</p>\n\n<p>Thanks.</p>",
  "messages": [
    {
      "id": "273675",
      "postDate": "01/25/2018 01:20:23",
      "content": "<p>I don't understand the stage1_sample_submission.csv file. I get that the first column is the filename, but what does the 1,1 mean in the encoded pixels? I figured we needed to provide the mask for the entire image, but maybe I'm just overthinking the expected output.</p>\n\n<p>Can anyone shed some light?</p>\n\n<p>Thanks.</p>",
      "rawMarkdown": "I don't understand the stage1_sample_submission.csv file. I get that the first column is the filename, but what does the 1,1 mean in the encoded pixels? I figured we needed to provide the mask for the entire image, but maybe I'm just overthinking the expected output.\n\nCan anyone shed some light?\n\nThanks.",
      "votes": null
    },
    {
      "id": "273682",
      "postDate": "01/25/2018 01:34:33",
      "content": "<p>'stage1_train_labels.csv' might be a better example of a submission file format.</p>\n\n<p>Basically the 1st # is the pixel and the following # is the number of pixels in that series. Then it is followed by the next pixel # and so forth.</p>\n\n<p>The submission file format is discussed in more detail here:\n<a href=\"https://www.kaggle.com/c/data-science-bowl-2018#evaluation\">https://www.kaggle.com/c/data-science-bowl-2018#evaluation</a></p>",
      "rawMarkdown": "'stage1_train_labels.csv' might be a better example of a submission file format.\n\nBasically the 1st # is the pixel and the following # is the number of pixels in that series. Then it is followed by the next pixel # and so forth.\n\nThe submission file format is discussed in more detail here:\nhttps://www.kaggle.com/c/data-science-bowl-2018#evaluation",
      "votes": null
    },
    {
      "id": "275547",
      "postDate": "01/29/2018 13:02:23",
      "content": "<p>How would pixel at position [x,y] (zero based) be encoded as an index?</p>\n\n<p>Based on </p>\n\n<blockquote>\n  <p>The pixels are one-indexed and numbered from top to bottom, then left to right: 1 is pixel (1,1), 2 is pixel (2,1), etc.</p>\n</blockquote>\n\n<p>My guess is id = (y+1) + ImageHeight*(x+1), is that correct?</p>",
      "rawMarkdown": "How would pixel at position [x,y] (zero based) be encoded as an index?\n\nBased on \n\n&gt; The pixels are one-indexed and numbered from top to bottom, then left to right: 1 is pixel (1,1), 2 is pixel (2,1), etc.\n\nMy guess is id = (y+1) + ImageHeight*(x+1), is that correct?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 273682,
      "author_name": "chadkemp",
      "author_url": "",
      "post_date": "01/25/2018 01:34:33",
      "content": "<p>'stage1_train_labels.csv' might be a better example of a submission file format.</p>\n\n<p>Basically the 1st # is the pixel and the following # is the number of pixels in that series. Then it is followed by the next pixel # and so forth.</p>\n\n<p>The submission file format is discussed in more detail here:\n<a href=\"https://www.kaggle.com/c/data-science-bowl-2018#evaluation\">https://www.kaggle.com/c/data-science-bowl-2018#evaluation</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 275547,
      "author_name": "douglasandrade",
      "author_url": "",
      "post_date": "01/29/2018 13:02:23",
      "content": "<p>How would pixel at position [x,y] (zero based) be encoded as an index?</p>\n\n<p>Based on </p>\n\n<blockquote>\n  <p>The pixels are one-indexed and numbered from top to bottom, then left to right: 1 is pixel (1,1), 2 is pixel (2,1), etc.</p>\n</blockquote>\n\n<p>My guess is id = (y+1) + ImageHeight*(x+1), is that correct?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "273675": "I don't understand the stage1_sample_submission.csv file. I get that the first column is the filename, but what does the 1,1 mean in the encoded pixels? I figured we needed to provide the mask for the entire image, but maybe I'm just overthinking the expected output.\n\nCan anyone shed some light?\n\nThanks.",
    "273682": "'stage1_train_labels.csv' might be a better example of a submission file format.\n\nBasically the 1st # is the pixel and the following # is the number of pixels in that series. Then it is followed by the next pixel # and so forth.\n\nThe submission file format is discussed in more detail here:\nhttps://www.kaggle.com/c/data-science-bowl-2018#evaluation",
    "275547": "How would pixel at position [x,y] (zero based) be encoded as an index?\n\nBased on \n\n&gt; The pixels are one-indexed and numbered from top to bottom, then left to right: 1 is pixel (1,1), 2 is pixel (2,1), etc.\n\nMy guess is id = (y+1) + ImageHeight*(x+1), is that correct?"
  },
  "source": "meta"
}