{
  "id": 11199,
  "title": "Probability percentages for predict function in R",
  "url": "/competitions/avazu-ctr-prediction/discussion/11199",
  "author_name": "",
  "post_date": "2014-12-10T18:39:37.940Z",
  "votes": null,
  "comment_count": 2,
  "views": 1246,
  "content": "<p>How can I get the <strong>probability percentages</strong> that are required for submission by using the <strong>predict</strong> function in R? I tried looking up the help documentation for the function in R but didn't see anything related to percentages.</p>",
  "messages": [
    {
      "id": "59963",
      "postDate": "12/10/2014 18:39:37",
      "content": "<p>How can I get the <strong>probability percentages</strong> that are required for submission by using the <strong>predict</strong> function in R? I tried looking up the help documentation for the function in R but didn't see anything related to percentages.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "59965",
      "postDate": "12/10/2014 19:06:54",
      "content": "<p>You could mention the type in predict function as predict(type=&quot;prob&quot;). It should work!</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "59966",
      "postDate": "12/10/2014 19:13:17",
      "content": "<p>BOOM. That looks like what I was looking for! Thanks, Binga!</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 59965,
      "author_name": "phanisrikanth",
      "author_url": "",
      "post_date": "12/10/2014 19:06:54",
      "content": "<p>You could mention the type in predict function as predict(type=&quot;prob&quot;). It should work!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 59966,
      "author_name": "dnaeye",
      "author_url": "",
      "post_date": "12/10/2014 19:13:17",
      "content": "<p>BOOM. That looks like what I was looking for! Thanks, Binga!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "59963": "",
    "59965": "",
    "59966": ""
  },
  "source": "meta"
}