{
  "id": 12461,
  "title": "Tiny LB shakeup",
  "url": "/competitions/avazu-ctr-prediction/discussion/12461",
  "author_name": "",
  "post_date": "2015-02-10T00:33:42.220Z",
  "votes": 6,
  "comment_count": 7,
  "views": 1982,
  "content": "<p>I'm surprised at how small the LB shakeup was in this one. According to the forums, people were having trouble getting reliable validation scores, and that is often a sign of a big LB shakeup. BreakfastPirate introduced a 'Leaderboard Shakeup Metric' in this post:&nbsp;<a href=\"http://www.kaggle.com/c/liberty-mutual-fire-peril/forums/t/10187/quantifying-leaderboard-shake-up/52898#post52898\">LB shakeup thread</a>. By that measure, this competition had one of the smallest shakeups ever. From that thread:</p>\n<p><code>Competition &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Shake-up &nbsp; &nbsp;Shake-up (Top 10%)<br>See Click Predict Fix &nbsp; &nbsp; 0.004 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.005<br>Genentech &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.006 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.000<br>Walmart &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.007 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.006<br>Yelp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.007 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.007</code></p>\n<p>and now...</p>\n<p><code>Avazu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.005 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.006</code></p>\n<p>There are some&nbsp;results for reference down-thread there:&nbsp;<a href=\"http://www.kaggle.com/c/liberty-mutual-fire-peril/forums/t/10187/quantifying-leaderboard-shake-up/52919#post52919\">more shakeup results</a>.</p>",
  "messages": [
    {
      "id": "63851",
      "postDate": "02/10/2015 00:33:42",
      "content": "<p>I'm surprised at how small the LB shakeup was in this one. According to the forums, people were having trouble getting reliable validation scores, and that is often a sign of a big LB shakeup. BreakfastPirate introduced a 'Leaderboard Shakeup Metric' in this post:&nbsp;<a href=\"http://www.kaggle.com/c/liberty-mutual-fire-peril/forums/t/10187/quantifying-leaderboard-shake-up/52898#post52898\">LB shakeup thread</a>. By that measure, this competition had one of the smallest shakeups ever. From that thread:</p>\n<p><code>Competition &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Shake-up &nbsp; &nbsp;Shake-up (Top 10%)<br>See Click Predict Fix &nbsp; &nbsp; 0.004 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.005<br>Genentech &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.006 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.000<br>Walmart &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.007 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.006<br>Yelp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.007 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.007</code></p>\n<p>and now...</p>\n<p><code>Avazu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.005 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.006</code></p>\n<p>There are some&nbsp;results for reference down-thread there:&nbsp;<a href=\"http://www.kaggle.com/c/liberty-mutual-fire-peril/forums/t/10187/quantifying-leaderboard-shake-up/52919#post52919\">more shakeup results</a>.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63853",
      "postDate": "02/10/2015 00:44:17",
      "content": "<p>I think with test data of 900,000 rows, it is very believable. IMHO the problem with getting your cv right in this one had to do with the fact that you were scoring on a new day in the future and the fact that this day (&quot;31&quot;) appeared to be quite different&nbsp;so that tiny improvements in cv were not being reflected- Still the results were consistent along that day, hence the tiny shake-up</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63854",
      "postDate": "02/10/2015 00:54:36",
      "content": "<p>[quote=KazAnova;63853]</p>\n<p>...&nbsp;the problem with getting your cv right in this one had to do with the fact that you were scoring on a new day in the future and the fact that this day (&quot;31&quot;) appeared to be quite different...</p>\n<p>[/quote]</p>\n<p>Actually, I abandoned that method in favor of ordinary holdout (every 5th or 10th example). It seemed a little more stable, and was mostly directionally consistent. I don't think time was as important of a predictor here as most people think it was. Clearly there was temporal variation in CTR, but didn't look periodic, and it had no trend. My best single model (0.3905) didn't use time directly as a variable.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63858",
      "postDate": "02/10/2015 01:22:01",
      "content": "<p>You can theoretically bound the max likely possible difference in losses given an iid train and test set, right? I'm referring to this: https://www.youtube.com/watch?v=puDzy2XmR5c#t=279 albeit maybe I interpreted it incorrectly. It should be quite small in that first case given the sample sizes. In this case, it's not iid but forecasting, and the test dataset is quite large, but the public private split should be random. Furthermore unlike the video example, in this case you don't have direct access to the public test which can somewhat mitigate the direct overtraining&nbsp;issues. So it seems there's no reason not to overfit to the public leaderboard.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63886",
      "postDate": "02/10/2015 07:21:49",
      "content": "<p>[quote=David Thaler;63854]</p>\n<p>Actually, I abandoned that method in favor of ordinary holdout (every 5th or 10th example). It seemed a little more stable, and was mostly directionally consistent. I don't think time was as important of a predictor here as most people think it was. Clearly there was temporal variation in CTR, but didn't look periodic, and it had no trend. My best single model (0.3905) didn't use time directly as a variable.</p>\n<p>[/quote]</p>\n<p>David, your best single model .3905 and you got .3895 on LB, so .0010 improvement from blending!</p>\n<p>i'm curious on your blending method, and how many models contributed to it.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63891",
      "postDate": "02/10/2015 08:11:33",
      "content": "<p>[quote=laserwolf;63886]</p>\n<p>David, your best single model .3905 and you got .3895 on LB, so .0010 improvement from blending!</p>\n<p>i'm curious on your blending method, and how many models contributed to it.</p>\n<p>[/quote]</p>\n<p>I just used a straight average (on the log-odds scale) from 3 VW models and a modified version of tingrtu's model.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63893",
      "postDate": "02/10/2015 08:15:33",
      "content": "<p>[quote=David Thaler;63854]</p>\n<p>&nbsp;I don't think time was as important of a predictor here as most people think it was.</p>\n<p>[/quote]</p>\n<p>Interesting you say that. I recall removing day 30 from my training at some point and was getting much worse results on leaderboard...</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "63897",
      "postDate": "02/10/2015 08:40:22",
      "content": "<p>[quote=KazAnova;63893]</p>\n<p>[quote=David Thaler;63854]</p>\n<p>&nbsp;I don't think time was as important of a predictor here as most people think it was.</p>\n<p>[/quote]</p>\n<p>Interesting you say that. I recall removing day 30 from my training at some point and was getting much worse results on leaderboard...</p>\n<p>[/quote]</p>\n<p>What I meant by that was that when I tried models with time (hour of day) in or out of the model, at least in local validation, out was slightly better.</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 63853,
      "author_name": "kazanova",
      "author_url": "",
      "post_date": "02/10/2015 00:44:17",
      "content": "<p>I think with test data of 900,000 rows, it is very believable. IMHO the problem with getting your cv right in this one had to do with the fact that you were scoring on a new day in the future and the fact that this day (&quot;31&quot;) appeared to be quite different&nbsp;so that tiny improvements in cv were not being reflected- Still the results were consistent along that day, hence the tiny shake-up</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 63854,
      "author_name": "davidthaler",
      "author_url": "",
      "post_date": "02/10/2015 00:54:36",
      "content": "<p>[quote=KazAnova;63853]</p>\n<p>...&nbsp;the problem with getting your cv right in this one had to do with the fact that you were scoring on a new day in the future and the fact that this day (&quot;31&quot;) appeared to be quite different...</p>\n<p>[/quote]</p>\n<p>Actually, I abandoned that method in favor of ordinary holdout (every 5th or 10th example). It seemed a little more stable, and was mostly directionally consistent. I don't think time was as important of a predictor here as most people think it was. Clearly there was temporal variation in CTR, but didn't look periodic, and it had no trend. My best single model (0.3905) didn't use time directly as a variable.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 63858,
      "author_name": "mikeskim",
      "author_url": "",
      "post_date": "02/10/2015 01:22:01",
      "content": "<p>You can theoretically bound the max likely possible difference in losses given an iid train and test set, right? I'm referring to this: https://www.youtube.com/watch?v=puDzy2XmR5c#t=279 albeit maybe I interpreted it incorrectly. It should be quite small in that first case given the sample sizes. In this case, it's not iid but forecasting, and the test dataset is quite large, but the public private split should be random. Furthermore unlike the video example, in this case you don't have direct access to the public test which can somewhat mitigate the direct overtraining&nbsp;issues. So it seems there's no reason not to overfit to the public leaderboard.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 63886,
      "author_name": "vvarkey",
      "author_url": "",
      "post_date": "02/10/2015 07:21:49",
      "content": "<p>[quote=David Thaler;63854]</p>\n<p>Actually, I abandoned that method in favor of ordinary holdout (every 5th or 10th example). It seemed a little more stable, and was mostly directionally consistent. I don't think time was as important of a predictor here as most people think it was. Clearly there was temporal variation in CTR, but didn't look periodic, and it had no trend. My best single model (0.3905) didn't use time directly as a variable.</p>\n<p>[/quote]</p>\n<p>David, your best single model .3905 and you got .3895 on LB, so .0010 improvement from blending!</p>\n<p>i'm curious on your blending method, and how many models contributed to it.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 63891,
      "author_name": "davidthaler",
      "author_url": "",
      "post_date": "02/10/2015 08:11:33",
      "content": "<p>[quote=laserwolf;63886]</p>\n<p>David, your best single model .3905 and you got .3895 on LB, so .0010 improvement from blending!</p>\n<p>i'm curious on your blending method, and how many models contributed to it.</p>\n<p>[/quote]</p>\n<p>I just used a straight average (on the log-odds scale) from 3 VW models and a modified version of tingrtu's model.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 63893,
      "author_name": "kazanova",
      "author_url": "",
      "post_date": "02/10/2015 08:15:33",
      "content": "<p>[quote=David Thaler;63854]</p>\n<p>&nbsp;I don't think time was as important of a predictor here as most people think it was.</p>\n<p>[/quote]</p>\n<p>Interesting you say that. I recall removing day 30 from my training at some point and was getting much worse results on leaderboard...</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 63897,
      "author_name": "davidthaler",
      "author_url": "",
      "post_date": "02/10/2015 08:40:22",
      "content": "<p>[quote=KazAnova;63893]</p>\n<p>[quote=David Thaler;63854]</p>\n<p>&nbsp;I don't think time was as important of a predictor here as most people think it was.</p>\n<p>[/quote]</p>\n<p>Interesting you say that. I recall removing day 30 from my training at some point and was getting much worse results on leaderboard...</p>\n<p>[/quote]</p>\n<p>What I meant by that was that when I tried models with time (hour of day) in or out of the model, at least in local validation, out was slightly better.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "63851": "",
    "63853": "",
    "63854": "",
    "63858": "",
    "63886": "",
    "63891": "",
    "63893": "",
    "63897": ""
  },
  "source": "meta"
}