{
  "id": 56626,
  "title": "Isotonic Regression",
  "url": "/competitions/avito-demand-prediction/discussion/56626",
  "author_name": "",
  "post_date": "2018-05-12T07:36:03.948202800Z",
  "votes": 19,
  "comment_count": 10,
  "views": 0,
  "content": "<p>For your predictions create two files with the following headers</p>\n\n<p>gptrainoutput.txt with headers item_id,predictions,deal_probability\ngptestoutput.txt with headers item_id,predictions</p>\n\n<p>To build the Iso binary\nType cmake .\nType make\nRun ./Iso</p>",
  "messages": [
    {
      "id": "327697",
      "postDate": "05/12/2018 07:36:03",
      "content": "<p>For your predictions create two files with the following headers</p>\n\n<p>gptrainoutput.txt with headers item_id,predictions,deal_probability\ngptestoutput.txt with headers item_id,predictions</p>\n\n<p>To build the Iso binary\nType cmake .\nType make\nRun ./Iso</p>",
      "rawMarkdown": "For your predictions create two files with the following headers\n\ngptrainoutput.txt with headers item_id,predictions,deal_probability\ngptestoutput.txt with headers item_id,predictions\n\nTo build the Iso binary\nType cmake .\nType make\nRun ./Iso",
      "votes": null
    },
    {
      "id": "327784",
      "postDate": "05/12/2018 13:45:32",
      "content": "<p>Neat idea!  0.0001 improvement for me</p>\n\n<p>Between one could also use sklearn's IsotonicRegression!</p>",
      "rawMarkdown": "Neat idea!  0.0001 improvement for me\n\nBetween one could also use sklearn's IsotonicRegression!",
      "votes": null
    },
    {
      "id": "327785",
      "postDate": "05/12/2018 13:48:09",
      "content": "<p>Try it  - sklearn usually produces a significant amount of NaNs and is pretty slow</p>",
      "rawMarkdown": "Try it  - sklearn usually produces a significant amount of NaNs and is pretty slow",
      "votes": null
    },
    {
      "id": "327869",
      "postDate": "05/12/2018 18:46:14",
      "content": "<p>I tried it! It is working ok.</p>\n\n<p>But, always better to have a C++ code :)</p>",
      "rawMarkdown": "I tried it! It is working ok.\n\nBut, always better to have a C++ code :)",
      "votes": null
    },
    {
      "id": "327874",
      "postDate": "05/12/2018 19:37:12",
      "content": "<p>Nice to know!  Was it as quick?</p>",
      "rawMarkdown": "Nice to know!  Was it as quick?",
      "votes": null
    },
    {
      "id": "328107",
      "postDate": "05/13/2018 10:58:06",
      "content": "<p>Yes! Takes about couple of seconds for doing 5 fold on out pf fold predictions</p>",
      "rawMarkdown": "Yes! Takes about couple of seconds for doing 5 fold on out pf fold predictions",
      "votes": null
    },
    {
      "id": "329179",
      "postDate": "05/15/2018 23:18:08",
      "content": "<p>Disclaimer: apologies for a simpleton question (it's been quite a while since I last did anything with C++). I parked the files in a separate folder, did 'cmake .', all files built successfully - but when I try to 'make Run ./Iso' I am getting the following error: \"make: <em>*</em> No rule to make target `Run'.  Stop.\" . Could use a helping hand right about now...</p>",
      "rawMarkdown": "Disclaimer: apologies for a simpleton question (it's been quite a while since I last did anything with C++). I parked the files in a separate folder, did 'cmake .', all files built successfully - but when I try to 'make Run ./Iso' I am getting the following error: \"make: *** No rule to make target `Run'.  Stop.\" . Could use a helping hand right about now...",
      "votes": null
    },
    {
      "id": "329257",
      "postDate": "05/16/2018 05:33:47",
      "content": "<p>On Ubuntu 16.04 I used this command line to create an a.out executable: </p><pre><code>g++ main.cpp -std=c++11 -O2 -fexceptions</code></pre><p></p>",
      "rawMarkdown": "On Ubuntu 16.04 I used this command line to create an a.out executable: <pre><code>g++ main.cpp -std=c++11 -O2 -fexceptions</code></pre>",
      "votes": null
    },
    {
      "id": "329309",
      "postDate": "05/16/2018 07:43:03",
      "content": "<ol>\n<li>cmake .</li>\n<li>make</li>\n<li>./Iso</li>\n</ol>",
      "rawMarkdown": "1. cmake .\n 2. make\n 3. ./Iso",
      "votes": null
    },
    {
      "id": "329317",
      "postDate": "05/16/2018 08:23:30",
      "content": "<p>Your version works worse for me on holdout then sklearn.isotonic.IsotonicRegression. Don't know is it only for me... Anyway, thanks for the great advice!</p>",
      "rawMarkdown": "Your version works worse for me on holdout then sklearn.isotonic.IsotonicRegression. Don't know is it only for me... Anyway, thanks for the great advice!",
      "votes": null
    },
    {
      "id": "329318",
      "postDate": "05/16/2018 08:24:28",
      "content": "<p>Thanks a lot!</p>",
      "rawMarkdown": "Thanks a lot!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 327784,
      "author_name": "tezdhar",
      "author_url": "",
      "post_date": "05/12/2018 13:45:32",
      "content": "<p>Neat idea!  0.0001 improvement for me</p>\n\n<p>Between one could also use sklearn's IsotonicRegression!</p>",
      "votes": null,
      "replies": [
        {
          "id": 327785,
          "author_name": "scirpus",
          "author_url": "",
          "post_date": "05/12/2018 13:48:09",
          "content": "<p>Try it  - sklearn usually produces a significant amount of NaNs and is pretty slow</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 327869,
          "author_name": "tezdhar",
          "author_url": "",
          "post_date": "05/12/2018 18:46:14",
          "content": "<p>I tried it! It is working ok.</p>\n\n<p>But, always better to have a C++ code :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 327874,
          "author_name": "scirpus",
          "author_url": "",
          "post_date": "05/12/2018 19:37:12",
          "content": "<p>Nice to know!  Was it as quick?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 328107,
          "author_name": "tezdhar",
          "author_url": "",
          "post_date": "05/13/2018 10:58:06",
          "content": "<p>Yes! Takes about couple of seconds for doing 5 fold on out pf fold predictions</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 329179,
      "author_name": "konradb",
      "author_url": "",
      "post_date": "05/15/2018 23:18:08",
      "content": "<p>Disclaimer: apologies for a simpleton question (it's been quite a while since I last did anything with C++). I parked the files in a separate folder, did 'cmake .', all files built successfully - but when I try to 'make Run ./Iso' I am getting the following error: \"make: <em>*</em> No rule to make target `Run'.  Stop.\" . Could use a helping hand right about now...</p>",
      "votes": null,
      "replies": [
        {
          "id": 329257,
          "author_name": "shadowwarrior",
          "author_url": "",
          "post_date": "05/16/2018 05:33:47",
          "content": "<p>On Ubuntu 16.04 I used this command line to create an a.out executable: </p><pre><code>g++ main.cpp -std=c++11 -O2 -fexceptions</code></pre><p></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 329309,
          "author_name": "scirpus",
          "author_url": "",
          "post_date": "05/16/2018 07:43:03",
          "content": "<ol>\n<li>cmake .</li>\n<li>make</li>\n<li>./Iso</li>\n</ol>",
          "votes": null,
          "replies": []
        },
        {
          "id": 329318,
          "author_name": "konradb",
          "author_url": "",
          "post_date": "05/16/2018 08:24:28",
          "content": "<p>Thanks a lot!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 329317,
      "author_name": "sergeifironov",
      "author_url": "",
      "post_date": "05/16/2018 08:23:30",
      "content": "<p>Your version works worse for me on holdout then sklearn.isotonic.IsotonicRegression. Don't know is it only for me... Anyway, thanks for the great advice!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "327697": "For your predictions create two files with the following headers\n\ngptrainoutput.txt with headers item_id,predictions,deal_probability\ngptestoutput.txt with headers item_id,predictions\n\nTo build the Iso binary\nType cmake .\nType make\nRun ./Iso",
    "327784": "Neat idea!  0.0001 improvement for me\n\nBetween one could also use sklearn's IsotonicRegression!",
    "327785": "Try it  - sklearn usually produces a significant amount of NaNs and is pretty slow",
    "327869": "I tried it! It is working ok.\n\nBut, always better to have a C++ code :)",
    "327874": "Nice to know!  Was it as quick?",
    "328107": "Yes! Takes about couple of seconds for doing 5 fold on out pf fold predictions",
    "329179": "Disclaimer: apologies for a simpleton question (it's been quite a while since I last did anything with C++). I parked the files in a separate folder, did 'cmake .', all files built successfully - but when I try to 'make Run ./Iso' I am getting the following error: \"make: *** No rule to make target `Run'.  Stop.\" . Could use a helping hand right about now...",
    "329257": "On Ubuntu 16.04 I used this command line to create an a.out executable: <pre><code>g++ main.cpp -std=c++11 -O2 -fexceptions</code></pre>",
    "329309": "1. cmake .\n 2. make\n 3. ./Iso",
    "329317": "Your version works worse for me on holdout then sklearn.isotonic.IsotonicRegression. Don't know is it only for me... Anyway, thanks for the great advice!",
    "329318": "Thanks a lot!"
  },
  "source": "meta"
}