{
  "id": 26517,
  "title": "the relationship of document_id ad_id and display_id",
  "url": "/competitions/outbrain-click-prediction/discussion/26517",
  "author_name": "",
  "post_date": "2016-12-15T08:27:01.567Z",
  "votes": null,
  "comment_count": 5,
  "views": 324,
  "content": "<p>What I've known is that a specific document contains a set of ads, then what does display_id mean? Does is contain documents, or anything other?\nI'm really confused about it. Plz help me out!</p>",
  "messages": [
    {
      "id": "150449",
      "postDate": "12/15/2016 08:27:01",
      "content": "<p>What I've known is that a specific document contains a set of ads, then what does display_id mean? Does is contain documents, or anything other?\nI'm really confused about it. Plz help me out!</p>",
      "rawMarkdown": "What I've known is that a specific document contains a set of ads, then what does display_id mean? Does is contain documents, or anything other?\r\nI'm really confused about it. Plz help me out!",
      "votes": null
    },
    {
      "id": "150450",
      "postDate": "12/15/2016 08:29:51",
      "content": "<p>I interpret display_id as a bunch of impressions that a single user is exposed to:</p>\n\n<p><a href=\"https://en.wikipedia.org/wiki/Impression_(online_media)\">https://en.wikipedia.org/wiki/Impression_(online_media)</a></p>\n\n<p>and we also know that in each 'session' only a single ad is clicked.</p>",
      "rawMarkdown": "I interpret display_id as a bunch of impressions that a single user is exposed to:\r\n\r\nhttps://en.wikipedia.org/wiki/Impression_(online_media)\r\n\r\nand we also know that in each 'session' only a single ad is clicked.",
      "votes": null
    },
    {
      "id": "150467",
      "postDate": "12/15/2016 10:00:14",
      "content": "",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "150468",
      "postDate": "12/15/2016 10:04:33",
      "content": "<p>[quote=Konrad Banachewicz;150450]</p>\n\n<p>I interpret display_id as a bunch of impressions that a single user is exposed to:</p>\n\n<p><a href=\"https://en.wikipedia.org/wiki/Impression_(online_media)\">https://en.wikipedia.org/wiki/Impression_(online_media)</a></p>\n\n<p>and we also know that in each 'session' only a single ad is clicked.</p>\n\n<p>[/quote]\nThanks, I've got your interpretation by impression. but I still wonder what's the difference between document_id and display_id, or relationship? </p>",
      "rawMarkdown": "[quote=Konrad Banachewicz;150450]\r\n\r\nI interpret display_id as a bunch of impressions that a single user is exposed to:\r\n\r\nhttps://en.wikipedia.org/wiki/Impression_(online_media)\r\n\r\nand we also know that in each 'session' only a single ad is clicked.\r\n\r\n\r\n[/quote]\r\nThanks, I've got your interpretation by impression. but I still wonder what's the difference between document_id and display_id, or relationship?",
      "votes": null
    },
    {
      "id": "150473",
      "postDate": "12/15/2016 10:38:16",
      "content": "<p>Display_id is a arbitrary sequence number to specify each event. \nDocument_id is the id of the document from where user clicked an ad. \nFor example:\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\nnews.cnn.com/sdfsakhgdlskjfhs.html --&gt; is document (lets say document_id=222)\nThen, this will be represented in train like this:\ndisplay_id, ad_id, clicked\n1,  ad1,   0 |\n1, ad2,   1  |\n1, ad3,    0 </p>\n\n<p>In events:\nDisplay_id, document_id\n1, 222</p>",
      "rawMarkdown": "Display_id is a arbitrary sequence number to specify each event. \r\nDocument_id is the id of the document from where user clicked an ad. \r\nFor example:\r\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\r\nnews.cnn.com/sdfsakhgdlskjfhs.html --> is document (lets say document_id=222)\r\nThen, this will be represented in train like this:\r\ndisplay_id, ad_id, clicked\r\n1,  ad1,   0 |\r\n1, ad2,   1  |\r\n1, ad3,    0 \r\n\r\nIn events:\r\nDisplay_id, document_id\r\n1, 222",
      "votes": null
    },
    {
      "id": "150482",
      "postDate": "12/15/2016 11:50:58",
      "content": "<p>[quote=shappy;150473]</p>\n\n<p>Display_id is a arbitrary sequence number to specify each event. \nDocument_id is the id of the document from where user clicked an ad. \nFor example:\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\nnews.cnn.com/sdfsakhgdlskjfhs.html --&gt; is document (lets say document_id=222)\nThen, this will be represented in train like this:\ndisplay_id, ad_id, clicked\n1,  ad1,   0 |\n1, ad2,   1  |\n1, ad3,    0 </p>\n\n<p>In events:\nDisplay_id, document_id\n1, 222</p>\n\n<p>[/quote]\nThanks! I understand. And does that mean each click on an ad will trigger a new event and the display_id + 1.</p>",
      "rawMarkdown": "[quote=shappy;150473]\r\n\r\nDisplay_id is a arbitrary sequence number to specify each event. \r\nDocument_id is the id of the document from where user clicked an ad. \r\nFor example:\r\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\r\nnews.cnn.com/sdfsakhgdlskjfhs.html --> is document (lets say document_id=222)\r\nThen, this will be represented in train like this:\r\ndisplay_id, ad_id, clicked\r\n1,  ad1,   0 |\r\n1, ad2,   1  |\r\n1, ad3,    0 \r\n\r\nIn events:\r\nDisplay_id, document_id\r\n1, 222\r\n\r\n[/quote]\r\nThanks! I understand. And does that mean each click on an ad will trigger a new event and the display_id + 1.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 150450,
      "author_name": "konradb",
      "author_url": "",
      "post_date": "12/15/2016 08:29:51",
      "content": "<p>I interpret display_id as a bunch of impressions that a single user is exposed to:</p>\n\n<p><a href=\"https://en.wikipedia.org/wiki/Impression_(online_media)\">https://en.wikipedia.org/wiki/Impression_(online_media)</a></p>\n\n<p>and we also know that in each 'session' only a single ad is clicked.</p>",
      "votes": null,
      "replies": [
        {
          "id": 150468,
          "author_name": "powderman",
          "author_url": "",
          "post_date": "12/15/2016 10:04:33",
          "content": "<p>[quote=Konrad Banachewicz;150450]</p>\n\n<p>I interpret display_id as a bunch of impressions that a single user is exposed to:</p>\n\n<p><a href=\"https://en.wikipedia.org/wiki/Impression_(online_media)\">https://en.wikipedia.org/wiki/Impression_(online_media)</a></p>\n\n<p>and we also know that in each 'session' only a single ad is clicked.</p>\n\n<p>[/quote]\nThanks, I've got your interpretation by impression. but I still wonder what's the difference between document_id and display_id, or relationship? </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 150467,
      "author_name": "powderman",
      "author_url": "",
      "post_date": "12/15/2016 10:00:14",
      "content": "",
      "votes": null,
      "replies": []
    },
    {
      "id": 150473,
      "author_name": "azsefi",
      "author_url": "",
      "post_date": "12/15/2016 10:38:16",
      "content": "<p>Display_id is a arbitrary sequence number to specify each event. \nDocument_id is the id of the document from where user clicked an ad. \nFor example:\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\nnews.cnn.com/sdfsakhgdlskjfhs.html --&gt; is document (lets say document_id=222)\nThen, this will be represented in train like this:\ndisplay_id, ad_id, clicked\n1,  ad1,   0 |\n1, ad2,   1  |\n1, ad3,    0 </p>\n\n<p>In events:\nDisplay_id, document_id\n1, 222</p>",
      "votes": null,
      "replies": [
        {
          "id": 150482,
          "author_name": "powderman",
          "author_url": "",
          "post_date": "12/15/2016 11:50:58",
          "content": "<p>[quote=shappy;150473]</p>\n\n<p>Display_id is a arbitrary sequence number to specify each event. \nDocument_id is the id of the document from where user clicked an ad. \nFor example:\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\nnews.cnn.com/sdfsakhgdlskjfhs.html --&gt; is document (lets say document_id=222)\nThen, this will be represented in train like this:\ndisplay_id, ad_id, clicked\n1,  ad1,   0 |\n1, ad2,   1  |\n1, ad3,    0 </p>\n\n<p>In events:\nDisplay_id, document_id\n1, 222</p>\n\n<p>[/quote]\nThanks! I understand. And does that mean each click on an ad will trigger a new event and the display_id + 1.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "150449": "What I've known is that a specific document contains a set of ads, then what does display_id mean? Does is contain documents, or anything other?\r\nI'm really confused about it. Plz help me out!",
    "150450": "I interpret display_id as a bunch of impressions that a single user is exposed to:\r\n\r\nhttps://en.wikipedia.org/wiki/Impression_(online_media)\r\n\r\nand we also know that in each 'session' only a single ad is clicked.",
    "150467": "",
    "150468": "[quote=Konrad Banachewicz;150450]\r\n\r\nI interpret display_id as a bunch of impressions that a single user is exposed to:\r\n\r\nhttps://en.wikipedia.org/wiki/Impression_(online_media)\r\n\r\nand we also know that in each 'session' only a single ad is clicked.\r\n\r\n\r\n[/quote]\r\nThanks, I've got your interpretation by impression. but I still wonder what's the difference between document_id and display_id, or relationship?",
    "150473": "Display_id is a arbitrary sequence number to specify each event. \r\nDocument_id is the id of the document from where user clicked an ad. \r\nFor example:\r\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\r\nnews.cnn.com/sdfsakhgdlskjfhs.html --> is document (lets say document_id=222)\r\nThen, this will be represented in train like this:\r\ndisplay_id, ad_id, clicked\r\n1,  ad1,   0 |\r\n1, ad2,   1  |\r\n1, ad3,    0 \r\n\r\nIn events:\r\nDisplay_id, document_id\r\n1, 222",
    "150482": "[quote=shappy;150473]\r\n\r\nDisplay_id is a arbitrary sequence number to specify each event. \r\nDocument_id is the id of the document from where user clicked an ad. \r\nFor example:\r\nUser visited news.cnn.com/sdfsakhgdlskjfhs.html and there he saw 3 ads (ad1, ad2, ad3) and clicked ad2.\r\nnews.cnn.com/sdfsakhgdlskjfhs.html --> is document (lets say document_id=222)\r\nThen, this will be represented in train like this:\r\ndisplay_id, ad_id, clicked\r\n1,  ad1,   0 |\r\n1, ad2,   1  |\r\n1, ad3,    0 \r\n\r\nIn events:\r\nDisplay_id, document_id\r\n1, 222\r\n\r\n[/quote]\r\nThanks! I understand. And does that mean each click on an ad will trigger a new event and the display_id + 1."
  },
  "source": "meta"
}