{
  "id": 3840,
  "title": "Competition Entering Final Phase",
  "url": "/competitions/event-recommendation-engine-challenge/discussion/3840",
  "author_name": "",
  "post_date": "2013-02-14T05:44:18.907Z",
  "votes": null,
  "comment_count": 12,
  "views": 5242,
  "content": "<p>This competition has now entered its final phase. We've released the public leaderboard answers to remove any informational advantage that participants making more submissions would have (you may download this from the data page).</p>\r\n<p>For the final week of the competition, you will only be submitting your results on the private leaderboard set. You can download a sample of the new submission format (as well as the ids for the private leaderboard set) from the data page as event_popularity_benchmark_private_test_only.csv.</p>\r\n<p>All submissions from this point forward will receive a score of 0.0 on the public leaderboard. Your score on the private leaderboard will become visible at the end of the competition.</p>\r\n<p>Good luck!</p>",
  "messages": [
    {
      "id": "20461",
      "postDate": "02/14/2013 05:44:18",
      "content": "<p>This competition has now entered its final phase. We've released the public leaderboard answers to remove any informational advantage that participants making more submissions would have (you may download this from the data page).</p>\r\n<p>For the final week of the competition, you will only be submitting your results on the private leaderboard set. You can download a sample of the new submission format (as well as the ids for the private leaderboard set) from the data page as event_popularity_benchmark_private_test_only.csv.</p>\r\n<p>All submissions from this point forward will receive a score of 0.0 on the public leaderboard. Your score on the private leaderboard will become visible at the end of the competition.</p>\r\n<p>Good luck!</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20465",
      "postDate": "02/14/2013 07:19:07",
      "content": "<p>Hi Ben,</p>\r\n<p>Can you explain the format of public_leaderboard_solution.csv?&nbsp;</p>\r\n<p>Is it for every user in the user column, the events column gives the list of events for which the user replied with `interested'?</p>\r\n<p>Does that mean all users in the public leaderboard were interested in only one event?\r\n</p>\r\n<p>If so that is a significant deviation from the train set where &gt;10% people had more than 1 event for which they replied with interested. Please clarify.</p>\r\n<p>&nbsp;</p>\r\n<p>Thanks,</p>\r\n<p>Harishgp.</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20468",
      "postDate": "02/14/2013 10:31:18",
      "content": "<p>&quot;The same timestamp&quot; users had exactly 1 interested event in the train set.</p>\r\n<p><span style=\"line-height:1.4em\">Thanks Harishgp! I didn't know this fact before your post. It could be useful for building a model.</span></p>\r\n<pre>dTrain &lt;- read.csv(&quot;train.csv&quot;, as.is = TRUE)<br>dTest &lt;- read.csv(&quot;test.csv&quot;, as.is = TRUE)<br>numUser &lt;- length(unique(dTrain$user))<br>actual &lt;- tapply(dTrain$event, dTrain[,c(5,1)], identity)[1:numUser * 2]<br>userix &lt;- tapply(1:nrow(dTrain), dTrain$user, identity)<br>userix.test &lt;- tapply(1:nrow(dTest), dTest$user, identity)<br><br>## interested length for the train set<br>a.len &lt;- sapply(actual, length)<br><br>## event length for the train set<br>e.len &lt;- sapply(tapply(dTrain$event, dTrain$user, identity), length)<br><br>## event length for the test set<br>e.len.test &lt;- sapply(tapply(dTest$event, dTest$user, identity), length)</pre>\r\n<pre><br>## all users<br>table(a.len)<br>   1    2    3    4    5    6    7    8    9   10 <br>1178  400  191   97   61   38   24   13    7    8 <br>  11   12   14   15   17   18   19   21 <br>   4    5    1    1    2    1    2    1<br><br>table(e.len)<br>   4    5    6    7    8    9   10   11   12   13 <br>  57   91 1031  342  163   83   56   23   61   25 <br>  14   15   16   17   18   19   20   21   22   23 <br>  16   13    8    6    9    6    7    6    5    2 <br>  24   25   26   27   28   29   32   35   37   41 <br>   2    4    2    2    2    1    1    1    1    1 <br>  45   46   48   49   55   91 <br>   1    1    1    2    1    1<br><br>table(e.len.test)<br>  4   5   6   7   8   9  10  11  12  13  14  15 <br> 32  53 739 235  89  50  38  22  12  18  15   5 <br> 16  17  18  19  20  21  22  23  24  25  26  28 <br>  6   5   8   5   2   1   4   1   3   1   2   1 <br> 31  35  37  44  49  50  52  61  74 116 <br>  1   1   1   1   1   1   1   1   1   1 <br><br>## &quot;the same timestamp&quot; users<br>table(a.len[sapply(userix,function(x)all(dTrain[x[1],]$timestamp == dTrain[x[-1],]$timestamp))])<br>   1 <br>1123<br><br>table(e.len[sapply(userix,function(x)all(dTrain[x[1],]$timestamp == dTrain[x[-1],]$timestamp))])<br>  4   5   6 <br> 57  71 995<br><br>table(e.len.test[sapply(userix.test,function(x)all(dTest[x[1],]$timestamp == dTest[x[-1],]$timestamp))])<br>  4   5   6 <br> 32  44 711</pre>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20483",
      "postDate": "02/15/2013 07:44:58",
      "content": "<p>Ben could you clarify whether entrants need to submit a new entry against only the private leaderboard set, or whether the private leaderboard element of previous submissions would be scored?</p>\r\n<p>Cheers,</p>\r\n<p>Matthew</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20485",
      "postDate": "02/15/2013 08:00:40",
      "content": "<p>Hi, it seems that the set of &nbsp;(User, Event) pairs in '<span>event_popularity_benchmark_private_test_only.csv</span>' is exactly a subset of (user, event) pairs in the previous 'test.csv' file. Is that the case? Thanks</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20495",
      "postDate": "02/15/2013 16:47:02",
      "content": "<p>[quote=Matthew Pearce;20483]</p>\r\n<p>Ben could you clarify whether entrants need to submit a new entry against only the private leaderboard set, or whether the private leaderboard element of previous submissions would be scored?</p>\r\n<p>[/quote]New entries should be only submitted against the private leaderboard set.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20496",
      "postDate": "02/15/2013 16:47:39",
      "content": "<p>[quote=dolaameng;20485]</p>\r\n<p>Hi, it seems that the set of &nbsp;(User, Event) pairs in '<span>event_popularity_benchmark_private_test_only.csv</span>' is exactly a subset of (user, event) pairs in the previous 'test.csv' file. Is that the case? Thanks</p>\r\n<p>[/quote]This is correct - test.csv contained a random mix of the public and private leaderboard sets (along with additional rows that have been subsequently excluded due to leakage).</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20522",
      "postDate": "02/16/2013 16:10:15",
      "content": "<p>Hi Ben,</p>\r\n<p>it seems kaggle points for this comp have been given at 14 th.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20523",
      "postDate": "02/16/2013 16:33:13",
      "content": "<p>Hi Ben,</p>\r\n<p>could you please explain what the public_leaderboard_solution.csv means? Is it true that (as harishgp suspected) these are only the entries in which each user is interested in?</p>\r\n<p>If that is true, where is the information about the not_interested column?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20535",
      "postDate": "02/17/2013 01:15:14",
      "content": "<p>[quote=n_m;20522]</p>\r\n<p>Hi Ben,</p>\r\n<p>it seems kaggle points for this comp have been given at 14 th.</p>\r\n<p>[/quote]Just recalculated all the points / rankings in case this happened.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20536",
      "postDate": "02/17/2013 01:15:48",
      "content": "<p>[quote=jsf;20523]</p>\r\n<p>Hi Ben,</p>\r\n<p>could you please explain what the public_leaderboard_solution.csv means? Is it true that (as harishgp suspected) these are only the entries in which each user is interested in?<span style=\"font-size:14px; line-height:1.4em\">[/quote]Yes - it contains only\r\n the entries that each user is interested in.</span></p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20548",
      "postDate": "02/17/2013 11:18:57",
      "content": "<p>For avoidance of doubt -- that's a &quot;no, you don't necessarily have to submit a new entry&quot;? So previous entries would have covered the private leaderboard set and will be scored? Understand that any additional entries from here should only involve the private\r\n leaderboard data.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20556",
      "postDate": "02/17/2013 21:12:47",
      "content": "<p>[quote=Sean Owen;20548]</p>\r\n<p>For avoidance of doubt -- that's a &quot;no, you don't necessarily have to submit a new entry&quot;? So previous entries would have covered the private leaderboard set and will be scored? Understand that any additional entries from here should only involve the private\r\n leaderboard data.</p>\r\n<p>[/quote]This is correct - you don't have to submit a new entry.</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 20465,
      "author_name": "harishgp",
      "author_url": "",
      "post_date": "02/14/2013 07:19:07",
      "content": "<p>Hi Ben,</p>\r\n<p>Can you explain the format of public_leaderboard_solution.csv?&nbsp;</p>\r\n<p>Is it for every user in the user column, the events column gives the list of events for which the user replied with `interested'?</p>\r\n<p>Does that mean all users in the public leaderboard were interested in only one event?\r\n</p>\r\n<p>If so that is a significant deviation from the train set where &gt;10% people had more than 1 event for which they replied with interested. Please clarify.</p>\r\n<p>&nbsp;</p>\r\n<p>Thanks,</p>\r\n<p>Harishgp.</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20468,
      "author_name": "tks0123456789",
      "author_url": "",
      "post_date": "02/14/2013 10:31:18",
      "content": "<p>&quot;The same timestamp&quot; users had exactly 1 interested event in the train set.</p>\r\n<p><span style=\"line-height:1.4em\">Thanks Harishgp! I didn't know this fact before your post. It could be useful for building a model.</span></p>\r\n<pre>dTrain &lt;- read.csv(&quot;train.csv&quot;, as.is = TRUE)<br>dTest &lt;- read.csv(&quot;test.csv&quot;, as.is = TRUE)<br>numUser &lt;- length(unique(dTrain$user))<br>actual &lt;- tapply(dTrain$event, dTrain[,c(5,1)], identity)[1:numUser * 2]<br>userix &lt;- tapply(1:nrow(dTrain), dTrain$user, identity)<br>userix.test &lt;- tapply(1:nrow(dTest), dTest$user, identity)<br><br>## interested length for the train set<br>a.len &lt;- sapply(actual, length)<br><br>## event length for the train set<br>e.len &lt;- sapply(tapply(dTrain$event, dTrain$user, identity), length)<br><br>## event length for the test set<br>e.len.test &lt;- sapply(tapply(dTest$event, dTest$user, identity), length)</pre>\r\n<pre><br>## all users<br>table(a.len)<br>   1    2    3    4    5    6    7    8    9   10 <br>1178  400  191   97   61   38   24   13    7    8 <br>  11   12   14   15   17   18   19   21 <br>   4    5    1    1    2    1    2    1<br><br>table(e.len)<br>   4    5    6    7    8    9   10   11   12   13 <br>  57   91 1031  342  163   83   56   23   61   25 <br>  14   15   16   17   18   19   20   21   22   23 <br>  16   13    8    6    9    6    7    6    5    2 <br>  24   25   26   27   28   29   32   35   37   41 <br>   2    4    2    2    2    1    1    1    1    1 <br>  45   46   48   49   55   91 <br>   1    1    1    2    1    1<br><br>table(e.len.test)<br>  4   5   6   7   8   9  10  11  12  13  14  15 <br> 32  53 739 235  89  50  38  22  12  18  15   5 <br> 16  17  18  19  20  21  22  23  24  25  26  28 <br>  6   5   8   5   2   1   4   1   3   1   2   1 <br> 31  35  37  44  49  50  52  61  74 116 <br>  1   1   1   1   1   1   1   1   1   1 <br><br>## &quot;the same timestamp&quot; users<br>table(a.len[sapply(userix,function(x)all(dTrain[x[1],]$timestamp == dTrain[x[-1],]$timestamp))])<br>   1 <br>1123<br><br>table(e.len[sapply(userix,function(x)all(dTrain[x[1],]$timestamp == dTrain[x[-1],]$timestamp))])<br>  4   5   6 <br> 57  71 995<br><br>table(e.len.test[sapply(userix.test,function(x)all(dTest[x[1],]$timestamp == dTest[x[-1],]$timestamp))])<br>  4   5   6 <br> 32  44 711</pre>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20483,
      "author_name": "matthewpearce",
      "author_url": "",
      "post_date": "02/15/2013 07:44:58",
      "content": "<p>Ben could you clarify whether entrants need to submit a new entry against only the private leaderboard set, or whether the private leaderboard element of previous submissions would be scored?</p>\r\n<p>Cheers,</p>\r\n<p>Matthew</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20485,
      "author_name": "truedolaameng",
      "author_url": "",
      "post_date": "02/15/2013 08:00:40",
      "content": "<p>Hi, it seems that the set of &nbsp;(User, Event) pairs in '<span>event_popularity_benchmark_private_test_only.csv</span>' is exactly a subset of (user, event) pairs in the previous 'test.csv' file. Is that the case? Thanks</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20495,
      "author_name": "benhamner",
      "author_url": "",
      "post_date": "02/15/2013 16:47:02",
      "content": "<p>[quote=Matthew Pearce;20483]</p>\r\n<p>Ben could you clarify whether entrants need to submit a new entry against only the private leaderboard set, or whether the private leaderboard element of previous submissions would be scored?</p>\r\n<p>[/quote]New entries should be only submitted against the private leaderboard set.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20496,
      "author_name": "benhamner",
      "author_url": "",
      "post_date": "02/15/2013 16:47:39",
      "content": "<p>[quote=dolaameng;20485]</p>\r\n<p>Hi, it seems that the set of &nbsp;(User, Event) pairs in '<span>event_popularity_benchmark_private_test_only.csv</span>' is exactly a subset of (user, event) pairs in the previous 'test.csv' file. Is that the case? Thanks</p>\r\n<p>[/quote]This is correct - test.csv contained a random mix of the public and private leaderboard sets (along with additional rows that have been subsequently excluded due to leakage).</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20522,
      "author_name": "naokazumizuta",
      "author_url": "",
      "post_date": "02/16/2013 16:10:15",
      "content": "<p>Hi Ben,</p>\r\n<p>it seems kaggle points for this comp have been given at 14 th.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20523,
      "author_name": "joseffeigl",
      "author_url": "",
      "post_date": "02/16/2013 16:33:13",
      "content": "<p>Hi Ben,</p>\r\n<p>could you please explain what the public_leaderboard_solution.csv means? Is it true that (as harishgp suspected) these are only the entries in which each user is interested in?</p>\r\n<p>If that is true, where is the information about the not_interested column?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20535,
      "author_name": "benhamner",
      "author_url": "",
      "post_date": "02/17/2013 01:15:14",
      "content": "<p>[quote=n_m;20522]</p>\r\n<p>Hi Ben,</p>\r\n<p>it seems kaggle points for this comp have been given at 14 th.</p>\r\n<p>[/quote]Just recalculated all the points / rankings in case this happened.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20536,
      "author_name": "benhamner",
      "author_url": "",
      "post_date": "02/17/2013 01:15:48",
      "content": "<p>[quote=jsf;20523]</p>\r\n<p>Hi Ben,</p>\r\n<p>could you please explain what the public_leaderboard_solution.csv means? Is it true that (as harishgp suspected) these are only the entries in which each user is interested in?<span style=\"font-size:14px; line-height:1.4em\">[/quote]Yes - it contains only\r\n the entries that each user is interested in.</span></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20548,
      "author_name": "",
      "author_url": "",
      "post_date": "02/17/2013 11:18:57",
      "content": "<p>For avoidance of doubt -- that's a &quot;no, you don't necessarily have to submit a new entry&quot;? So previous entries would have covered the private leaderboard set and will be scored? Understand that any additional entries from here should only involve the private\r\n leaderboard data.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20556,
      "author_name": "benhamner",
      "author_url": "",
      "post_date": "02/17/2013 21:12:47",
      "content": "<p>[quote=Sean Owen;20548]</p>\r\n<p>For avoidance of doubt -- that's a &quot;no, you don't necessarily have to submit a new entry&quot;? So previous entries would have covered the private leaderboard set and will be scored? Understand that any additional entries from here should only involve the private\r\n leaderboard data.</p>\r\n<p>[/quote]This is correct - you don't have to submit a new entry.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "20461": "",
    "20465": "",
    "20468": "",
    "20483": "",
    "20485": "",
    "20495": "",
    "20496": "",
    "20522": "",
    "20523": "",
    "20535": "",
    "20536": "",
    "20548": "",
    "20556": ""
  },
  "source": "meta"
}