{
  "id": 3773,
  "title": "Understanding the Training Data",
  "url": "/competitions/event-recommendation-engine-challenge/discussion/3773",
  "author_name": "",
  "post_date": "2013-02-05T19:16:08.427Z",
  "votes": 1,
  "comment_count": 2,
  "views": 2199,
  "content": "<p>I want to make sure I correctly understand the training data, in particular, the relationship between 'invited', 'interested', and 'not interested'. These are the possible scenarios as I see them.</p>\r\n<table border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td>Case</td>\r\n<td>Invited</td>\r\n<td>Interested</td>\r\n<td>Not Interested</td>\r\n<td>Explanation</td>\r\n</tr>\r\n<tr>\r\n<td>A</td>\r\n<td>1</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>User was invited, visited the page and clicked interested</td>\r\n</tr>\r\n<tr>\r\n<td>B</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>1</td>\r\n<td>User was invited, visited the page and clicked not interested</td>\r\n</tr>\r\n<tr>\r\n<td>C</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>User was invited, but <strong>either didn't visit the event page, or visited the page, and clicked neithe</strong>r</td>\r\n</tr>\r\n<tr>\r\n<td>D</td>\r\n<td>0</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>User was not invited, but visited the event page and clicked interested</td>\r\n</tr>\r\n<tr>\r\n<td>E</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>1</td>\r\n<td>User was not invited, but &nbsp;visited the event page clicked not interested</td>\r\n</tr>\r\n<tr>\r\n<td>F</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>User was not invited, but visited the event page, and clicked neither&nbsp;</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>The cases I am not sure about are C and F. In my interpertation, every row in the training data corresponds to a user who visited an event page or was invited to do so.&nbsp;Once on the page, some users clicked interested, some clicked 'not interested', and some\r\n clicked neither. If a (user, event) pair (U,E) is missing from the data, we can assume user U was never invited to event E, and also never visited the event page.</p>\r\n<p>Is this correct?&nbsp;</p>",
  "messages": [
    {
      "id": "20071",
      "postDate": "02/05/2013 19:16:08",
      "content": "<p>I want to make sure I correctly understand the training data, in particular, the relationship between 'invited', 'interested', and 'not interested'. These are the possible scenarios as I see them.</p>\r\n<table border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td>Case</td>\r\n<td>Invited</td>\r\n<td>Interested</td>\r\n<td>Not Interested</td>\r\n<td>Explanation</td>\r\n</tr>\r\n<tr>\r\n<td>A</td>\r\n<td>1</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>User was invited, visited the page and clicked interested</td>\r\n</tr>\r\n<tr>\r\n<td>B</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>1</td>\r\n<td>User was invited, visited the page and clicked not interested</td>\r\n</tr>\r\n<tr>\r\n<td>C</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>User was invited, but <strong>either didn't visit the event page, or visited the page, and clicked neithe</strong>r</td>\r\n</tr>\r\n<tr>\r\n<td>D</td>\r\n<td>0</td>\r\n<td>1</td>\r\n<td>0</td>\r\n<td>User was not invited, but visited the event page and clicked interested</td>\r\n</tr>\r\n<tr>\r\n<td>E</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>1</td>\r\n<td>User was not invited, but &nbsp;visited the event page clicked not interested</td>\r\n</tr>\r\n<tr>\r\n<td>F</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>0</td>\r\n<td>User was not invited, but visited the event page, and clicked neither&nbsp;</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>The cases I am not sure about are C and F. In my interpertation, every row in the training data corresponds to a user who visited an event page or was invited to do so.&nbsp;Once on the page, some users clicked interested, some clicked 'not interested', and some\r\n clicked neither. If a (user, event) pair (U,E) is missing from the data, we can assume user U was never invited to event E, and also never visited the event page.</p>\r\n<p>Is this correct?&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20135",
      "postDate": "02/07/2013 15:16:15",
      "content": "<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">So it looks like the answer to my previous post is contained in the original description of the data;&nbsp; the above interpretation is correct.&nbsp;</span><span style=\"line-height:1.4em\">I would like to summarize and\r\n add some information from previous posts concerning event_attendees before asking my next question.</span></p>\r\n<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">Here is what we know:</span></p>\r\n<p class=\"x_x_p2\">-<strong>None of the users in the test.csv are in train.csv. </strong>\r\nTherefore, train.csv alone cannot be used for collaborative filtering to predict the user preferences in test.csv</p>\r\n<p class=\"x_x_p2\">- About 52% of events in test.csv are in train.csv.&nbsp;</p>\r\n<p class=\"x_x_p2\">-Only .2% and .6% of the users in train and test respectively are in event_attendees.\r\n<strong>Therefore, for 99.8% of users in the test set, we have no information about their interest nor their attendance.</strong> The demographic information about users is therefore crucial.&nbsp;</p>\r\n<p class=\"x_x_p2\">-All the events in train, test are in event_attendees. So for each event in train and test, we know which users responded yes/maybe/no to the invitation.&nbsp;</p>\r\n<p class=\"x_x_p2\">As events4u pointed out, this is orthogonal to their interest in the event, in the sense that for a given (user,event) pair any attendance value (yes/maybe/no) could correspond to any interest value (interested/not interested/no response).&nbsp;</p>\r\n<p class=\"x_x_p2\">However, as John Park mentioned, it is reasonable to assume there is some correlation between interest and attendance, otherwise the popularity benchmark (based on attendance) would not have performed above chance at predicting the interest\r\n level.</p>\r\n<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">It seems there are three options:</span></p>\r\n<p class=\"x_x_p2\">1) Assume attendance and interest measure the same thing, with a mapping such as: yes -&gt; interested, maybe -&gt; unknown, no -&gt; not interested.Combine the training data and event attendance data into one rating matrix, and use it to predict the\r\n interest in the test data (together with user information and event metadata).&nbsp;</p>\r\n<p class=\"x_x_p1\">&nbsp;<span style=\"line-height:1.4em\">2) Use event_attendees only to measure event popularity, which can be used as a feature.</span></p>\r\n<p class=\"x_x_p2\">3) Ignore the event_attendee altogether.</p>\r\n<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">Can anybody think of any other way to use the event_attendee data?&nbsp;</span></p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "20227",
      "postDate": "02/09/2013 14:52:51",
      "content": "<p>if you combine into a single dataset, you lose out on the timestamp the user saw the event - because event_attendees does not have that information</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 20135,
      "author_name": "ayy69366",
      "author_url": "",
      "post_date": "02/07/2013 15:16:15",
      "content": "<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">So it looks like the answer to my previous post is contained in the original description of the data;&nbsp; the above interpretation is correct.&nbsp;</span><span style=\"line-height:1.4em\">I would like to summarize and\r\n add some information from previous posts concerning event_attendees before asking my next question.</span></p>\r\n<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">Here is what we know:</span></p>\r\n<p class=\"x_x_p2\">-<strong>None of the users in the test.csv are in train.csv. </strong>\r\nTherefore, train.csv alone cannot be used for collaborative filtering to predict the user preferences in test.csv</p>\r\n<p class=\"x_x_p2\">- About 52% of events in test.csv are in train.csv.&nbsp;</p>\r\n<p class=\"x_x_p2\">-Only .2% and .6% of the users in train and test respectively are in event_attendees.\r\n<strong>Therefore, for 99.8% of users in the test set, we have no information about their interest nor their attendance.</strong> The demographic information about users is therefore crucial.&nbsp;</p>\r\n<p class=\"x_x_p2\">-All the events in train, test are in event_attendees. So for each event in train and test, we know which users responded yes/maybe/no to the invitation.&nbsp;</p>\r\n<p class=\"x_x_p2\">As events4u pointed out, this is orthogonal to their interest in the event, in the sense that for a given (user,event) pair any attendance value (yes/maybe/no) could correspond to any interest value (interested/not interested/no response).&nbsp;</p>\r\n<p class=\"x_x_p2\">However, as John Park mentioned, it is reasonable to assume there is some correlation between interest and attendance, otherwise the popularity benchmark (based on attendance) would not have performed above chance at predicting the interest\r\n level.</p>\r\n<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">It seems there are three options:</span></p>\r\n<p class=\"x_x_p2\">1) Assume attendance and interest measure the same thing, with a mapping such as: yes -&gt; interested, maybe -&gt; unknown, no -&gt; not interested.Combine the training data and event attendance data into one rating matrix, and use it to predict the\r\n interest in the test data (together with user information and event metadata).&nbsp;</p>\r\n<p class=\"x_x_p1\">&nbsp;<span style=\"line-height:1.4em\">2) Use event_attendees only to measure event popularity, which can be used as a feature.</span></p>\r\n<p class=\"x_x_p2\">3) Ignore the event_attendee altogether.</p>\r\n<p class=\"x_x_p1\"><span style=\"line-height:1.4em\">Can anybody think of any other way to use the event_attendee data?&nbsp;</span></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 20227,
      "author_name": "rkirana",
      "author_url": "",
      "post_date": "02/09/2013 14:52:51",
      "content": "<p>if you combine into a single dataset, you lose out on the timestamp the user saw the event - because event_attendees does not have that information</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "20071": "",
    "20135": "",
    "20227": ""
  },
  "source": "meta"
}