{
  "id": 25446,
  "title": "L2 ensembling",
  "url": "/competitions/bosch-production-line-performance/discussion/25446",
  "author_name": "",
  "post_date": "2016-11-14T19:43:36.217Z",
  "votes": 4,
  "comment_count": 5,
  "views": 633,
  "content": "<p>This may be a naive question but here it is anyway.  I never used level 2 (or higher) ensembling.  It is clearly next step for me to close some of the gap with top Kagglers. <br>\nMy understanding of L2 learning is that you train models on data (L1 learning), then construct new data set with predictions of L1 models and some (if not all) the original data.  My question is this:</p>\n\n<p>isn't there a risk of overfitting to the L1 predictions?  Shouldn't one keep some of the original data out of L1 and keep it for L2 learning?  Alternatively, shouldn't one use out of fold L1 predictions?</p>",
  "messages": [
    {
      "id": "144604",
      "postDate": "11/14/2016 19:43:36",
      "content": "<p>This may be a naive question but here it is anyway.  I never used level 2 (or higher) ensembling.  It is clearly next step for me to close some of the gap with top Kagglers. <br>\nMy understanding of L2 learning is that you train models on data (L1 learning), then construct new data set with predictions of L1 models and some (if not all) the original data.  My question is this:</p>\n\n<p>isn't there a risk of overfitting to the L1 predictions?  Shouldn't one keep some of the original data out of L1 and keep it for L2 learning?  Alternatively, shouldn't one use out of fold L1 predictions?</p>",
      "rawMarkdown": "This may be a naive question but here it is anyway.  I never used level 2 (or higher) ensembling.  It is clearly next step for me to close some of the gap with top Kagglers.  \r\nMy understanding of L2 learning is that you train models on data (L1 learning), then construct new data set with predictions of L1 models and some (if not all) the original data.  My question is this:\r\n\r\nisn't there a risk of overfitting to the L1 predictions?  Shouldn't one keep some of the original data out of L1 and keep it for L2 learning?  Alternatively, shouldn't one use out of fold L1 predictions?",
      "votes": null
    },
    {
      "id": "144784",
      "postDate": "11/15/2016 11:29:19",
      "content": "<p>Well, I guess I will have to learn it the hard way given the amount of responses.  Fair enough.</p>",
      "rawMarkdown": "Well, I guess I will have to learn it the hard way given the amount of responses.  Fair enough.",
      "votes": null
    },
    {
      "id": "144786",
      "postDate": "11/15/2016 11:54:14",
      "content": "<p>Using fix CV folds and OOF predictions overfitting usually is not an issue.</p>\n\n<p>I found these posts useful:</p>\n\n<p><a href=\"http://kaggler.com/winning-data-science-competitions-datascience-la/\">http://kaggler.com/winning-data-science-competitions-datascience-la/</a></p>\n\n<p><a href=\"http://mlwave.com/kaggle-ensembling-guide/\">http://mlwave.com/kaggle-ensembling-guide/</a></p>",
      "rawMarkdown": "Using fix CV folds and OOF predictions overfitting usually is not an issue.\r\n\r\nI found these posts useful:\r\n\r\nhttp://kaggler.com/winning-data-science-competitions-datascience-la/\r\n\r\nhttp://mlwave.com/kaggle-ensembling-guide/",
      "votes": null
    },
    {
      "id": "144789",
      "postDate": "11/15/2016 12:07:34",
      "content": "<p>Thanks again Beluga, will study these.</p>",
      "rawMarkdown": "Thanks again Beluga, will study these.",
      "votes": null
    },
    {
      "id": "144833",
      "postDate": "11/15/2016 16:35:05",
      "content": "<p>Darragh pointed me to his post and the enclosing thread: <a href=\"https://www.kaggle.com/c/predicting-red-hat-business-value/forums/t/23617/how-to-build-an-ensemble/135350#post135350\">https://www.kaggle.com/c/predicting-red-hat-business-value/forums/t/23617/how-to-build-an-ensemble/135350#post135350</a></p>\n\n<p>Worth reading too.</p>\n\n<p>Beware, I'm going to stack like hell in my next competition ;)</p>",
      "rawMarkdown": "Darragh pointed me to his post and the enclosing thread: https://www.kaggle.com/c/predicting-red-hat-business-value/forums/t/23617/how-to-build-an-ensemble/135350#post135350\r\n\r\nWorth reading too.\r\n\r\nBeware, I'm going to stack like hell in my next competition ;)",
      "votes": null
    },
    {
      "id": "228888",
      "postDate": "10/08/2017 07:10:07",
      "content": "<p>may be this helps <a href=\"https://youtu.be/9IyJ4HvubGo\">https://youtu.be/9IyJ4HvubGo</a></p>",
      "rawMarkdown": "may be this helps https://youtu.be/9IyJ4HvubGo",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 144784,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "11/15/2016 11:29:19",
      "content": "<p>Well, I guess I will have to learn it the hard way given the amount of responses.  Fair enough.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 144786,
      "author_name": "gaborfodor",
      "author_url": "",
      "post_date": "11/15/2016 11:54:14",
      "content": "<p>Using fix CV folds and OOF predictions overfitting usually is not an issue.</p>\n\n<p>I found these posts useful:</p>\n\n<p><a href=\"http://kaggler.com/winning-data-science-competitions-datascience-la/\">http://kaggler.com/winning-data-science-competitions-datascience-la/</a></p>\n\n<p><a href=\"http://mlwave.com/kaggle-ensembling-guide/\">http://mlwave.com/kaggle-ensembling-guide/</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 144789,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "11/15/2016 12:07:34",
      "content": "<p>Thanks again Beluga, will study these.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 144833,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "11/15/2016 16:35:05",
      "content": "<p>Darragh pointed me to his post and the enclosing thread: <a href=\"https://www.kaggle.com/c/predicting-red-hat-business-value/forums/t/23617/how-to-build-an-ensemble/135350#post135350\">https://www.kaggle.com/c/predicting-red-hat-business-value/forums/t/23617/how-to-build-an-ensemble/135350#post135350</a></p>\n\n<p>Worth reading too.</p>\n\n<p>Beware, I'm going to stack like hell in my next competition ;)</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 228888,
      "author_name": "burgje",
      "author_url": "",
      "post_date": "10/08/2017 07:10:07",
      "content": "<p>may be this helps <a href=\"https://youtu.be/9IyJ4HvubGo\">https://youtu.be/9IyJ4HvubGo</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "144604": "This may be a naive question but here it is anyway.  I never used level 2 (or higher) ensembling.  It is clearly next step for me to close some of the gap with top Kagglers.  \r\nMy understanding of L2 learning is that you train models on data (L1 learning), then construct new data set with predictions of L1 models and some (if not all) the original data.  My question is this:\r\n\r\nisn't there a risk of overfitting to the L1 predictions?  Shouldn't one keep some of the original data out of L1 and keep it for L2 learning?  Alternatively, shouldn't one use out of fold L1 predictions?",
    "144784": "Well, I guess I will have to learn it the hard way given the amount of responses.  Fair enough.",
    "144786": "Using fix CV folds and OOF predictions overfitting usually is not an issue.\r\n\r\nI found these posts useful:\r\n\r\nhttp://kaggler.com/winning-data-science-competitions-datascience-la/\r\n\r\nhttp://mlwave.com/kaggle-ensembling-guide/",
    "144789": "Thanks again Beluga, will study these.",
    "144833": "Darragh pointed me to his post and the enclosing thread: https://www.kaggle.com/c/predicting-red-hat-business-value/forums/t/23617/how-to-build-an-ensemble/135350#post135350\r\n\r\nWorth reading too.\r\n\r\nBeware, I'm going to stack like hell in my next competition ;)",
    "228888": "may be this helps https://youtu.be/9IyJ4HvubGo"
  },
  "source": "meta"
}