{
  "id": 6628,
  "title": "Missing one prediction",
  "url": "/competitions/facebook-recruiting-iii-keyword-extraction/discussion/6628",
  "author_name": "",
  "post_date": "2013-12-18T15:36:14.527Z",
  "votes": null,
  "comment_count": 5,
  "views": 1888,
  "content": "<p>When I looked at my predictions I saw that my algorithm made 2013336 predictions, which is one less than needed. I looked at the size of my test set, and it is the right size. Did anyone have the same problem and what might be wrong with my predictions?</p>",
  "messages": [
    {
      "id": "36315",
      "postDate": "12/18/2013 15:36:14",
      "content": "<p>When I looked at my predictions I saw that my algorithm made 2013336 predictions, which is one less than needed. I looked at the size of my test set, and it is the right size. Did anyone have the same problem and what might be wrong with my predictions?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "36320",
      "postDate": "12/18/2013 18:32:17",
      "content": "<p>Remembered the header?</p>\n<p>A good bet when things are &quot;off by one&quot; is a simple error in an index somewhere in the algorithm.</p>\n<p>Otherwise, go through it systematically.</p>\n<p>Check the IDs on all the output. &nbsp;Which is the prediction you missed? &nbsp;The first one? (error at beginning) The last one? (error at end) One in the middle somewhere? (random error/bug?)</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "36321",
      "postDate": "12/18/2013 18:32:51",
      "content": "<p>double post. &nbsp;Please delete.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "36323",
      "postDate": "12/18/2013 18:57:10",
      "content": "<p>One question, &nbsp;I directly read the file in without removing the header. Should I do that?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "36325",
      "postDate": "12/18/2013 19:19:38",
      "content": "<p>Only you can really answer that. &nbsp;Reading in the header is no problem if you're treating it as a header, but if you've got somewhere in your algorithm &quot;read in&nbsp;2013336 lines as data&quot; and one of those is the header, then you'll get a bug.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "36326",
      "postDate": "12/18/2013 19:32:05",
      "content": "<p>Ok, then I'll have to look into it.</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 36320,
      "author_name": "damienmelksham",
      "author_url": "",
      "post_date": "12/18/2013 18:32:17",
      "content": "<p>Remembered the header?</p>\n<p>A good bet when things are &quot;off by one&quot; is a simple error in an index somewhere in the algorithm.</p>\n<p>Otherwise, go through it systematically.</p>\n<p>Check the IDs on all the output. &nbsp;Which is the prediction you missed? &nbsp;The first one? (error at beginning) The last one? (error at end) One in the middle somewhere? (random error/bug?)</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 36321,
      "author_name": "damienmelksham",
      "author_url": "",
      "post_date": "12/18/2013 18:32:51",
      "content": "<p>double post. &nbsp;Please delete.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 36323,
      "author_name": "seemslegit",
      "author_url": "",
      "post_date": "12/18/2013 18:57:10",
      "content": "<p>One question, &nbsp;I directly read the file in without removing the header. Should I do that?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 36325,
      "author_name": "damienmelksham",
      "author_url": "",
      "post_date": "12/18/2013 19:19:38",
      "content": "<p>Only you can really answer that. &nbsp;Reading in the header is no problem if you're treating it as a header, but if you've got somewhere in your algorithm &quot;read in&nbsp;2013336 lines as data&quot; and one of those is the header, then you'll get a bug.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 36326,
      "author_name": "seemslegit",
      "author_url": "",
      "post_date": "12/18/2013 19:32:05",
      "content": "<p>Ok, then I'll have to look into it.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "36315": "",
    "36320": "",
    "36321": "",
    "36323": "",
    "36325": "",
    "36326": ""
  },
  "source": "meta"
}